Skip to content

Commit

Permalink
fix(https): add newly generated ssl self-signed certs that will expir…
Browse files Browse the repository at this point in the history
…e for 10 years - fixes #750
  • Loading branch information
shakyShane committed Jul 31, 2015
1 parent d923bd9 commit 45104a7
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 62 deletions.
6 changes: 6 additions & 0 deletions lib/server/certs/gen.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
openssl genrsa -des3 -out server.key 1024
openssl req -new -key server.key -out server.csr
openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt
cp server.key server.key.copy
openssl rsa -in server.key.copy -out server.key
rm server.key.copy
27 changes: 11 additions & 16 deletions lib/server/certs/server.crt
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
-----BEGIN CERTIFICATE-----
MIIC7zCCAligAwIBAgIJAOku4vmM434TMA0GCSqGSIb3DQEBBQUAMFkxCzAJBgNV
BAYTAkdCMRMwEQYDVQQIEwpTb21lLVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBX
aWRnaXRzIFB0eSBMdGQxEjAQBgNVBAMTCWxvY2FsaG9zdDAeFw0xNDA3MDgyMDE3
NDZaFw0xNTA3MDgyMDE3NDZaMFkxCzAJBgNVBAYTAkdCMRMwEQYDVQQIEwpTb21l
LVN0YXRlMSEwHwYDVQQKExhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQxEjAQBgNV
BAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAuCoY7Qeo
NtkrLHcXtqIUzfyJIiVthoxtjq58pIFv6es8XWS+gTEUy496TLcuLuAzdRykrPVX
F/UyLPHOfX4AR4LQyopw08vyKoLFLYXq70qH1wcJHe/6a+qjTfVMR6uGNfFGa7Id
ZRVtJUD/mBmR6FQ04YJHiTt2vb30DMWtyW8CAwEAAaOBvjCBuzAdBgNVHQ4EFgQU
5rLnWXk1j1xVQi3iIs+Z7xfuQPcwgYsGA1UdIwSBgzCBgIA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55ldWiI2MDirTsJl5oFUHbgVQ==
-----END CERTIFICATE-----
11 changes: 11 additions & 0 deletions lib/server/certs/server.csr
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-----BEGIN CERTIFICATE REQUEST-----
MIIBhDCB7gIBADBFMQswCQYDVQQGEwJBVTETMBEGA1UECBMKU29tZS1TdGF0ZTEh
MB8GA1UEChMYSW50ZXJuZXQgV2lkZ2l0cyBQdHkgTHRkMIGfMA0GCSqGSIb3DQEB
AQUAA4GNADCBiQKBgQC4AHRhbX6CvpQUDHQY8ToGuX6Ygpx+qWMXunSn7LXuYQ7p
d42gNSLhpkrf2D8B0hY9cXv1ovkCh6fFEzrm0yqBEev+HaHkr386ruVZPF8cVOEs
YYRC78iiQx0XcWy6TrQlfKgRZvm9CJkKImuDy4eKZuDZLA6heuUziVcfcY7oiQID
AQABoAAwDQYJKoZIhvcNAQEFBQADgYEAo0c725QqwV1uPdwaB4U5FhVYn+2vULwD
yimfV6iHHl5cotRqTfis01PWbjwVmwuqR9tEuja5g4u6uLaDWTEqnyOF/3n1UkEy
CSADEVWeZRzl/q3yvaAoxuQ8kJ3zKZjV7q62n+19WOYKU1A5YHqy2xIrfEwcQ7v+
xQ6uD5FPKls=
-----END CERTIFICATE REQUEST-----
26 changes: 13 additions & 13 deletions lib/server/certs/server.key
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
-----BEGIN RSA PRIVATE KEY-----
MIICXAIBAAKBgQC4KhjtB6g22Sssdxe2ohTN/IkiJW2GjG2OrnykgW/p6zxdZL6B
MRTLj3pMty4u4DN1HKSs9VcX9TIs8c59fgBHgtDKinDTy/IqgsUthervSofXBwkd
7/pr6qNN9UxHq4Y18UZrsh1lFW0lQP+YGZHoVDThgkeJO3a9vfQMxa3JbwIDAQAB
AoGAOaeMOCBujAU+2+PIu7dQNhB6SgNXn4i0/7cmdEXFaIDpW/+fGEjqTrPzQLMU
NT6hPWejMjZ4dpqfg6yLzYO1yCTigBZv1n2BzJ2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zdq/qhuwJAH11CtmUzSpClP/0OxlQMRgKrRnlJ
oMzU9aFAaMYKOSpHbWi8oAkNTcz/uz//SWBkBLpnuV7gjhABh740H58sJQJAR+fz
xzWry99rXs5GXq6uszYa/f8B3Dq2mANpG20DxxrfKbYdSGQUD/iaKLpeWKR7E2aA
OLH4mN8LAubDxPE6BwJAJg7+vITwuwgyPojUBhqQ0VcuJlKKCmMajXAsWKLOrkCn
pIl2CyzYYQy/UFiZw0qpYV3rY5Y4lBA8iO87MzfYxw==
-----END RSA PRIVATE KEY-----
18 changes: 0 additions & 18 deletions test/certs/server.crt

This file was deleted.

15 changes: 0 additions & 15 deletions test/certs/server.key

This file was deleted.

0 comments on commit 45104a7

Please sign in to comment.