Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: additional test certs #4378

Merged
merged 2 commits into from
Jan 26, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions tests/pems/permutations/ec_ecdsa_p521_sha512/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICJjCCAYigAwIBAgIUVDTjCf3xaE+XFlmxqFiDeDycaSMwCgYIKoZIzj0EAwQw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTI1MDQyMjQ2WhgP
MjIwMzA3MDIwNDIyNDZaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290MIGb
MBAGByqGSM49AgEGBSuBBAAjA4GGAAQAurxopIKO630gqlJShMZANhOiRIFoWReK
/GbE+0M6LDFSiVWppo/ssaRbxEwneXGbvEtKImG2Ji9S1hYfP98/QccAQ57YduPM
0wGcvIxn7XyJjoBQfJeaLm4LX8bktX7dB6dgQBX/4AzdiEwMzta68FN+x+02iO+5
nqXRN7MlHjnlTHWjYzBhMB0GA1UdDgQWBBRUsngCykLwCwuNqiabbkrdFjW3CjAf
BgNVHSMEGDAWgBRUsngCykLwCwuNqiabbkrdFjW3CjAPBgNVHRMBAf8EBTADAQH/
MA4GA1UdDwEB/wQEAwICBDAKBggqhkjOPQQDBAOBiwAwgYcCQgE1YX/q4owzwe2l
pcH7VQA46o48oZG5VQzyDYHFlbcdoeV4Da6qSG8AFynmNUztWH2U6pLnjRYHBtil
GwE5+dRDzgJBJiFVfkEOfxOs9/93l/tgbBlAvQCos8lzFeBZ+ro+neLbvilSDSfT
upLs5YrMtig/lyObZUbL/dWVad8vfxMhpTk=
-----END CERTIFICATE-----
14 changes: 14 additions & 0 deletions tests/pems/permutations/ec_ecdsa_p521_sha512/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN CERTIFICATE-----
MIICHjCCAX+gAwIBAgIUStuk2aS1WrmVhZsT7M8VC8z79aAwCgYIKoZIzj0EAwQw
HDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTI1MDQyMjQ2WhgP
MjIwMzA3MDIwNDIyNDZaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZjbGllbnQw
gZswEAYHKoZIzj0CAQYFK4EEACMDgYYABABPEB5ibpYVlHiwfGyrov1LKoSbMQrg
gjnxxGX2bDCZCVlB3dt2KUu6stP8SO79ZoLDEKq9hu/+fN+ZpjWF+1fzXQBG5SJh
95+C6SWEiDw+19bwVZVl7zqe31MWHwpCNQ47YVMcjirpRZJNujk26+sucAf2pyu/
hz3KyRC0mBnLq5238KNYMFYwFAYDVR0RBA0wC4IJbG9jYWxob3N0MB0GA1UdDgQW
BBS7kWnx2Ku9L7/qxZYc0gTgLqHfzjAfBgNVHSMEGDAWgBRUsngCykLwCwuNqiab
bkrdFjW3CjAKBggqhkjOPQQDBAOBjAAwgYgCQgEnSGKwxui6dB+iGcWvHa/EOS4/
ePmp9dJn+EkOzB7I3vOhekWe2jVlE13BrEjNZH3PNe3RBI7ZzF3jPpTm7IjV6gJC
ALrPJdsWdSw4Sx5M0UOf5WijbzvOxuu4pewa6g7ez01BmBuKsp+v/xz0IjeVWJX8
3ReS+TX2+uOzpuVlidBQyPpZ
-----END CERTIFICATE-----
8 changes: 8 additions & 0 deletions tests/pems/permutations/ec_ecdsa_p521_sha512/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN PRIVATE KEY-----
MIHuAgEAMBAGByqGSM49AgEGBSuBBAAjBIHWMIHTAgEBBEIBxpoi7HPpgAVo0PEu
jtNjpk8hc6bHzDuDSa/wfwfYhzowpS4tZ+YZyXBcuVbku/c5+SMwsSPNj/85w4bA
d10y3D+hgYkDgYYABABPEB5ibpYVlHiwfGyrov1LKoSbMQrggjnxxGX2bDCZCVlB
3dt2KUu6stP8SO79ZoLDEKq9hu/+fN+ZpjWF+1fzXQBG5SJh95+C6SWEiDw+19bw
VZVl7zqe31MWHwpCNQ47YVMcjirpRZJNujk26+sucAf2pyu/hz3KyRC0mBnLq523
8A==
-----END PRIVATE KEY-----
42 changes: 42 additions & 0 deletions tests/pems/permutations/ec_ecdsa_p521_sha512/server-chain.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
-----BEGIN CERTIFICATE-----
MIICHjCCAX+gAwIBAgIUPeFjL5cIVCqs6KIlXYOVh1H2SXAwCgYIKoZIzj0EAwQw
HjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMjUwNDIyNDZa
GA8yMjAzMDcwMjA0MjI0NlowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxlYWYw
gZswEAYHKoZIzj0CAQYFK4EEACMDgYYABACyrdqpnRf2vbwSyhhH/EyeOgG46Am7
yoSjWdGc//4xnmhkGFZjoukwqhmYXdcpNcgeRWr+l6a6w1I2NIb6fk4pRgHOXJjp
O9YiqFYo7+6mliOEpeFeADpPfWNEoJniZ+F+bkp5xqk0MzAJeCzJTeso9Nw3maVj
4I32KklurJ0e25zHF6NYMFYwFAYDVR0RBA0wC4IJbG9jYWxob3N0MB0GA1UdDgQW
BBS3XLr3aoitlQfLXnCj3zvjF4WAkTAfBgNVHSMEGDAWgBRsNVfZniGacK4lVt0L
yLWluYXbQTAKBggqhkjOPQQDBAOBjAAwgYgCQgDyvu4h7hLmQUww5wS1hYx4ghFa
ZAgWdAVUGXmiQgjJygdnBl1AqvIAP9maJFjFITWYYLV1FFQ5+TEPOpqa99Jt5QJC
AbjOMh1Z1CBUylULLRYSHt4F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CwYDVQQDDARyb290MIGb
MBAGByqGSM49AgEGBSuBBAAjA4GGAAQAurxopIKO630gqlJShMZANhOiRIFoWReK
/GbE+0M6LDFSiVWppo/ssaRbxEwneXGbvEtKImG2Ji9S1hYfP98/QccAQ57YduPM
0wGcvIxn7XyJjoBQfJeaLm4LX8bktX7dB6dgQBX/4AzdiEwMzta68FN+x+02iO+5
nqXRN7MlHjnlTHWjYzBhMB0GA1UdDgQWBBRUsngCykLwCwuNqiabbkrdFjW3CjAf
BgNVHSMEGDAWgBRUsngCykLwCwuNqiabbkrdFjW3CjAPBgNVHRMBAf8EBTADAQH/
MA4GA1UdDwEB/wQEAwICBDAKBggqhkjOPQQDBAOBiwAwgYcCQgE1YX/q4owzwe2l
pcH7VQA46o48oZG5VQzyDYHFlbcdoeV4Da6qSG8AFynmNUztWH2U6pLnjRYHBtil
GwE5+dRDzgJBJiFVfkEOfxOs9/93l/tgbBlAvQCos8lzFeBZ+ro+neLbvilSDSfT
upLs5YrMtig/lyObZUbL/dWVad8vfxMhpTk=
-----END CERTIFICATE-----
8 changes: 8 additions & 0 deletions tests/pems/permutations/ec_ecdsa_p521_sha512/server-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
-----BEGIN PRIVATE KEY-----
MIHuAgEAMBAGByqGSM49AgEGBSuBBAAjBIHWMIHTAgEBBEIBnpZC+cJOrP1ifXop
iVRoERTNiE6lzZpaj95K+CjsqbjfEuY+lqO+qLSDW8D9lMpOmrQPjmZb3dEaQIMq
btNT5mmhgYkDgYYABACyrdqpnRf2vbwSyhhH/EyeOgG46Am7yoSjWdGc//4xnmhk
GFZjoukwqhmYXdcpNcgeRWr+l6a6w1I2NIb6fk4pRgHOXJjpO9YiqFYo7+6mliOE
peFeADpPfWNEoJniZ+F+bkp5xqk0MzAJeCzJTeso9Nw3maVj4I32KklurJ0e25zH
Fw==
-----END PRIVATE KEY-----
4 changes: 4 additions & 0 deletions tests/pems/permutations/generate-certs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ cert-gen () {
echo "generating intermediate certificate and signing it"
openssl x509 -days 65536 \
-req -in intermediate.csr \
$signature_options \
-$digest \
-CA ca-cert.pem \
-CAkey ca-key.pem \
Expand Down Expand Up @@ -168,6 +169,9 @@ then
cert-gen ec ecdsa 384 SHA256 ec_ecdsa_p384_sha256
cert-gen ec ecdsa 384 SHA384 ec_ecdsa_p384_sha384
cert-gen ec ecdsa 521 SHA384 ec_ecdsa_p521_sha384
cert-gen ec ecdsa 521 SHA512 ec_ecdsa_p521_sha512
cert-gen rsa pkcsv1.5 2048 SHA1 rsae_pkcs_2048_sha1
Copy link
Contributor

@maddeleine maddeleine Jan 25, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kind of a nit, we usually specify which pkcs padding is used in the filename. Otherwise pkcs doesn't really have much meaning on its own.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly the purpose of this is to iterate over the different NID's so pkvs vs pss is enough for my test purposes, but it sounds like a nice future item to add support for different pkcs padding choices.

cert-gen rsa pkcsv1.5 2048 SHA224 rsae_pkcs_2048_sha224
cert-gen rsa pkcsv1.5 2048 SHA256 rsae_pkcs_2048_sha256
cert-gen rsa pkcsv1.5 2048 SHA384 rsae_pkcs_2048_sha384
cert-gen rsa pkcsv1.5 3072 SHA256 rsae_pkcs_3072_sha256
Expand Down
19 changes: 19 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha1/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDKzCCAhOgAwIBAgIUF8HVzK/9+JE+k3fgrDXlTk30dt0wDQYJKoZIhvcNAQEF
BQAwHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTI1MDQyOTA4
WhgPMjIwMzA3MDIwNDI5MDhaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzsARlAzxAVUB9o8D9zA2
6lWXBw/PbYNOPDoSvVWoHr6KiOv7+goKMmO5IWpgFvAVg25OI5+dtLVesJleWsVi
motD4z5/DhIh3E+1u+na5YLBVZ7FmOLYXUPz//ykRwK3KksQbiMHnDOS1QCvyzcm
/jY8dWuk4VojRYUDbNK9y6Sy83a0fwI4SOLWTWpXpzt6B80S3qpMYhDYR8P6rvFO
HgiaVbv8mf/cLZlVicAYfFXerAfl4DByRMbb5obBG1XCo3wC6EQAmEloveauVEvV
DjM6knuzEJb3E+m63u6gk3XARkR181/Uu7x1+lLTE5U9ANOBwVeOo6rk5J8eQVhT
tQIDAQABo2MwYTAdBgNVHQ4EFgQUs+tODIbC8/9zF/ZQudUgibyzasswHwYDVR0j
BBgwFoAUs+tODIbC8/9zF/ZQudUgibyzasswDwYDVR0TAQH/BAUwAwEB/zAOBgNV
HQ8BAf8EBAMCAgQwDQYJKoZIhvcNAQEFBQADggEBAKrz0x+cvw/ajIkf7s5Bns0b
UCvVDAenSIA2O8uvrsX7RSFUgjE0i6IUrT0X+dv4L7A4T07VtwvFEPTovohL7brZ
diZxmkT7YJKtPNv2SB3lz+/N+5P/I/vTJq2qaWNp+NnRKKNp7ZxHU2xSW6an9SyA
2OSvs3dDArtpBeoRZZJOzy023wVWQS0XR/gu14GXZKwHzjcPoG2ycG7Pl+LG5/8X
pIqFAF0MMXIaYLkwWP/crjA5r/tiWpvT1yKxat9peIx2y+Eukl5gDDg+MNGMw31Q
4/JW8+chXLmHAJph70QW3iWf7k0dHe2bhpLJb+UtPCvfzox5T1V/WnOM1f5ywHs=
-----END CERTIFICATE-----
19 changes: 19 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha1/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDIjCCAgqgAwIBAgIUPh8ddrrtjBzZ+COTyC5SY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0 deletions tests/pems/permutations/rsae_pkcs_2048_sha1/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQD2a+p+SXymsXfM
BCA018V1A8S7cYKh0h1IIgLJMrJMHUxnxCN8xrcrlh1WrkSfO8Nabt2iRfetUaJk
1aDn2jLMNntcQpVrT0WFflYkFphUngGnvbgo2T2eC7Cuaq83xq0GL7C2Sbwc2edu
b+YGvaI/ZVLwWZr/yYg2ZZGfSX1oy84OUd24IuW11QgdzB7nihz7LWPNXkKZYTkN
eOjYcvPny9+5di1pFyB1WIZNmQ6VPviRMKys97LLY+ajCAsWR600dji61sHVY6Hi
hTwsIIVCfz5Lh3lwRXJOnW5lErVWVfTqPsjNlUGDdyIJW1OGPvXEYXjIMoMywRI8
HcZTZVovAgMBAAECggEAI7MdrT8LOoESaHGektlBp4KswTUgJj5w9I7M1YYtM365
H31YYM7PIZblWDX2BhWb5yGRpV06lRbzDmWuonhHjLNF6udQi1PYMA9N/ntxhSzA
86K2J+DVHuz1o0ccbFmxnmhRUw9am9lrwGGgsxBNDZ8pxV1N6cmyHKNZVfjJHOHF
CBybNyZOkb7iNfn67mCJSXMHo56ekEcHmKQjk9mPiJyRXr6Vk4HbsQrAz0PoG1j0
XwlT3D3B05mSelMKa+oePrHehGzsuD1vYdMBhpTKfFdo1wW+fYQSZT5dRUT1DF6y
1DUMcq1zkdi3xPsHb3p4lBPjutWbwCzG+qUk+845lQKBgQD+S9dDbsB1FjujdBie
AtjJ+NaQV5yaqZuQ88jAntcZAQTbhsfjZoMXe7FsVrSsOsVyT0aHXW/kVere3K6S
2JHzdjvUyJb7F9r4Bb9Td4Axpfhys9BSo9DSKxuyV1mHDUbnNXpJcFHyA2xMMSjV
0ciCnKeYNRicq5CKvhFNdwUXAwKBgQD4EpGX4UsY+pZHuM8MdSJcs+UznpJKZC6n
ZQsVePtHu57UHVPOYeF0Mjj5oqP1qKb28xHMLsRuUBB6tRDTJd+fKaHNG4EJS0Yn
8qEtDetLnQPDiFSustNZT9qXN/Ro7z0MCXYqdxwSn4pyrs0O/qdi110hOc3c08bz
mj+oaVHCZQKBgFGulL+hRIqXkKKJORsQOQhvOKR2r+PyFPkzhUlx/A+ZBzFokq5V
kEgrwCrXkwM7gY6dLj9u4PEMM/xQEHc0v3TfhoprwCt5VymR1wn9eZz4/dwCLClP
W1UW6beYXTaHKj48LEKIpJnDRbcXl1FPKEPkA+VdMMGqTixyruYeE/F3AoGAfjb0
XJID43GbhGJC9dOi6AefVeQYCkFuezytpv8m2hhbdxB000x5qOTkmB5nzVVBneON
6pTg3D9gIw58wPFEFXbZG8IipNfnmeuYlZO/Y3k/sPxsGXZikc5PKSEO+VS/eqBV
vsVbQx5pEnBdZIOsJl3sxDrkwrX9Q3P3b3gmYQECgYB8r9iUYC2cdySH1d+wtmG0
SH1Fzw627O/HWVyE4mlrRBV2Bg2bj43IDXcQrk/6za9XZLy9dKd922zJzdXujjOh
moFdVb25Bp6P+ArbqY72XPLtM1z9Bb/jd6yYk+FmE0NOIs0uKuWhVRvdbMhqHipJ
yVCeCGuqtyw0RQDVL/Zh0Q==
-----END PRIVATE KEY-----
58 changes: 58 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha1/server-chain.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
-----BEGIN CERTIFICATE-----
MIIDIjCCAgqgAwIBAgIUdkgq8x9NFDdk12bndwyB+Fnc+JkwDQYJKoZIhvcNAQEF
BQAwHjELMAkGA1UEBhMCVVMxDzANBgNVBAMMBmJyYW5jaDAgFw0yNDAxMjUwNDI5
MDlaGA8yMjAzMDcwMjA0MjkwOVowHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBGxl
YWYwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC/dxH+E8hjEliGfQ3R
SAht7pAhoxt8Md/TV8lWg0SJM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haMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzsARlAzxAVUB9o8D9zA2
6lWXBw/PbYNOPDoSvVWoHr6KiOv7+goKMmO5IWpgFvAVg25OI5+dtLVesJleWsVi
motD4z5/DhIh3E+1u+na5YLBVZ7FmOLYXUPz//ykRwK3KksQbiMHnDOS1QCvyzcm
/jY8dWuk4VojRYUDbNK9y6Sy83a0fwI4SOLWTWpXpzt6B80S3qpMYhDYR8P6rvFO
HgiaVbv8mf/cLZlVicAYfFXerAfl4DByRMbb5obBG1XCo3wC6EQAmEloveauVEvV
DjM6knuzEJb3E+m63u6gk3XARkR181/Uu7x1+lLTE5U9ANOBwVeOo6rk5J8eQVhT
tQIDAQABo2MwYTAdBgNVHQ4EFgQUs+tODIbC8/9zF/ZQudUgibyzasswHwYDVR0j
BBgwFoAUs+tODIbC8/9zF/ZQudUgibyzasswDwYDVR0TAQH/BAUwAwEB/zAOBgNV
HQ8BAf8EBAMCAgQwDQYJKoZIhvcNAQEFBQADggEBAKrz0x+cvw/ajIkf7s5Bns0b
UCvVDAenSIA2O8uvrsX7RSFUgjE0i6IUrT0X+dv4L7A4T07VtwvFEPTovohL7brZ
diZxmkT7YJKtPNv2SB3lz+/N+5P/I/vTJq2qaWNp+NnRKKNp7ZxHU2xSW6an9SyA
2OSvs3dDArtpBeoRZZJOzy023wVWQS0XR/gu14GXZKwHzjcPoG2ycG7Pl+LG5/8X
pIqFAF0MMXIaYLkwWP/crjA5r/tiWpvT1yKxat9peIx2y+Eukl5gDDg+MNGMw31Q
4/JW8+chXLmHAJph70QW3iWf7k0dHe2bhpLJb+UtPCvfzox5T1V/WnOM1f5ywHs=
-----END CERTIFICATE-----
28 changes: 28 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha1/server-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIE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Fb/BBghWC1EVkK/FSsu/XuOZ3
WvmeLoPSZQKBgQCi4WLe+/281tOnBdeSwYxwNU08OVr1qjA4yPIgtVtbw7d2FDc8
5CEY2+m4jU64Zbk5ki4gkK7AudvdZgD4wSnn1kqN800BR/CkbqYoQUZXgk+II5JX
CkMy9EfNYcHhqI0llQXO6U4LTDJDmYWRyFn70u47rT15mQhbvdxDFFmCvQKBgQCn
rlxfaISxYf/Un/w07pz7Rlnf8jhjg4fx9ojE9uqTRObolp1t0739d8aT1HHEJEqd
0sYOjrqNUh0ltDkUvn7o2IW1X7kPvsb3LbbrLu4wKN43sEEsDh89PnhcbVE8WjED
TMM0cve9up1xV2ZOctSrkGei0sgnnue7ctCOEGKX4QKBgCaOhwqpsL14ZQY7Q0Nw
FVAe+RghyE8sNBBjF9Ok5Ux9wHvLBnc1vivDZqY+JSJt6c7LQ2f4IyQDnr4j3UyC
t+gzZLMBRV3rDxwaow314VKiaZ+OsV83v0wKqhX/Ax8ai75MOS5TrsPtWq8SZb/p
85bzHBHqv9OuezgkFMwPlJjK
-----END PRIVATE KEY-----
19 changes: 19 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha224/ca-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDKzCCAhOgAwIBAgIUalOMLG+R2G7aL/bkE9dWp1uRYWYwDQYJKoZIhvcNAQEO
BQAwHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTI1MDQyOTEw
WhgPMjIwMzA3MDIwNDI5MTBaMBwxCzAJBgNVBAYTAlVTMQ0wCwYDVQQDDARyb290
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAjJiYyNnFcWqFyJrYQn99
+nNgQr4FJP+k9ZofQI9Hy1HJ7zeTseO1cLtrOMDp9ojo8YYgDibiMA9Tjv2dnKsR
fkw5TvTWCRlvAuQpMUlRy45jz9rojkY/BBrz8g8ry4mi+L60O6YztakODLxZJsSk
7bd+g5Y1FC/PQLaui78Jf36KatGEy+v3jpsIroTtR0gq2z5DJ2zdqKQirOdRifD0
y214ehDIVU4JO0h/thkWIil2gT+E2lWoToCjpc83qkInU/eZ/lTn4pjrYpinDLUp
JB4vu2Wg7t2rqURGLOiAwamRzNvShd+Kgj5fVNHBJsragq884OnPdM4LpFohNvo8
AQIDAQABo2MwYTAdBgNVHQ4EFgQUh9E/uEy1g63DaxAzOo7ezzQJTv4wHwYDVR0j
BBgwFoAUh9E/uEy1g63DaxAzOo7ezzQJTv4wDwYDVR0TAQH/BAUwAwEB/zAOBgNV
HQ8BAf8EBAMCAgQwDQYJKoZIhvcNAQEOBQADggEBADVdhGDHZr6QYrZeXzPQBK7l
XWT68i3rjnOTYzqiMxd6cWZh6+vuZDenyxtBPzQG/dcxAExqEvVjWBtwB3AJN1wA
HqZSdLo5Sz3sMwIcdCXY5AWbFnzh4TKhTV9lPqibU9lvj+NLqwrf6gVmuYI1iUIN
Qc+x2qFlgOCxADoCdnGMlwu7MxYwf7Uwb2ZtwXzHQbz3Na4oN44a9axV4kOjMX1Q
7pdOeK+5vNpE07tHZWWLLLkUO0VfCrlI76ijFqRv/UiilTN67P8O/S+idgt6Un13
fBjU6M0JsTNOguyc5BPu+WcwJIYnJk2WH+x/fR+/BkMBQYDkR1EmqswA9fgWiXE=
-----END CERTIFICATE-----
19 changes: 19 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha224/client-cert.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDIjCCAgqgAwIBAgIUK2yHOMIaWB/SY5gwzVipZWFtpkIwDQYJKoZIhvcNAQEO
BQAwHDELMAkGA1UEBhMCVVMxDTALBgNVBAMMBHJvb3QwIBcNMjQwMTI1MDQyOTEw
WhgPMjIwMzA3MDIwNDI5MTBaMB4xCzAJBgNVBAYTAlVTMQ8wDQYDVQQDDAZjbGll
bnQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDUJfJIl24nrr/YjfQN
ZoEhvClqDSFLA17VKNug3xSkh72mNczUEO5RcspGA3NVVGKGc4Wu9pIX6RyH4J1b
EK/cKuJXe7roAmcA6swDvXmilf8MaGqAX3hl9gompwRsXqyFtmcJroC5fYB1EQQK
lNnPhCtfhehSpykzq5FeHwkuUOKHyquxUEyA/Av8RH84G0A5EAUjUDQVgs47Ur2F
tR0MI6W8znF1b+Rd6LKyiebFXCPLQnX+Ub6sirHoMWDjS0FVRrttKUWsXHwBYnzP
Nq6Q3R6KFQu+KGHu29Ea4Wd3YoDm4rhdezslkcu6NKXEgQIU4Ua01ZhuWHil4Z4/
vomtAgMBAAGjWDBWMBQGA1UdEQQNMAuCCWxvY2FsaG9zdDAdBgNVHQ4EFgQUkKgV
49WIfRDtman9KwozOM+5kvowHwYDVR0jBBgwFoAUh9E/uEy1g63DaxAzOo7ezzQJ
Tv4wDQYJKoZIhvcNAQEOBQADggEBAFENMvrWkoSMPtetyuoZVj9fA1/P4PPN2dAj
20hTOHjnSdwsEaHXXBMRJoS9ge+EWUC1gFObelE0foSH8GCZq3WtkWt9Egu/R3Zz
fwlN4j4sFFUyX7EVSlE8Lw1ugbU8qKJlwuzlCS0vZl+uwvKN2IyOHaLIW7NLIGSA
d4XYeE1j+7tNl+t7MzU92UBlGmknWm/7XvPtD7tXdbOE2ObtPLsJ6g7G+ZgJHIYE
9DCXiKROtUxqZ+Ugqc9FfxfEqu5x4YNVymI9cEXY2PC7mxp+0ecOsXDxzDrcF/jT
opTBdYcNXvfLDmXgV2lx0AkUaIu26JkTVGHe8wqZ7RTUIsOza+M=
-----END CERTIFICATE-----
28 changes: 28 additions & 0 deletions tests/pems/permutations/rsae_pkcs_2048_sha224/client-key.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDUJfJIl24n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