Skip to content

Commit

Permalink
generate new test pki (#206)
Browse files Browse the repository at this point in the history
  • Loading branch information
cds2-stripe authored Nov 7, 2023
1 parent c86310d commit 4bc8d89
Show file tree
Hide file tree
Showing 13 changed files with 402 additions and 364 deletions.
56 changes: 31 additions & 25 deletions cmd/testdata/pki/ca.pem
Original file line number Diff line number Diff line change
@@ -1,27 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIEnjCCA4agAwIBAgIUVX3IM4foGZSavx8CYfWm5035gs8wDQYJKoZIhvcNAQEL
BQAwgeYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH
Ew1TYW4gRnJhbmNpc2NvMSMwIQYDVQQKExpOb3QgQSBDb21wYW55IENBIEZvciBU
ZXN0czFgMF4GA1UECxNXT29wcyBJIGRpZCBpdCBhZ2FpbiwgSSBwbGF5ZWQgd2l0
aCB5b3VyIGhlYXJ0LCBnb3QgbG9zdCBpbiB0aGUgZ2FtZS4gT2ggYmFieSBiYWJ5
IGJhYnkuMSMwIQYDVQQDExpUZXN0IENlcnRpZmljYXRlIEF1dGhvcml0eTAeFw0x
ODA4MTYyMDAwMDBaFw0yMzA4MTUyMDAwMDBaMIHmMQswCQYDVQQGEwJVUzETMBEG
A1UECBMKQ2FsaWZvcm5pYTEWMBQGA1UEBxMNU2FuIEZyYW5jaXNjbzEjMCEGA1UE
ChMaTm90IEEgQ29tcGFueSBDQSBGb3IgVGVzdHMxYDBeBgNVBAsTV09vcHMgSSBk
aWQgaXQgYWdhaW4sIEkgcGxheWVkIHdpdGggeW91ciBoZWFydCwgZ290IGxvc3Qg
aW4gdGhlIGdhbWUuIE9oIGJhYnkgYmFieSBiYWJ5LjEjMCEGA1UEAxMaVGVzdCBD
ZXJ0aWZpY2F0ZSBBdXRob3JpdHkwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEK
AoIBAQDB/IYY40+YyUyo42bUh6JWgs5ywdCi7nokoYET4VnXiIvxtWAFksA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dycOKzc1ofa6kf3JPrxk3EeGEEqCDdByI2eUB9oVxcGtqL1/eAXVYwFjXupY
/CRkrv1qVSfioyNw1JrLxu0j+zqlfYFc/hUAvPm7HEHTnDKePxf+r1fqztudD4ld
kjrcxW4otWHxEP4oyadyrcF7NWQK9vgzyXlB3lj57b8qlfrcniCnqYVFsRoCCFoa
+fETmhzgyNsUG5N2YfvDHd8yYuKyRKm+dDnVCN+RIov32oTvIFY5qHdpyjv30wvB
0hhGpeTgeXY/ddVJu2BU8Ni8xgbKB9tRgPiO88bN4aWKoM6TRlhWfbcvpGKWY9ED
CVzILzUDydhaqB8iC0NYlcBrooVl7MHkvl/7KW9QC+WKrsIXWeF48sUOtOpTvkfY
nBjD+1RfHLML66WoferPNoDB1T6vkIcRKbHESYRfRwvsgD2fqVsepvJREt63yHKz
KJHD/XxJAxMjrqAxqz1t4c/yg2dHA14jL/VgIooUfbvtiljFaDml0tdEIB4n0Ddy
ckpj/iwIwJsg2yVVuStqWEPeErVmsdsDKbtn3KV6Y7wAQcSWFhJVYwiy78atgxOk
CIQtLAJVo2DMgpZEHAmrkGlJ/a44blA/zd4b
-----END CERTIFICATE-----
35 changes: 16 additions & 19 deletions cmd/testdata/pki/crl.pem
Original file line number Diff line number Diff line change
@@ -1,21 +1,18 @@
-----BEGIN X509 CRL-----
MIIDijCCAnICAQEwDQYJKoZIhvcNAQELBQAwgeYxCzAJBgNVBAYTAlVTMRMwEQYD
VQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMSMwIQYDVQQK
ExpOb3QgQSBDb21wYW55IENBIEZvciBUZXN0czFgMF4GA1UECxNXT29wcyBJIGRp
ZCBpdCBhZ2FpbiwgSSBwbGF5ZWQgd2l0aCB5b3VyIGhlYXJ0LCBnb3QgbG9zdCBp
biB0aGUgZ2FtZS4gT2ggYmFieSBiYWJ5IGJhYnkuMSMwIQYDVQQDExpUZXN0IENl
cnRpZmljYXRlIEF1dGhvcml0eRcNM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lZW4XDTIzMTEwNzIx
NDMyMFoXDTIzMTIwNzIxNDMyMFowFDASAgEBFw0yMzExMDcyMTQzMTRaoA8wDTAL
BgNVHRQEBAICEAEwDQYJKoZIhvcNAQELBQADggIBAI7yGPw4/A+7WMrqghIcsbZK
UuLRA7R0AlKIzQGJ/4Tk+ZJF1mlhQrB7kB89yPq7b+CssldnvWpIH67yn3snKtdU
QYOxvXfds2wJn4kyWo46Nnz4/1huc2r4sNEvyvTLEH6VRxivHGR2UncODPkNVpcu
eBoFUwUZrh9aWUcBY1/ilPcWq7JwyGQsuIM7IBLkaWb75ZV+poEzufIVVxKUhCbB
YK56ik7HxDk9YyrX3+69dpCFAsOtg3STph4CpKLHmmarJ6rRGJ1gTa5prva7kfZD
ewYuyjJHhonHPR9WkiVeMm6SV7Odmhw0t8p2TMRx2xre+jdIuHZ7OrPxpd0f+XU9
NFMzUyccS9WrPbztcWW7c0bTA0wfESCxMQ5HccG3JHy5kVGCj8pugOUk1j1WmTo7
D+8qlEnRaIaKUfK7Hp+8X8tGtG3D7Dt+N466i9C6zOfCerP0A8hl0c+UQucpy/cg
G04P7Fpv6b5/yazVReoBcmCFFFPJ04P+MH2h/OIOo4lQjR735H3zRTiCqUpWpQQO
O6gL8AnoulS7H9IVvUJi1C3HEUnA7GBrkILoi5g94O8NICLq781v7ACUz9gBV6P1
y5ev/z5Dz9jWbFa4YjY8DQjLPmulYPSJWDmvVEuYHgjvEZTER+fJfJQwMZCQ5bhA
T4MWh0an1F6H6uTv1Rpc
-----END X509 CRL-----
79 changes: 52 additions & 27 deletions cmd/testdata/pki/enforce-client-key.pem
Original file line number Diff line number Diff line change
@@ -1,27 +1,52 @@
-----BEGIN RSA PRIVATE KEY-----
MIIEpQIBAAKCAQEAt0UC/Y6NRTLQ4ruYSfTq06/LfbPvn0xuwUIeE9p3UKMoePop
khOb1TdSvZSvLh8gIONxLDNvedC4kLEiyiDfkshbC8OW/++PjanWlUYaLJYbsYlk
bjWqN3T6bGFjXEVw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Fm09ALoRzUKUP/qM2celtsNTm4Yo7C81kHHna2PSl57g4jxJK/j6CJq6cLfvq
8iUCggEAU4CoVMc7Xie7rw2mH1JCr5A3EJiU+QtNOrpUiqMaYi1SOzAFuA+n9gDU
cgTdlOTG1LVF/CjjwdrMQ8jLG1yLFzwEZVO91c5RXFLtZGVfg/fmYdJ7l04dDfmp
t0GPS1Eaf34ZtQfr1c9FXowUmF+FhdtRtRoEA91gNY0Ci0M1GptGGqo1Vk0yY8x5
+gIq63YZ208c0eUVnZSNYvm6OyMiLVkjAHgSqzegKRlZXnElFFLozCb5d/iq7JaO
/C/UaI7cuYSdpj2A4moeyIgm0ma0YHWaDVbSI7t4jVYoE7umKMb8kDMlBOI0B3XQ
aYHcDZxFvVRMO7c7pbmMAeFI3hqP2A==
-----END PRIVATE KEY-----
57 changes: 31 additions & 26 deletions cmd/testdata/pki/enforce-client.pem
Original file line number Diff line number Diff line change
@@ -1,28 +1,33 @@
-----BEGIN CERTIFICATE-----
MIIEwzCCA6ugAwIBAgIUP/GSHcjDscrObrduUp6m4kw9AMUwDQYJKoZIhvcNAQEL
BQAwgeYxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQH
Ew1TYW4gRnJhbmNpc2NvMSMwIQYDVQQKExpOb3QgQSBDb21wYW55IENBIEZvciBU
ZXN0czFgMF4GA1UECxNXT29wcyBJIGRpZCBpdCBhZ2FpbiwgSSBwbGF5ZWQgd2l0
aCB5b3VyIGhlYXJ0LCBnb3QgbG9zdCBpbiB0aGUgZ2FtZS4gT2ggYmFieSBiYWJ5
IGJhYnkuMSMwIQYDVQQDExpUZXN0IENlcnRpZmljYXRlIEF1dGhvcml0eTAgFw0x
ODA4MjIyMzQwMDBaGA8yMTE4MDcyOTIzNDAwMFowgccxCzAJBgNVBAYTAlVTMRMw
EQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1TYW4gRnJhbmNpc2NvMT4wPAYD
VQQKEz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FeNDK2BoU08h56qxK8pL4
tnFFLPufKO2BCH58cN/Om/gjYwVvvExWAQfr0fYtb/C+wwC7shfZQxobZQHcWrHB
nY4kThwdz6hwxRKqWy1aKEhSMyxshmcD1YthY7wZ3CYCWnv/NjcjX+YbAgMBAAGj
TTBLMAkGA1UdEwQCMAAwHQYDVR0OBBYEFFwkGmF+kzcyEoRQcsRY5Xyx4eAdMB8G
A1UdIwQYMBaAFCJvjD/Gk7eKYbHd4RaBgeyQbY3SMA0GCSqGSIb3DQEBCwUAA4IC
AQAVm1qA1Q1XuSGPEHj9B2jTOJ0Z0/0dEvMXuceWAHSlH3Z0+8ntVJsGXaV2b/kF
ynWYqTWbVoGgx+f5dlMPy5e+qHIpL7kfbY61E0jafoHIG9A4p1UJ+AzYQCdJtbq3
9bWAHZ97XYE80/pBgH7bSfP9ZlsRzc+4blbYkFOxmtN7a/FbIKUSg2uRLuIq7m94
X5wGS72GBYMpf2N7u0AxfJ1OEzVpmr/65LU/kc7KF2p/N3jnBIHR2reD12TIClWA
DykNHQIezwaKpAPckH4gOrDXIGeL7HI9dgp0syv/2K/EvfHKqqjyHUkrsLKlKisc
/wRpRIL7vwEEy+41rUuI9q04xuFBjffcnbkVTyzkp/XoViOqa4XK56GleT49AC8J
ryS5JWQginFaUeWVsA7APFi4Pi4fS6B58XLHEKYSU/u/Xcp4PNZ6cOnaeHQCbQvI
65yJA50u7WttKvLJEmrzAMTSh807tFaAr0Eol2oYNhXykI2i2r3YOgwkZfztIy5d
VvFWWo0DMRAOlAxJreeerxzNObCOPT+7SdUsZGjNfMwycFbMhNS6t9TFTcF5gP+R
33Xsh1asvqSLNtQBH5Za0GK5IKWgHU8vO1CpHb7k05qoTuM0e/E/WMm5al3SYarW
1Wd9epiHL6H3PUZCmBA+gWjfsRARvG64FbmNcbOmMJyv6Q==
-----END CERTIFICATE-----
55 changes: 28 additions & 27 deletions cmd/testdata/pki/open-client-key.pem
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
-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