Skip to content

Commit

Permalink
"rotate" localhost keys
Browse files Browse the repository at this point in the history
i lost my rootca cert again :(
  • Loading branch information
billyb2 committed Oct 13, 2024
1 parent c8d2b4b commit 611e6fb
Show file tree
Hide file tree
Showing 3 changed files with 74 additions and 48 deletions.
52 changes: 26 additions & 26 deletions certs/localhost-key.pem
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQCytup21KLc65nc
WnR+xRqkC5Jpv4M2t1mMhksdiIV8VmNQ52/3TIXmTXnBKoUKX8B+DFSkCQauaL+V
tH1BZte5fYb3oAmUOMcqGwxRbmxzyFc78sTMAxdV3ota33dWtgHZEupshrT9jt/G
J1k+P776DKMiTj+oPcyZRCdvLNg6KLKLBryu0bDXJHjd6G7dT9HYGV4iJLT+UyBW
VuLxbrbxOfNpfW//e6XNS2vulGgo3CxlSa7rvJqOpp5KwIThaanpwkcbSl6yN7Ve
hwhPlGfuKoVh8nvsLULIXXr2gnPFHb597j6XBPLfXm5hnzc787iktyHQjHY6l61C
V27jkKYfAgMBAAECggEAXXciioFMp+Oj9UVtdbtZ4n+W1C1vz1b2w3KcqFZ1EYEQ
sghIW3qu8LKGQcseBz3qq0GBpsR9tQtdX0sk0uaZXg5TXwBY4icLqm6484GfwLH/
RYADAnt/Yc5g7Wa/wB6yOrgU2CtfTtjBGZ4Mo2ytUZL4YoGv8ypW7bViNleqwkcU
sIfO6btdQSSf2P3EpfJb4PXUxHgKiqOYkd3hijqXC2x0N1jKvxNg/D1FujWL1eDl
Yna2kWlEfwsCR6nHnavooUPVj+RxsuuE1rjXm3WyRnRj4Gl425bUcmwSvQmP48Xl
f1lDEO1CkWOwu8mqbffHdNCHIJHS6F4nxWsc5m++qQKBgQDdykrRbFCHYTBpYSxO
5RfxPWAHMtWPoFjmMGPvI40gpj7RG5gDhI48JFcgVIWP72nLeh6G/3KFaCVt7SG9
zjt27K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5uy5W1MOKlXqBnZjV98z4MiYhP2utz
l4sNsycyrMv+zmxRJ8CoboUNg098aHBzVyypwauw+D+r9VDsc6KWdzywwoEy2wpL
opIKuRrqPKAgF2LwdKBxRmxPo7Pe8rLYJ8qJHszfAoGAI4Z9nmLxG87YWORsbaui
2/VxtRxdjcFspD29qdJeUuCpWMPKbRH3/kw1W0cahPyE5QW51exUEqZ2tA8RF9LI
vckgRnKuPwu19LO7FDTDwLlIN6xirIq0yb9nxeg65ucupOB/kjR1+G2lInkf19Ts
gAqzxAvQZLWJNwdiZsBuZJg=
-----END PRIVATE KEY-----
44 changes: 22 additions & 22 deletions certs/localhost.pem
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
-----BEGIN CERTIFICATE-----
MIID+zCCAmOgAwIBAgIRANCIzWxXVGKHYxC/XY83m2swDQYJKoZIhvcNAQELBQAw
UzEeMBwGA1UEChMVbWtjZXJ0IGRldmVsb3BtZW50IENBMRQwEgYDVQQLDAtiaWxs
eUBuaXhvczEbMBkGA1UEAwwSbWtjZXJ0IGJpbGx5QG5peG9zMB4XDTI0MDUwOTIz
MjI0NFoXDTI2MDgwOTIzMjI0NFowPzEnMCUGA1UEChMebWtjZXJ0IGRldmVsb3Bt
ZW50IGNlcnRpZmljYXRlMRQwEgYDVQQLDAtiaWxseUBuaXhvczCCASIwDQYJKoZI
hvcNAQEBBQADggEPADCCAQoCggEBALK26nbUotzrmdxadH7FGqQLkmm/gza3WYyG
Sx2IhXxWY1Dnb/dMheZNecEqhQpfwH4MVKQJBq5ov5W0fUFm17l9hvegCZQ4xyob
DFFubHPIVzvyxMwDF1Xei1rfd1a2AdkS6myGtP2O38YnWT4/vvoMoyJOP6g9zJlE
J28s2DoososGvK7RsNckeN3obt1P0dgZXiIktP5TIFZW4vFutvE582l9b/97pc1L
a+6UaCjcLGVJruu8mo6mnkrAhOFpqenCRxtKXrI3tV6HCE+UZ+4qhWHye+wtQshd
evaCc8Udvn3uPpcE8t9ebmGfNzvzuK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----END CERTIFICATE-----
26 changes: 26 additions & 0 deletions certs/rootCA.pem
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
-----BEGIN CERTIFICATE-----
MIIEdTCCAt2gAwIBAgIQDl7tMg+UCxTgwde5kPX5lTANBgkqhkiG9w0BAQsFADBT
MR4wHAYDVQQKExVta2NlcnQgZGV2ZWxvcG1lbnQgQ0ExFDASBgNVBAsMC2JpbGx5
QG5peG9zMRswGQYDVQQDDBJta2NlcnQgYmlsbHlAbml4b3MwHhcNMjQwNzAzMDI1
NDI5WhcNMzQwNzAzMDI1NDI5WjBTMR4wHAYDVQQKExVta2NlcnQgZGV2ZWxvcG1l
bnQgQ0ExFDASBgNVBAsMC2JpbGx5QG5peG9zMRswGQYDVQQDDBJta2NlcnQgYmls
bHlAbml4b3MwggGiMA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQDdBqO6ibng
sspgynUkXhFuJ9sd+ApHlNDWatj9qfeFU7GHu1LP6UobRAdJWBbI6y5jF+aBzuMH
Ai3hV1Ak60rpIPQZkOv5C+xlSWRnqIKBjKCayapGqfnToqxSvOggOy9d+HmeK5HV
5BpAvZAlaULv8fzs2NgMNSmBnbx3d+TnOYNcTgYZ3c+qYNV+aeq64+FzkvblP15u
NNd5XDj5jA0zZZHJ6cqminbBg3YiGNNUdcKnVK+qZgD5GUBNGV4xVEhD2lZOUB0p
UdeFh5a+f2c+0jtyJTTriXDihq/Yhnd6yro7DTZASAi+YWszv1M9UZ/lzToWCMYt
WxhWGi4c1WM56uhasocAYeYyfO5h7p2pYaaenucMROfz9hvmUf2OONDcSSiH56e+
LzOAn7o+CubwJrqPiGVNYS6IvhEy+vtSgazUFrD7Naw8IMTxg4G1CI2Oighhg4wg
eyXu38eV0029ENUZ2AqsAxvRcfpHaD9ig+Utn4sUF9FKI4/zkDwe5rkCAwEAAaNF
MEMwDgYDVR0PAQH/BAQDAgIEMBIGA1UdEwEB/wQIMAYBAf8CAQAwHQYDVR0OBBYE
FM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