Skip to content

Commit

Permalink
Update test certs to use rsa:2048 (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwheeler123 authored Jun 2, 2024
1 parent 1ef3e9c commit a3e1b95
Show file tree
Hide file tree
Showing 12 changed files with 200 additions and 130 deletions.
9 changes: 5 additions & 4 deletions driver/src/test/resources/certdir/README
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,22 @@ different files are necessary for different connect strings.
This directory contains example certificates generated by the following
commands:

openssl req -x509 -newkey rsa:1024 -days 3650 -keyout goodclient.key -out goodclient.crt
openssl req -x509 -newkey rsa:2048 -days 3650 -keyout goodclient.key -out goodclient.crt
#Common name is test, password is sslpwd

openssl req -x509 -newkey rsa:1024 -days 3650 -keyout badclient.key -out badclient.crt
openssl req -x509 -newkey rsa:2048 -days 3650 -keyout badclient.key -out badclient.crt
#Common name is test, password is sslpwd

openssl req -x509 -newkey rsa:1024 -days 3650 -nodes -keyout badroot.key -out badroot.crt
openssl req -x509 -newkey rsa:2048 -days 3650 -nodes -keyout badroot.key -out badroot.crt
#Common name is localhost
rm badroot.key

openssl pkcs8 -topk8 -in goodclient.key -out goodclient.pk8 -outform DER -v1 PBE-MD5-DES
openssl pkcs8 -topk8 -in badclient.key -out badclient.pk8 -outform DER -v1 PBE-MD5-DES
cp goodclient.crt server/root.crt
cd server
openssl req -x509 -newkey rsa:1024 -nodes -days 3650 -keyout server.key -out server.crt
openssl req -x509 -newkey rsa:2048 -nodes -days 3650 -keyout server.key -out server.crt
chmod 0600 server.key
#Common name is localhost, no password
cp server.crt ../goodroot.crt

Expand Down
33 changes: 19 additions & 14 deletions driver/src/test/resources/certdir/badclient.crt
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
-----BEGIN CERTIFICATE-----
MIIC3jCCAkegAwIBAgIJAIqrhyhm2xM5MA0GCSqGSIb3DQEBBQUAMFQxCzAJBgNV
MIID4zCCAsugAwIBAgIJAJbpCzldD5luMA0GCSqGSIb3DQEBBQUAMFQxCzAJBgN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IFICATE-----
40 changes: 26 additions & 14 deletions driver/src/test/resources/certdir/badclient.key
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,8EFE6BD5A3AF63EB
DEK-Info: DES-EDE3-CBC,65E0A0BB8DF50EC5

Q2SOJl08C8ogio6a/jLRXEZ4+CfGNPL0aTrdeUjFeASJRo0jRWvcOGM7Uw2/7GaN
/aabpK3il6V8HYARhDddKpHybYxapYNjOl7EqK1s+D59kn65fbnaC7SyPO1rFQcf
CPLALIYJxHdLnBaNSQuZXea7V0iZsRFIi/P3mrK+0CQb4XVYxGjzGUMv9SefcK9h
zJqf/LD5Iv/QyhdfD8fUK2FoH15AZy/56XtwkjzmDsy7v8Y1TEeIcOznnzptnjpt
V+OUgIN+KNjItK1D5EXfA55BxRdw/0RGcITudO/iK7zVTfOM0ezJjuHaOvgCQ+5w
bJx3Y25ovf4Fn1deU6Gci1ZcLo5HrOD4GpOZ7No8O0ioEUCgLJZLc9+kioQd60r/
fmryGSDillqxSJaPxjtp8CMM8l4mAmGHMDiwYoN3UCn3k1ZpbMzfT4J3zgs0xmIJ
0BN1DfNgaJLanV6g+6jQH64Vq/8gA2C8zS0bwbg2EA+gMUqo3XKQ2IlOI4oU4TEV
P88UR5Uism72ZTKa1xbWE7GP2BoTT3ZuIgGUrogfLhK3iDfqBbumvGgzTd1va5IS
v3A9Qw1m+/Q9xP/Sh8nePovRPjWbzt8SOigHVShJ/H2o6L5HwQ7JT/8GR4QigDj1
ViPtGslpGC0DrHPFbRx7H6FqI3DAsQb5gG1V0sviW4yk6f0Gwd2+v7z/awRUVi6s
lWPyyOV59WbfCpEfbyB29fqz9zqT/7qQ4cydZpj5Rqyw2LappykwbFEcvqMlpDf4
FkorlY1ccMGnKZ3zRDVM13IBdxHV9Ez3tMFJSf/GlQx3mVzc2ro1Cg==
btgk3C/S/YHNeKnZMjQJx1/LfrLiq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SIxVWdOUzxWTf2+F//CUpvyjvBwiQCEhsNQ822NTRR065dK21/S0+gwrVXyu1FAE
70SBc8luTRJ/fD44yhalOpdM6dt6T4o0VBDgKDwYZZ3uqb+S6ve41VaU7r5JH192
wXvI7+QTEZL2AIppLl1M4M6w6dxUNFUJSTyPUYyoB930qX5Qs63vhrdsD8wn9Ak6
HU8jrTnY4ylrltryZj3hRKmW+naAJp+y++ug3LagGhnGoB0jA+1JWt7gbb68a8nD
b39DRZ/FCqj02mwbtdguN34oaqaDVTuASp6lyzIlI93D2PgB73gYZxG3qahpmfuU
3QvWwSdIgPwm0KdEVIl4Y6O9z2dLMZATOpRE3aKjcoYCHvyQgGKSGLNRWDi9l5uT
wYPmy59PoLnM9TYhN5xEp3tZOxAU4qO/+TAfGT+KZnVRS/r+H+SjvP6tNFnXJugK
0DbcyupKdEjr0//o15LLyugDLLe1TsHlwggH3JPuwBLiZu4Nj9dqMxuPZ4BfyV8W
-----END RSA PRIVATE KEY-----
Binary file modified driver/src/test/resources/certdir/badclient.pk8
Binary file not shown.
36 changes: 21 additions & 15 deletions driver/src/test/resources/certdir/badroot.crt
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
-----BEGIN CERTIFICATE-----
MIIC3jCCAkegAwIBAgIJAN5MUgb9Ehw+MA0GCSqGSIb3DQEBBQUAMFQxCzAJBgNV
MIID9DCCAtygAwIBAgIJAOI4i1bqcaijMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQxDTALBgNVBAMTBHRlc3QwHhcNMjMxMTEwMDAzMDM2WhcN
MzMxMTA3MDAzMDM2WjBUMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0
ZTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMQ0wCwYDVQQDEwR0
ZXN0MIGf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s8VojMAWg0b2r7Sbox9kRPGz+gSluPIF9JSZbBG7lQrCw+7n0
z7OHaK3PNQH2uyyDwpRqYPIThn4iiQrrdT+gSj+EJVRxQkYmHpA2QOBY9MnvqZr0
TCFzeqEW0IHC7YSQgAR+ADEC5pa9rg45X6esRbmkckKX8wV7yyuHhiU05mBtIqH6
ZeXfcvA0a7JbxPT9UIcCAwEAAaOBvjCBuzAdBgNVHQ4EFgQUC+CKrwX+laRlt8m9
1/dBaaVFoXEwgYsGA1UdIwSBgzCBgIAUC+CKrwX+laRlt8m91/dBaaVFoXGhXaRb
MFkxCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJ
bnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxEjAQBgNVBAMTCWxvY2FsaG9zdIIJAOI4
i1bqcaijMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBACsdYZZKus1h
yOjhKWl2ihO+EItQb/5bRq5ZLLPA6KaZ2/uCJAZGLB7KFuHCxTQa1VzEK82bP7Wy
wSUgF7utmnZQR+leX03DkUJP1QS0JiQD5VvwWqx5fHV+MS1c8fAYwA70pbk/drBj
fUB2xwPk8CSiQVS4iFgsnMY8ZHfk7/60k03JQNrQBVd3MehWNsh33TZf7Az4laD6
yXyu9sL1iTDyzEW0Z/rxi4SOX94p/NAP6DJmYQNykIPpao0HiuyEHqbwjkPt2ELs
CqnF8AhPVkWgWgLVYjL9IELzAR4h/vPqNpReQO/369d3guAv1lY70upCWGYX0DwF
m3oVcGhqO0g=
-----END CERTIFICATE-----
33 changes: 19 additions & 14 deletions driver/src/test/resources/certdir/goodclient.crt
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
-----BEGIN CERTIFICATE-----
MIIC3jCCAkegAwIBAgIJAOW1Y6LFOckKMA0GCSqGSIb3DQEBBQUAMFQxCzAJBgNV
MIID4zCCAsugAwIBAgIJAP9p6OuTXuAJMA0GCSqGSIb3DQE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IFICATE-----
40 changes: 26 additions & 14 deletions driver/src/test/resources/certdir/goodclient.key
Original file line number Diff line number Diff line change
@@ -1,18 +1,30 @@
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,B753377C85307387
DEK-Info: DES-EDE3-CBC,37BC41825569512E

2lHzksq83ryh8nnQd9wxzIfihs52vSWsvvjIACd/8otO0IBXqcLSjbqoyo3s0+H9
LSTJRH8PvFd63UctNvkUTLGhJkyMGPEu4WG1Y2PFP273WFML/+NSwOdtInOjqCGx
+ym8Q7CB5j9j1N0jSAZHWIXMYIVN0VmgTeOZZCE9i0zJJNkP3lzqImXJSLjgp7iI
xQwOXqOaFoThsIy9VjWpwVDyx9YKUmcc8/9h8ANt1eJdOaZ5pk1cDxorfOT9JqgY
Vl/8jmXlA3wtPcauKkw5EI1w2xzm4aWSM6qhkLuOndnyazdUbM3+5JV56qPzMZjZ
HkDxjD77SUVJ0nB9F6Eb3dBkctbLbgxB07cSFFjvXoSysmPaSrYAgjGmZWccqmgw
7Uyn3JRkM8D/sbiTFpD7ZRH3Ugxo3AwrYctRrPYeGfPwN+FqV10gQtCOPvtsbacE
m8y4krzfCo7EDyd+NTgRSMC3B3+q9TvvWCfhh+zUmtTASttovw53m8cMKHJCkNcV
o1Ph4eFu9owMQFEOnrsxzi1V7BJNOzb6qqOJvgno/q2JWp5lqM/R0f7j6MWkg32P
/Oj5g4NTWW96VBwZafXmbFkufXqVCOWHvk+f24+VgpkfGZlOtHZIayOv0r1cyFaa
lv8L1sEoGSiPg757nVPqoBxieqArxaGgsbD9DY1F8/GmyO8UIq5LG29+vsN1AOzt
aKVBp3ey7d2f+PvBoujEoQVfPtlJAxeFqHOcN863QCgcRT2tz0upXmwXM09tmAMB
eC9FrkNXG5D5RPtrO8XubvtfAMrT4K0Vw3ySAr8FtWKz8u6Bw0cNkw==
ii/ZePJP9lwElu0Isulua8YJE2EHPyFWDTW9bHBxFiHrENO4fWfcXl/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kxRfiFVVhwr5MCMdL/0CQ059g4W8x1cr
4InnTFk5ln2Yn7anBbl/grhyoewKDnWwi/FG3B3M4uXCxog53+xNjyqUTkZCafiD
si5uHLqPeOvhocleeFbNoPZBTH6UzFcKgiKBgrSQ6TJvA92GDH9Bo6ljHpLebhhB
2SkF7YOy2NeOSdfZely7aGgGxwtQpbcaZq7oywvNYYV3VpnOQkfp2AzDlT6u/8cS
gTx+eIWbtV7qowY1xWpXj3mE89koZKoj37bJrI3nExZxh4RJJgeQXWWdWNmRa8BY
/occHGkH8LuDWVZsHeHGA52gdjcsTV4UDKowvvKORhF7z8luboYWJvNVAAQtooyo
UrdPy22y1KHS/uWhbKDiLNTpDdXEsRRDUzHZg5ooPUaNhKMTDq1PIEsZeGnDChnV
SVYshe0ZqLtu7oSXYndvR9qsblfG7heBK1e1kWQa8rI61sgkKPl+9w==
-----END RSA PRIVATE KEY-----
Binary file modified driver/src/test/resources/certdir/goodclient.pk8
Binary file not shown.
34 changes: 20 additions & 14 deletions driver/src/test/resources/certdir/goodroot.crt
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
-----BEGIN CERTIFICATE-----
MIIC7zCCAligAwIBAgIJAMcr2qMgypiVMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV
MIID9DCCAtygAwIBAgIJAJuxK4z9KGErMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQxEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0yMzExMTAwMDMx
NTFaFw0zMzExMDcwMDMxNTFaMFkxCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21l
aWRnaXRzIFB0eSBMdGQxEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0yNDA2MDEwMzE3
MzhaFw0zNDA1MzAwMzE3MzhaMFkxCzAJBgNVBAYTAkFVMRMwEQYDV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kpt1L5MTU1vkhkBLZDpAUDqAfb9B3VvG
XMhF6QVpz0YYntLyQQ+3CiBUxE9gr2JwUA5cNzlwkMvWt+TxJ56CTUAAHPxYdX+I
ffqEld0poNTsitqo760CAwEAAaOBvjCBuzAdBgNVHQ4EFgQUYKBSQ/pn7xm2MwDk
U4zuPEMrmH4wgYsGA1UdIwSBgzCBgIAUYKBSQ/pn7xm2MwDkU4zuPEMrmH6hXaRb
MFkxCzAJBgNVBAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJ
bnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxEjAQBgNVBAMTCWxvY2FsaG9zdIIJAJux
K4z9KGErMAwGA1UdEwQFMAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAK4kewqz0msy
9QIZ8kVR4rvlhchf6sE08PKCBMQbLzmRTXe07/qD998PjaYjwVx5Yh5IVK23QN1c
DiZiUTlFanzDWDe6WchYfISRqSU8uxt6iTSYR5AC/NAfJmI5STt07eb8htt/9myU
GWaCmsGWgueIBIs61J7R0fMLxbyQtnShic4NMR3wMLB4ugjju49WSrW23HL/2F9M
Ni6rb4NQlKBu+JIkAEb3eQd56Yod7wjHbELv1UXeu3/Xy1/SW8rEO1mEMmcgLXze
ti5VB2sorSmncKfio0pP/J+g7f4M/yghyfpXKjuyAfenYqI59ifs2KQytMEuGVDR
qhTlvWMc+Hg=
-----END CERTIFICATE-----
33 changes: 19 additions & 14 deletions driver/src/test/resources/certdir/server/root.crt
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
-----BEGIN CERTIFICATE-----
MIIC3jCCAkegAwIBAgIJAOW1Y6LFOckKMA0GCSqGSIb3DQEBBQUAMFQxCzAJBgNV
MIID4zCCAsugAwIBAgIJAP9p6OuTXuAJMA0GCSqGSIb3DQEBBQUAMFQxCzAJBgNV
BAYTAkFVMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRna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