mirror of
https://github.com/cesanta/mongoose.git
synced 2024-11-23 18:49:01 +08:00
regenerate certs
This commit is contained in:
parent
8e420406b9
commit
379e047289
@ -1,8 +1,8 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBFTCBvAIJAJiASLWtAz5MMAoGCCqGSM49BAMCMBMxETAPBgNVBAMMCE1vbmdv
|
||||
b3NlMB4XDTI0MDMyNTExNTU0NVoXDTM0MDMyMzExNTU0NVowEzERMA8GA1UEAwwI
|
||||
TW9uZ29vc2UwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAARaohnchUT4QTRIYKBX
|
||||
1k0n3/PDwpXwiPyJIb+Wwfsmx0Y74KU7xGZLHK2C1PmIADVnTf3z304E97AXM+WV
|
||||
3gkOMAoGCCqGSM49BAMCA0gAMEUCIQDJ0GYwCwucIKl+K/zRgptW6HVxD5y6+hu4
|
||||
YBP9j+vwCAIgWJswYluq0szGxmfKnSXyTDioA1XrDhCVjYGO61U60Gk=
|
||||
MIIBFTCBvAIJAMNTFtpfcq8NMAoGCCqGSM49BAMCMBMxETAPBgNVBAMMCE1vbmdv
|
||||
b3NlMB4XDTI0MDUwNzE0MzczNloXDTM0MDUwNTE0MzczNlowEzERMA8GA1UEAwwI
|
||||
TW9uZ29vc2UwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASuP+86T/rOWnGpEVhl
|
||||
fxYZ+pjMbCmDZ+vdnP0rjoxudwRMRQCv5slRlDK7Lxue761sdvqxWr0Ma6TFGTNg
|
||||
epsRMAoGCCqGSM49BAMCA0gAMEUCIQCwb2CxuAKm51s81S6BIoy1IcandXSohnqs
|
||||
us64BAA7QgIgGGtUrpkgFSS0oPBlCUG6YPHFVw42vTfpTC0ySwAS0M4=
|
||||
-----END CERTIFICATE-----
|
||||
|
@ -1,5 +1,5 @@
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIHtFV1AGKDqJRVBg3hQEmkHQDlXxCDFpIJ4b7UUyUtHRoAoGCCqGSM49
|
||||
AwEHoUQDQgAEWqIZ3IVE+EE0SGCgV9ZNJ9/zw8KV8Ij8iSG/lsH7JsdGO+ClO8Rm
|
||||
SxytgtT5iAA1Z039899OBPewFzPlld4JDg==
|
||||
MHcCAQEEIJqrhcIKC5dk0omuRJRnzCXdfxevxnabQEnOWlL6P6x1oAoGCCqGSM49
|
||||
AwEHoUQDQgAErj/vOk/6zlpxqRFYZX8WGfqYzGwpg2fr3Zz9K46MbncETEUAr+bJ
|
||||
UZQyuy8bnu+tbHb6sVq9DGukxRkzYHqbEQ==
|
||||
-----END EC PRIVATE KEY-----
|
||||
|
@ -1 +1 @@
|
||||
96EAA481EB95FF30
|
||||
96EAA481EB95FF36
|
||||
|
@ -1,9 +1,9 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBLTCB1KADAgECAgkAluqkgeuV/zAwCgYIKoZIzj0EAwIwEzERMA8GA1UEAwwI
|
||||
TW9uZ29vc2UwHhcNMjQwMzI1MTE1NTQ1WhcNMjQwNDI0MTE1NTQ1WjAMMQowCAYD
|
||||
VQQDDAFjMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEoyB/9kTJJnPLlLFrQmME
|
||||
6LMvCpjp05MuSTOvEmXqfWH+eC2e0bb6h7YIW+lcOrVQhDEt6xKFs1rqKUR0lgou
|
||||
/6MYMBYwFAYDVR0RBA0wC4IJbG9jYWxob3N0MAoGCCqGSM49BAMCA0gAMEUCIQDy
|
||||
11QWTyWuTq6avrsVi4lWfjMQSm14RxtyYUiStaahnwIgcXrf5MeOlupWLxPqEZTz
|
||||
uOejUi45wZ6m3S1BLa31g3Y=
|
||||
MIIBMjCB2aADAgECAgkAluqkgeuV/zYwCgYIKoZIzj0EAwIwEzERMA8GA1UEAwwI
|
||||
TW9uZ29vc2UwHhcNMjQwNTA3MTQzNzM2WhcNMzQwNTA1MTQzNzM2WjARMQ8wDQYD
|
||||
VQQDDAZjbGllbnQwWTATBgcqhkjOPQIBBggqhkjOPQMBBwNCAASXNWpzrToZJQVB
|
||||
dIJCeIw4j43kV38oehDKhYnaPJDTkqoKrEtSTvXWFY7BxnjUhSkSWBElcq/g6qiP
|
||||
TquJCvXLoxgwFjAUBgNVHREEDTALgglsb2NhbGhvc3QwCgYIKoZIzj0EAwIDSAAw
|
||||
RQIhAOsbCgeobKm0sOmQKzH9+KYmoxL/8AXMAzWozd2bEtivAiACyLVppRHjgA/e
|
||||
rP1mRkL0RAUxPw6s/gK7TFcPXUqzGQ==
|
||||
-----END CERTIFICATE-----
|
||||
|
@ -1,7 +1,7 @@
|
||||
-----BEGIN CERTIFICATE REQUEST-----
|
||||
MIHGMG4CAQAwDDEKMAgGA1UEAwwBYzBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IA
|
||||
BKMgf/ZEySZzy5Sxa0JjBOizLwqY6dOTLkkzrxJl6n1h/ngtntG2+oe2CFvpXDq1
|
||||
UIQxLesShbNa6ilEdJYKLv+gADAKBggqhkjOPQQDAgNIADBFAiBDSG3wDIJaEn5c
|
||||
PU+4WLGJ8+nzTewHGtpQELOXWURxLQIhAP5BocCQyrGW/5dEc/VWMgqH2eznZJcT
|
||||
ftb9Tk6I6Pjx
|
||||
MIHKMHMCAQAwETEPMA0GA1UEAwwGY2xpZW50MFkwEwYHKoZIzj0CAQYIKoZIzj0D
|
||||
AQcDQgAElzVqc606GSUFQXSCQniMOI+N5Fd/KHoQyoWJ2jyQ05KqCqxLUk711hWO
|
||||
wcZ41IUpElgRJXKv4Oqoj06riQr1y6AAMAoGCCqGSM49BAMCA0cAMEQCIH0SLqrh
|
||||
1ieUh01dSUMJLVRDkrSsZu+Z/ZiYPaHNd1I0AiBKNu9sLEc4vtxwZJJvdwer3pbq
|
||||
Uw7jMwjwyuhZd2+eJA==
|
||||
-----END CERTIFICATE REQUEST-----
|
||||
|
@ -1,5 +1,5 @@
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIPEthf+Qq9dXJBxSZuYr2WhgzuhrDfMaD1kQzeKHZFfDoAoGCCqGSM49
|
||||
AwEHoUQDQgAEoyB/9kTJJnPLlLFrQmME6LMvCpjp05MuSTOvEmXqfWH+eC2e0bb6
|
||||
h7YIW+lcOrVQhDEt6xKFs1rqKUR0lgou/w==
|
||||
MHcCAQEEIGzf9AgYx3RfhzMGwv5EWgzoQh/EDfFpieFgfpTisWbAoAoGCCqGSM49
|
||||
AwEHoUQDQgAElzVqc606GSUFQXSCQniMOI+N5Fd/KHoQyoWJ2jyQ05KqCqxLUk71
|
||||
1hWOwcZ41IUpElgRJXKv4Oqoj06riQr1yw==
|
||||
-----END EC PRIVATE KEY-----
|
||||
|
@ -18,15 +18,15 @@ openssl req -x509 -new -key ca.key -days 3650 -subj /CN=Mongoose -out ca.crt
|
||||
|
||||
# Generate server cert
|
||||
openssl ecparam -noout -name prime256v1 -genkey -out server.key
|
||||
openssl req -new -sha256 -key server.key -days 3650 -subj /CN=s -out server.csr
|
||||
openssl req -new -sha256 -key server.key -days 3650 -subj /CN=server -out server.csr
|
||||
openssl x509 -req -sha256 -in server.csr -extensions SAN -extfile cnf \
|
||||
-CAkey ca.key -CA ca.crt -CAcreateserial -out server.crt
|
||||
-CAkey ca.key -CA ca.crt -CAcreateserial -days 3650 -out server.crt
|
||||
|
||||
# Generate client cert
|
||||
openssl ecparam -noout -name prime256v1 -genkey -out client.key
|
||||
openssl req -new -sha256 -key client.key -days 3650 -subj /CN=c -out client.csr
|
||||
openssl req -new -sha256 -key client.key -days 3650 -subj /CN=client -out client.csr
|
||||
openssl x509 -req -sha256 -in client.csr -extensions SAN -extfile cnf \
|
||||
-CAkey ca.key -CA ca.crt -CAcreateserial -out client.crt
|
||||
-CAkey ca.key -CA ca.crt -CAcreateserial -days 3650 -out client.crt
|
||||
|
||||
# Verify
|
||||
openssl verify -verbose -CAfile ca.crt server.crt
|
||||
|
@ -1,9 +1,9 @@
|
||||
-----BEGIN CERTIFICATE-----
|
||||
MIIBLTCB1KADAgECAgkAluqkge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lHKe6YvTNPauRimCfvljhLhBw6p7uLxK/z0HYB
|
||||
oZngOSZlhLM7c9X9F4DbijGgADAKBggqhkjOPQQDAgNHADBEAiB4+PwVzRQn4dSE
|
||||
I958FyxOJjKlKQ9DjBZCOStqrp2IugIgbAJG26EqDew7MvZWLtCR6ug6qBU2/hjG
|
||||
0QDyaZrCHeQ=
|
||||
MIHMMHMCAQAwETEPMA0GA1UEAwwGc2VydmVyMFkwEwYHKoZIzj0CAQYIKoZIzj0D
|
||||
AQcDQgAEqN6BIhvgbk7ecmUcn8Da9Avkj/uDNERtqWJG9r/or26X4u9jR5Jl4hf5
|
||||
Gx17YJkq5/z3k6ogPDPpoAYWIw1/s6AAMAoGCCqGSM49BAMCA0kAMEYCIQCOydOU
|
||||
+7sELXySq1CB66e2fVTpRUO/vET0SjcRc6jLigIhAMPTkWiALWIOvyVHA3dMQctr
|
||||
72yTgPuMgEHTe7keZ32E
|
||||
-----END CERTIFICATE REQUEST-----
|
||||
|
@ -1,5 +1,5 @@
|
||||
-----BEGIN EC PRIVATE KEY-----
|
||||
MHcCAQEEIFw94mvaH1YQyHWQRMNLU62csD8nu9GHJH5mKkiuJpPDoAoGCCqGSM49
|
||||
AwEHoUQDQgAEMExDcDCj1g8MeQrY+CcyvoozGUcp7pi9M09q5GKYJ++WOEuEHDqn
|
||||
u4vEr/PQdgGhmeA5JmWEsztz1f0XgNuKMQ==
|
||||
MHcCAQEEIAVdo8UAScxG7jiuNY2UZESNX/KPH8qJ0u0gOMMsAzYWoAoGCCqGSM49
|
||||
AwEHoUQDQgAEqN6BIhvgbk7ecmUcn8Da9Avkj/uDNERtqWJG9r/or26X4u9jR5Jl
|
||||
4hf5Gx17YJkq5/z3k6ogPDPpoAYWIw1/sw==
|
||||
-----END EC PRIVATE KEY-----
|
||||
|
Loading…
Reference in New Issue
Block a user