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

renew test certs #1182

Merged
merged 2 commits into from
Jun 25, 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
1 change: 1 addition & 0 deletions spec/fixtures/test_certs/GENERATED_AT
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2024-06-25T14:25:31+01:00
55 changes: 28 additions & 27 deletions spec/fixtures/test_certs/ca.crt
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
-----BEGIN CERTIFICATE-----
MIIFDDCCAvQCAQEwDQYJKoZIhvcNAQELBQAwTDELMAkGA1UEBhMCUFQxCzAJBgNV
BAgMAk5BMQ8wDQYDVQQHDAZMaXNib24xDjAMBgNVBAoMBU15TGFiMQ8wDQYDVQQD
DAZSb290Q0EwHhcNMjMwNTMwMTUxMDM4WhcNMjQwNTI5MTUxMDM4WjBMMQswCQYD
VQQGEwJQVDELMAkGA1UECAwCTkExDzANBgNVBAcMBkxpc2JvbjEOMAwGA1UECgwF
TXlMYWIxDzANBgNVBAMMBlJvb3RDQTCCAiIwDQYJKoZIhvcNAQEBBQADggIPADCC
AgoCggIBAMtTMqAWuH17b9XqPa5L3HNqgnZ958+gvcOt7Q/sOEvcDQJgkzZ+Gywh
5er5JF2iomYOHiD5JncYr4YmRQKuYfD6B1WI5FuQthD/OlA1/RHqtbY27J33SaO6
6ro8gal7vjHrXKQkefVYRwdfO6DqqbhV6L4sMiy8FzQ55TMpoM35cWuvoAMxvSQq
GZ4pYYKnfNSGhzHvssfNS1xu/Lwb7Vju4jPhp+43BkGwEimI5km7jNC1nwjiHtxD
sY/s93AKa/vLktXKUK5nA3jjJOhAbRTVnbOAgxFt0YbX98xW/aUq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r0sEBStgKMncCAwEA
AaMhMB8wHQYDVR0OBBYEFKFadJx46upif1BrhYZ0iu8o2z8rMA0GCSqGSIb3DQEB
CwUAA4ICAQBEINBLe3Gq/S9GauMJPBZ3KN+qz0W9Q9rlEkd2LauZUXC7rCe1ZNNX
nIOV2Rvfx5GICLJPAMI4V8PpT0OfDCa+WvbMJCs7G0PS4uqmF9kOghPggjAwd2hT
7jsjbdaWNhWLizsQ89o82pHxcr2rznM2IFWJ4E8aEjAdQ4XSg78edo25fy300ej2
ab+Ro4wAsE/zJWvhJBQ5+g5ut3xjvfZfWtgfrabO0O9I01VL72BPdcIynlRPZSUc
RhGXH1SMlR2x4DyiPl/6uUylncZ/YArTfDNCw4KfJsBsjMP6vNtim2qd8NQvS5lG
sG9WwR78AR/sMPxQ5hLD4e2u7MtSO6EIXyXmqM7SAMhc+Jkk0BPC3heInrkd4B8r
ef1+ldiOsl2j0gtACCACMELUv4AQFXDqBDYz2NpjE5CpLRd8onQSVFguevjitGcP
b9VNYPUqztvdiq8XoyBEYWD5mfT0fugOubIdW7BkE7+FucW5eC3NTTC8JnvlCEts
+pXWJblI2Dhne66N40TvIHHho/qBVru8WzmHsii7raj/lK2hq8D6sa9B0D02fG5K
qX4jG3if6BXsOnz6CQDkKujJwiAetvggaZxXm6nluUsaBgmohvEejSFwcnvX7n92
aVwzHDH2JOCS/vDCsYxN5MuRDv9PFhsSCYAs7vvRmLg8mfgUXIK0oQ==
-----END CERTIFICATE-----
2 changes: 1 addition & 1 deletion spec/fixtures/test_certs/ca.der.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
86a8abdffc0dd114d50cb20c7cc635bdb4bdcb16370fdee5aa5c05b4861faacd
c68e2e72af689f4e76ce1ba720db50240a5dfb97fcc5e17d6b4c806e21c80461
3 changes: 3 additions & 0 deletions spec/fixtures/test_certs/renew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ openssl x509 -x509toreq -in test.crt -signkey test.key -out test.csr
openssl x509 -req -days 365 -in test.csr -set_serial 0x01 -CA ca.crt -CAkey ca.key -out test.crt && rm test.csr
openssl x509 -in test.crt -outform der | sha256sum | awk '{print $1}' > test.der.sha256
openssl pkcs12 -export -inkey test.key -in test.crt -passout "pass:1234567890" -out test.p12

# output ISO8601 timestamp to file
date -Iseconds > GENERATED_AT
57 changes: 29 additions & 28 deletions spec/fixtures/test_certs/test.crt
Original file line number Diff line number Diff line change
@@ -1,30 +1,31 @@
-----BEGIN CERTIFICATE-----
MIIFEzCCAvsCAQEwDQYJKoZIhvcNAQELBQAwTDELMAkGA1UEBhMCUFQxCzAJBgNV
BAgMAk5BMQ8wDQYDVQQHDAZMaXNib24xDjAMBgNVBAoMBU15TGFiMQ8wDQYDVQQD
DAZSb290Q0EwHhcNMjMwNTMwMTUxMDM4WhcNMjQwNTI5MTUxMDM4WjBTMQswCQYD
VQQGEwJQVDELMAkGA1UECAwCTkExDzANBgNVBAcMBkxpc2JvbjEOMAwGA1UECgwF
TXlMYWIxFjAUBgNVBAMMDWVsYXN0aWNzZWFyY2gwggIiMA0GCSqGSIb3DQEBAQUA
A4ICDwAwggIKAoICAQDGIT9szzhN5HvZ2nivnCDzVfdYbbqBhgEbPppWPyFcV0r2
rtmWfeK5EEdsTS/Ey4owTceOplPpAp4svF+a/i1/bHhqnQYYU4f7Qic4fDAszLdi
SIo0o1csNvIogm/P+uvSzE6eZRZUSmo49dY5SKSJt6Pjh6lM2MHEjsPKIKdAN57w
EN90q4IZv6AHE9rphqxcmF1k+j5xmhCUS1EJ+y7hyZ0S7Hghdgp/0cxSu/7YlVYy
JpkIlQd3RPXzEf6VSYjtr9Ajp1rhvv2611q0CB5NALg/KR3OiMPYmTg5HAKOdweN
am76nG3VxTeV3y+LW/pZAbi4qAl+4/c0eOGsL7o/YSn7qhThU1AWS9kY1WxTCrKR
h58rUGRfmvpnOR99xvR4jz942RNiY61pTmsvo+iJspTII3GZhwIGlHtxE9Rn50lW
QcDuDDHfObWhzb4rS55BERI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+oYBYenfKUMb3WaPKvdQibJf+l0qKlcMGFPzdcoXW8qL
B4gqd2zo3Y2oQc+7rJtliRc4R5RVz/2V/WrFVWDBQAIa8y7vNKnYHJkNtu1RR8sC
MVGfRzGpnM/Ixahx6oOUr9atZvkbFC13OD9gEnGa2zH//qvQHSInKdhV+d+lE5ta
1jKnO5o0Xd+XPymguKk0lcSj0ptBGyS5p6of/kFYvdjwapfhydoyBthPMNz43oo9
QT9YzL8oAhwH8fDKMuyN6SUT55bPEcCGdCGX8ewpsi9694dCkdK5FICn2+iG21a2
VWcpsGPJu94/mw0X3tbDIXda9tJXAMVT/W3k1QCboMLNUQlIeVXooUuk+NZehJ+L
micok5UbSZ2OHz1QurmY0z5x+/+8T7q0OkWV8xFVbw25X7cKLokfUHxanZHq3Z0n
sJyCvSWuYj32Si0/JygaROtjNBzD1OOvvu5+Pzymc6/4HRZVBo4kexR/HN8XUGUD
ZAt1UehsQiI+ni6JYKYCAxmRti/n1l6ECwVoL+eWnUItxAd8b/+l1I4mCkEvpJsa
ncc6IAL/zrVruzm5xPEqHoKmpFU/aWD9w63pK7TE2Ube8Ug7J3pLKl3tZsB+PlP+
yh9wmAQYsveABrnFD+bkL+7jYHR8rJwAQPxWyMvzmc8=
-----END CERTIFICATE-----
2 changes: 1 addition & 1 deletion spec/fixtures/test_certs/test.der.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
b6ee8b4a213328074df1da1f3b8fdde95c5e97e9b1d7da58dad0537a04939b97
fef5b862560b6651f92085a81d38fc4c47c3da9af2dd98720aaf267e14fd6891
Binary file modified spec/fixtures/test_certs/test.p12
Binary file not shown.