Update self-signed SSL cert used by test suite (#28)

This commit is contained in:
intractable 2017-08-06 03:06:53 -05:00 committed by GitHub
parent 918e3a8d5a
commit 087ce6f49c
3 changed files with 48 additions and 45 deletions

3
tests/ssl/generate-cert.sh Executable file
View file

@ -0,0 +1,3 @@
#!/usr/bin/env bash
openssl req -newkey rsa:2048 -nodes -x509 -days 36500 -keyout localhost.key -out localhost.crt
openssl x509 -in localhost.crt -text -noout

View file

@ -1,23 +1,23 @@
-----BEGIN CERTIFICATE----- -----BEGIN CERTIFICATE-----
MIID2jCCAsKgAwIBAgIJAJ72m1gMaVpLMA0GCSqGSIb3DQEBCwUAMFExCzAJBgNV MIID3DCCAsSgAwIBAgIJAN20aoC8p2pHMA0GCSqGSIb3DQEBBQUAMFExCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJDQTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQ BAYTAlVTMQswCQYDVQQIEwJDQTEhMB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQ
dHkgTHRkMRIwEAYDVQQDEwlsb2NhbGhvc3QwHhcNMTYwODA0MDAwOTU5WhcNMTcw dHkgTHRkMRIwEAYDVQQDEwlsb2NhbGhvc3QwIBcNMTcwODA2MDcxNDMwWhgPMjEx
ODA0MDAwOTU5WjBRMQswCQYDVQQGEwJVUzELMAkGA1UECBMCQ0ExITAfBgNVBAoT NzA3MTMwNzE0MzBaMFExCzAJBgNVBAYTAlVTMQswCQYDVQQIEwJDQTEhMB8GA1UE
GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDESMBAGA1UEAxMJbG9jYWxob3N0MIIB ChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMRIwEAYDVQQDEwlsb2NhbGhvc3Qw
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4G6kgozW9U5HZ2SuRBSwwtmm ggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDLqLnEWZ93Gk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ptYDGlaSzAMBgNVHRMEBTADAQH/MA0GCSqG EjAQBgNVBAMTCWxvY2FsaG9zdIIJAN20aoC8p2pHMAwGA1UdEwQFMAMBAf8wDQYJ
SIb3DQEBCwUAA4IBAQC112EBNF8k9V1arvWV0qQqznD7PGbCHK004+VopX063dO6 KoZIhvcNAQEFBQADggEBAFQmEVNs5n6pAlPh6j3/JVMfgiWgORsC/RSBnBL+3jbH
731FsMBUXqFY/82A83INUsdhchTQJe5+o6MdgvpvExjb0XDbn68/lMyYW9cWfE3/ 8MgjQrj3cEIRzwSAAjZgnK9/SrbA5U2UoM4siT6g3MVX11ISpACKRUNTjEZcKzOO
LRur9xSSUFNnBlG+oGg3UHdlW4cgkTsqIMryf3GE4Dka/21slySpozkBSPTfLFd+ N3yWt2jn+qqcimSmuUb3jXBaWFhlfKc4Fw5mKLz+jLyUyTOCxiykqpo7qX5Sa6Io
44bZ+Ixn5QVn6Z79Q1dtev70RYFOAufCbKFLPaCXCNjy3CT/P5Qmd6QjUT4TYiHM 4tNLnSa5FZgUk47tiiLFjsAaEKqR46s7Hu325RzfnPgqoqpP1HahXuGdwhAgKWT8
6Fko18jA+Mz6Gz53PypieyClRM6mxnKlKm3idPMJ/6TbjrH3nDAJQpNk7tDycAQG kBgDyRsmspLM8tS/pO6KExjiS5VViR+/ifhULyNCeXYGBUKPmTkxBtAEgzV/Ku+h
z44Eb5mrUF/bi+VhFQxjWVGBqgdr9E65//Y2p+aJ aVuU8PmLE5KA6oSENVeiG2SmMLnKDnOMTDjmgvegNjk=
-----END CERTIFICATE----- -----END CERTIFICATE-----

View file

@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY----- -----BEGIN RSA PRIVATE KEY-----
MIIEowIBAAKCAQEA4G6kgozW9U5HZ2SuRBSwwtmmVHj7CKRF/u3z3DdgcBCpMbhz MIIEowIBAAKCAQEAy6i5xFmfdxpOJdxckICe8+pu1S1n11S0SlpBhbzdNZ9fpUBj
birN1XSJhISUpMDG1d6UIsU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