summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStuart Larsen <stuart.larsen@10gen.com>2014-07-25 18:31:38 -0400
committerBenety Goh <benety@mongodb.com>2014-07-26 13:22:04 -0400
commit03048e3ab4989342876e265eb3bde5d18aacb2a5 (patch)
tree5b036d84e78a5f66ac79f3e5de344341f488f043
parent170f1937cbdffff7465a3956acbed3a313d6b296 (diff)
downloadmongo-03048e3ab4989342876e265eb3bde5d18aacb2a5.tar.gz
SERVER-14516 Brand new testing certificates
New testing certificates generated for MongoDB using x509gen. Test were also updated slightly to accommodate for new subject alternative names and such. All instances of "sslAllowInvalidCertificates" were removed from src/mongo/shell. Closes #724 Signed-off-by: Benety Goh <benety@mongodb.com>
-rw-r--r--jstests/libs/ca.pem63
-rw-r--r--jstests/libs/client.pem147
-rw-r--r--jstests/libs/client_revoked.pem80
-rw-r--r--jstests/libs/cluster-cert.pem101
-rw-r--r--jstests/libs/cluster_cert.pem48
-rw-r--r--jstests/libs/crl.pem44
-rw-r--r--jstests/libs/crl_client_revoked.pem49
-rw-r--r--jstests/libs/crl_expired.pem44
-rw-r--r--jstests/libs/expired.pem48
-rw-r--r--jstests/libs/localhostnameCN.pem147
-rw-r--r--jstests/libs/localhostnameSAN.pem147
-rw-r--r--jstests/libs/not_yet_valid.pem48
-rw-r--r--jstests/libs/password_protected.pem100
-rw-r--r--jstests/libs/server.pem80
-rw-r--r--jstests/libs/smoke.pem96
-rw-r--r--jstests/ssl/disable_x509.js2
-rw-r--r--jstests/ssl/initial_sync1_x509.js10
-rw-r--r--jstests/ssl/sharding_with_x509.js2
-rw-r--r--jstests/ssl/ssl_hostname_validation.js9
-rw-r--r--jstests/ssl/x509_client.js4
-rw-r--r--src/mongo/shell/mongodtest.js1
-rwxr-xr-xsrc/mongo/shell/servers.js12
-rw-r--r--src/mongo/shell/servers_misc.js2
23 files changed, 661 insertions, 623 deletions
diff --git a/jstests/libs/ca.pem b/jstests/libs/ca.pem
index f739ef0627b..d1a5689cf0f 100644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+voHI6Cb+4z3PNAKRnf2rExBYRyCz1KF16ksuwJyQSLzFleXRyRWFUEwLuVRL0+EZ
+JXhMbtrILrc23dJGEsB8kOCFehSH/IuL5eB0QfKpDFA+e6pimsbVeggx/rZhcERB
+WkcV3jN4O82gSL3EnIgvAT1/nwhmbmjvDhFJhZcCgYBaW4E3IbaZaz9S/O0m69Fa
+GbQWvS3CRV1oxqgK9cTUcE9Qnd9UC949O3GwHw0FMERjz3N7B/8FGW/dEuQ9Hniu
+NLmvqWbGlnqWywNcMihutJKbDCdp/Km5olUPkiNbB3sWsOkViXoiU/V0pK6BZvir
+d67EZpGwydpogyH9kVVCEQKBgGHXc3Q7SmCBRbOyQrQQk0m6i+V8328W1S5m2bPg
+M62aWXMOMn976ZRT1pBDSwz1Y5yJ3NDf7gTZLjEwpgCNrFCJRcc4HLL0NDL8V5js
+VjvpUU5GyYdsJdb+M4ZUPHi/QEaqzqPQumwJSLlJEdfWirZWVj9dDA8XcpGwQjjy
+psHRAoGBAJUTgeJYhjK7k5sgfh+PRqiRJP0msIH8FK7SenBGRUkelWrW6td2Riey
+EcOCMFkRWBeDgnZN5xDyWLBgrzpw9iHQQIUyyBaFknQcRUYKHkCx+k+fr0KHHCUb
+X2Kvf0rbeMucb4y/h7950HkBBq83AYKMAoI8Ql3cx7pKmyOLXRov
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/client.pem b/jstests/libs/client.pem
index 85ace4fd40b..50a64e41728 100644
--- a/jstests/libs/client.pem
+++ b/jstests/libs/client.pem
@@ -1,101 +1,48 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number: 7 (0x7)
- Signature Algorithm: sha1WithRSAEncryption
- Issuer: C=US, ST=New York, L=New York City, O=10Gen, OU=Kernel, CN=My Cert Authority/emailAddress=root@lazarus
- Validity
- Not Before: Aug 23 14:55:32 2013 GMT
- Not After : Jan 7 14:55:32 2041 GMT
- Subject: C=US, ST=New York, L=New York City, O=10Gen, OU=kerneluser, CN=client
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- Public-Key: (2048 bit)
- Modulus:
- 00:ba:16:42:d4:8b:3d:5e:8a:67:9e:a7:c0:cd:4a:
- 9c:9c:fd:95:b9:83:bf:f4:cf:03:8c:2e:db:a9:c1:
- 35:58:80:f6:e2:e9:87:28:84:e3:d0:9b:68:60:51:
- 0e:42:84:d8:6f:e8:34:cc:18:97:79:d3:8d:d8:2f:
- 23:11:25:6f:69:7a:38:bb:8c:b2:29:e9:91:be:79:
- 8c:cc:1b:56:98:98:d3:83:2a:c5:f9:9c:86:0c:2c:
- 24:0e:5c:46:3b:a9:95:44:6c:c5:e0:7c:9d:03:ae:
- 0d:23:99:49:a4:48:dd:0e:35:a2:e5:b4:8b:86:bd:
- c0:c8:ce:d5:ac:c4:36:f3:9e:5f:17:00:23:8d:53:
- a1:43:1b:a3:61:96:36:80:4d:35:50:b5:8b:69:31:
- 39:b4:63:8b:96:59:5c:d1:ea:92:eb:eb:fa:1b:35:
- 64:44:b3:f6:f3:a6:9d:49:3a:59:e5:e1:c2:cb:98:
- be:29:b3:22:dd:33:97:d7:50:4f:db:c2:58:64:18:
- b5:8c:3c:6b:2d:21:f6:bd:8d:e5:d2:da:8d:79:fe:
- a7:80:75:a8:15:b9:ee:79:7f:01:31:1d:e5:e7:15:
- 76:53:65:f6:fe:f0:93:7d:20:3d:cc:ff:9b:ca:b2:
- 50:2c:1b:3a:69:d5:e6:70:cf:ac:be:7e:5c:33:c4:
- 6e:a7
- Exponent: 65537 (0x10001)
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- Netscape Comment:
- OpenSSL Generated Certificate
- X509v3 Subject Key Identifier:
- 4A:8B:EE:22:42:E6:F8:62:4C:86:38:8D:C5:78:95:98:C1:10:05:7C
- X509v3 Authority Key Identifier:
- keyid:07:41:19:3A:9F:7E:C5:B7:22:4E:B7:BC:D5:DF:E4:FC:09:B8:64:16
-
- Signature Algorithm: sha1WithRSAEncryption
- 13:13:a8:f0:de:78:c6:b1:e0:85:cc:27:e6:04:28:44:93:1d:
- f1:ff:5e:81:69:33:1f:f3:76:e0:49:ca:d9:ad:aa:db:f5:a5:
- f8:a6:50:bb:a1:a7:40:14:e4:2f:8d:b8:21:7f:35:04:60:db:
- af:f0:9e:dd:a1:ca:0b:7f:03:2e:2f:19:1e:32:6e:1e:2d:87:
- 68:e3:37:47:a8:5b:93:d1:88:41:73:da:88:21:59:27:d4:35:
- 1c:6a:27:b5:c0:c6:17:ba:f3:87:c8:e1:f4:8f:43:12:bc:fa:
- 8d:90:d5:86:83:df:51:a5:c9:e0:92:f0:66:d0:37:61:6f:85:
- 24:18
------BEGIN CERTIFICATE-----
-MIIDdjCCAt+gAwIBAgIBBzANBgkqhkiG9w0BAQUFADCBkjELMAkGA1UEBhMCVVMx
-ETAPBgNVBAgMCE5ldyBZb3JrMRYwFAYDVQQHDA1OZXcgWW9yayBDaXR5MQ4wDAYD
-VQQKDAUxMEdlbjEPMA0GA1UECwwGS2VybmVsMRowGAYDVQQDDBFNeSBDZXJ0IEF1
-dGhvcml0eTEbMBkGCSqGSIb3DQEJARYMcm9vdEBsYXphcnVzMB4XDTEzMDgyMzE0
-NTUzMloXDTQxMDEwNzE0NTUzMlowbjELMAkGA1UEBhMCVVMxETAPBgNVBAgMCE5l
-dyBZb3JrMRYwFAYDVQQHDA1OZXcgWW9yayBDaXR5MQ4wDAYDVQQKDAUxMEdlbjET
-MBEGA1UECwwKa2VybmVsdXNlcjEPMA0GA1UEAwwGY2xpZW50MIIBIjANBgkqhkiG
-9w0BAQEFAAOCAQ8AMIIBCgKCAQEAuhZC1Is9XopnnqfAzUqcnP2VuYO/9M8DjC7b
-qcE1WID24umHKITj0JtoYFEOQoTYb+g0zBiXedON2C8jESVvaXo4u4yyKemRvnmM
-zBtWmJjTgyrF+ZyGDCwkDlxGO6mVRGzF4HydA64NI5lJpEjdDjWi5bSLhr3AyM7V
-rMQ2855fFwAjjVOhQxujYZY2gE01ULW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HRtbIa6HPGA5jskbccPqQn8WGnJWCaYvCQryvgaA+BBgo1UTLfQJUo/7N5517vv
+KvbUa6NF0nj3VwfDV1vvy+amoWi9NOVn6qOh0K84PF4gwagb1EVy9MsCgYEAuTAt
+KCWdZ/aNcKgJc4NCUqBpLPF7EQypX14teixrbF/IRNS1YC9S20hpkG25HMBXjpBe
+tVg/MJe8R8CKzYjCt3z5Ff1bUQ2bzivbAtgjcaO0Groo8WWjnamQlrIQcvWM7vBf
+dnIflQ0slxbHfCi3XEe8tj2T69R7wJZ8L7PxR9cCgYEACgwNtt6Qo6s37obzt3DB
+3hL57YC/Ph5oMNKFLKOpWm5z2zeyhYOGahc5cxNppBMpNUxwTb6AuwsyMjxhty+E
+nqi2PU4IDXVWDWd3cLIdfB2r/OA99Ez4ZI0QmaLw0L8QoJZUVL7QurdqR9JsyHs6
+puUqIrb195s/yiPR7sjeJe0CgYEAuJviKEd3JxCN52RcJ58OGrh2oKsJ9/EbV0rX
+Ixfs7th9GMDDHuOOQbNqKOR4yMSlhCU/hKA4PgTFWPIEbOiM08XtuZIb2i0qyNjH
+N4qnqr166bny3tJnzOAgl1ljNHa8y+UsBTO3cCr17Jh0vL0KLSAGa9XvBAWKaG6b
+1iIXwXkCgYAVz+DA1yy0qfXdS1pgPiCJGlGZXpbBcFnqvbpGSclKWyUG4obYCbrb
+p5VKVfoK7uU0ly60w9+PNIRsX/VN/6SVcoOzKx40qQBMuYfJ72DQrsPjPYvNg/Nb
+4SK94Qhp9TlAyXbqKJ02DjtuDim44sGZ8g7b+k3FfoK4OtzNsqdVdQ==
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/client_revoked.pem b/jstests/libs/client_revoked.pem
index 276e62644b6..03db67deb50 100644
--- a/jstests/libs/client_revoked.pem
+++ b/jstests/libs/client_revoked.pem
@@ -1,34 +1,48 @@
------BEGIN CERTIFICATE-----
-MIIC7jCCAlegAwIBAgIBDDANBgkqhkiG9w0BAQUFADCBkjELMAk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ht
+w+xsgM5wIblGJZwmOlzmsGh6KGYnkO6Ap/uSKELJnIVJcrk63wKtNigccjPGufwR
++EbA+ZxeCwmQ/B/q1XmLP+K+JAUQ4BfUpdexSqA+XwzsOnJj6NY7mr65t+RDbs7G
+1Uvo6oc37Ai5pAZJfCN3uQKBgQAJr5qvaJkM8UBYXwjdPLjpTCnzjBHoLlifkdmM
+18U23QbmcwdESg/LAQF6MoGVTf//rJ/v2/ltTHBZZ2aDex7uKZxoImjHsWpXokhW
+cmz+zqmlFarWOzrGQl1hD2s0P1sQrVg3KXe8z1KrD/Fw0/Yitga7GlWWZrGmG6li
+lvu4YQKBgQANODQYEaz739IoPNnMfTpTqAoQIOR4PNdMfCXSQrCB8i0Hh4z48E4F
+DEAd1xIYyxI8pu7r52dQlBk7yrILOTG0gmgLJd5xKdtCTrasYAICI3hsRLtP8dVA
+8WeykXY4Wf1bYQ+VzKVImkwL/SBm2ik5woyxCzT8JSjyoAwRrQp9Vw==
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/cluster-cert.pem b/jstests/libs/cluster-cert.pem
deleted file mode 100644
index 74dc9845e3d..00000000000
--- a/jstests/libs/cluster-cert.pem
+++ /dev/null
@@ -1,101 +0,0 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number: 5 (0x5)
- Signature Algorithm: sha1WithRSAEncryption
- Issuer: C=US, ST=New York, L=New York City, O=10Gen, OU=Kernel, CN=My Cert Authority/emailAddress=root@lazarus
- Validity
- Not Before: Aug 7 17:19:17 2013 GMT
- Not After : Dec 22 17:19:17 2040 GMT
- Subject: C=US, ST=New York, L=New York City, O=10Gen, OU=Kernel, CN=clustertest
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- Public-Key: (2048 bit)
- Modulus:
- 00:98:ec:01:6e:f4:ae:8e:16:c8:87:a2:44:86:a0:
- 45:5c:ca:82:56:ba:0d:a9:60:bf:07:40:da:db:70:
- 33:a6:c2:ec:9d:e1:f0:da:fe:b9:f9:ac:23:33:64:
- e6:63:71:cc:a2:0d:eb:86:bc:31:32:aa:30:e6:1d:
- 5d:6d:fd:45:f4:2f:dc:72:93:bc:92:27:f7:6a:5a:
- 18:04:f7:64:d0:6a:3c:a9:14:f6:9e:9d:58:26:f4:
- 16:93:7e:3d:2e:3c:9e:54:41:4d:1a:e1:bd:b4:cf:
- d0:05:4c:4d:15:fb:5c:70:1e:0c:32:6d:d7:67:5b:
- ec:b2:61:83:e3:f0:b1:78:aa:30:45:86:f9:6d:f5:
- 48:1f:f1:90:06:25:db:71:ed:af:d7:0d:65:65:70:
- 89:d4:c8:c8:23:a0:67:22:de:d9:6e:1d:44:38:cf:
- 0f:eb:2c:fe:79:01:d7:98:15:5f:22:42:3f:ee:c9:
- 16:eb:b9:25:08:9a:2a:11:74:47:e0:51:75:8c:ae:
- eb:8d:b5:30:fe:48:98:0a:9e:ba:6e:a4:60:08:81:
- c6:05:a0:97:38:70:c0:1f:b4:27:96:8e:c3:d2:c1:
- 14:5f:34:16:91:7d:ad:4c:e9:23:07:f0:42:86:78:
- 11:a1:1e:9d:f3:d0:41:09:06:7d:5c:89:ef:d2:0d:
- 6c:d5
- Exponent: 65537 (0x10001)
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- Netscape Comment:
- OpenSSL Generated Certificate
- X509v3 Subject Key Identifier:
- C9:00:3A:28:CC:6A:75:57:82:81:00:A6:25:48:6C:CE:0A:A0:4A:59
- X509v3 Authority Key Identifier:
- keyid:07:41:19:3A:9F:7E:C5:B7:22:4E:B7:BC:D5:DF:E4:FC:09:B8:64:16
-
- Signature Algorithm: sha1WithRSAEncryption
- d1:55:e3:5c:43:8c:4f:d3:29:8d:74:4a:1d:23:50:17:27:b3:
- 30:6f:c6:d7:4c:6c:96:7e:52:a0:2f:91:92:b3:f5:4c:a1:ca:
- 88:62:31:e4:d6:64:ac:40:17:47:00:24:e8:0d:3b:7b:c7:d4:
- 7f:3a:76:45:27:fd:9b:ae:9d:44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kgmmL+0ZJ1BrF7llG2pGYdacawXj1eVRqOHQaFIlcKe05
-RITpuXVYOWBpBpfbQsBZaCGLe7WxHJedrFxdbqm0ZQKBgQDLUQrmIl2wz43t3sI+
-WjW6y1GwMPG9EjXUT1Boq6PNHKgw04/32QNn5IMmz4cp2Mgyz7Hc0ABDU/ZATujd
-yCkxVErPbKRDKSxSl6nLXtLpLbHFmVPfKPbNKIuyFMBsOFOtoFoVbo33wI5dI7aO
-i7sTGB3ngbq4pzCJ9dVt/t81QwKBgQDAjAtBXS8WB69l9w35tx+MgYG0LJ+ykAug
-d91pwiWqSt02fZ0nr/S/76G6B4C8eqeOnYh1RzF5isLD246rLD2Y+uuFrgasvSiS
-4qSKbpG2kk02R/DRTAglAyXI0rhYIDrYKCQPWqNMWpawT/FQQwbFjTuhmz10FyXS
-hmVztZWoBwKBgQCBdnptLibghllGxViEoaai6gJ7Ib9ceHMEXPjDnb+wxPWoGZ8L
-4AjWJ+EHXpAfqmVYTX5hL6VrOdSNAHIxftoUCiuUxwYVqesKMH6y/A9q4WjYfRi1
-+fyliJLjc2lPv9IwtfGGwh3uS5ObZTlCrWES+IFaP/YozHUQ9BPSdb+lxwKBgB35
-Lv9b3CqXw6why2EmKpkax/AeSjXnyoeOYT9HY8mgodMLtt0ovPbr/McSx+2PQmon
-B8kJ7h+3hB4tHYZz+prH5MYIky1svNYwxeBu2ewL1k0u4cQTC+mHFeivNNczHTXs
-+cASIf2O1IpZx3zxEirKk4/StLxPpimhlkVu7P8dAoGBAJVw2U70+PagVBPtvheu
-ZDEvxSEzrn90ivIh7Y6ZIwdSOSLW04sOVL2JAzO155u4g77jdmcxV3urr1vD9LbF
-qkBGLXx7FFC/Mn/H42qerxr16Bt6RtvVpms71UIQLYxA7caab9cqoyt0wkgqJFKX
-fj0TVODnIf+zPMDCu+frpLbA
------END PRIVATE KEY-----
diff --git a/jstests/libs/cluster_cert.pem b/jstests/libs/cluster_cert.pem
new file mode 100644
index 00000000000..a8623ab67ef
--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ek
+8ohJfLyyLLWzVHJIS7WxFqqsGmDhYUTErFbJZjI8tNSglrc81jUWT7UCgYEAn+dw
+ICyc09f6+xm3nFZIOq2Gtpw8lrOJlwZugn1AqY2D5Ko2gq1Fx2oZWpVaBivjH3gU
+ONlnPuealE0RJHvCm/+axy7Rcj65IwTrN5V+j6rg1tuEdi70PvNKmN6XQqRvEjOX
+HOh3gQYP6EFAoVINZZqUkwJzqpv4tnOSpEHXncUCgYB3+Z8Vq3IZjtDXvslzCGtm
+hhAp81mLtdocpfQhYqP9Ou39KafIV/+49sGTnpwlUShet53xSUK1KSULBGgtV8Bt
++ela1DM1t3Joqn3mYfhTwoCoFl5/5cjVfRa8+6DxXEj5nlU7PY79PwIhFbG9ux9K
+ZJuD17+J/Oqq0gerLJAwjQKBgAS4AbkRV/dwcjmiwqZcbXk90bHl3mvcFH1edTho
+ldXrFS9UTpOApYSC/wiLS8LO3L76/i3HTKKwlwE1XQIknNOZsWmbWhby/uenp4FW
+agu3UTdF9xy9uft5loP4XaJb0+NHnnf97DjkgueptUyNbVPIQgYsllk8jRRlSLiM
+MN65AoGAUPLlh8ok/iNirO5YKqc5/3FKA1o1V1KSTHYVUK+Y+vuVJxQZeO3LMybe
+7AJ1cLHEWc8V4B27e6g33rfGGAW+/+RJ7/uHxuYCuKhstbq/x+rf9i4nl93emlMV
+PC3yuZsCmpk9Uypzi2+PT10yVgXkXRYtLpuUpoABWRzVXGnEsXo=
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/crl.pem b/jstests/libs/crl.pem
index dce0a0fb3f1..ec0db9c333e 100644
--- a/jstests/libs/crl.pem
+++ b/jstests/libs/crl.pem
@@ -1,10 +1,38 @@
+Certificate Revocation List (CRL):
+ Version 2 (0x1)
+ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: /CN=Kernel Test CA/OU=Kernel/O=MongoDB/L=New York City/ST=New York/C=US
+ Last Update: Jul 21 19:45:56 2014 GMT
+ Next Update: Aug 20 19:45:56 2014 GMT
+ CRL extensions:
+ X509v3 CRL Number:
+ 4096
+No Revoked Certificates.
+ Signature Algorithm: sha256WithRSAEncryption
+ 09:59:68:46:4b:34:1a:51:bb:78:27:c0:6c:36:df:bb:7d:6e:
+ 5c:a5:72:d9:8b:c3:da:94:e6:04:1e:21:78:e7:a1:ab:9a:47:
+ 45:00:b7:4c:25:58:bf:98:aa:f3:fb:76:2a:0f:5b:1a:a3:c2:
+ 17:8c:c9:b0:cf:32:b4:fc:fc:31:ed:94:0e:55:f9:d1:05:d1:
+ 41:04:f7:c3:62:23:eb:bf:71:6a:8e:42:ee:d0:ca:93:bf:d0:
+ 82:00:2b:2e:55:7c:c1:7f:84:2f:4f:cf:33:74:68:52:2a:70:
+ d0:51:d2:a2:63:43:71:6c:89:86:57:e6:cf:e3:c9:97:27:6a:
+ a0:02:4e:76:c3:80:5f:de:a7:92:c0:81:16:57:c2:62:2a:62:
+ 19:ce:0e:77:22:8d:64:0d:e2:83:97:c2:ab:41:65:c0:31:5a:
+ 51:6b:98:f9:9c:06:bb:70:4b:ae:17:1a:c7:c1:7d:a5:5c:ff:
+ 7a:98:54:b6:99:c8:b5:86:9f:d9:11:9e:c5:2b:0e:26:9d:9b:
+ df:53:d2:35:70:ff:c2:a0:7e:08:da:90:5d:38:51:f1:0a:0a:
+ 70:91:ad:fc:82:54:f6:e8:12:7b:76:d7:a2:f5:cd:39:79:d3:
+ 4f:6f:4c:e2:71:bb:ea:a5:3a:93:d1:0a:f0:48:25:80:60:4d:
+ c3:9e:ce:82
-----BEGIN X509 CRL-----
-MIIBazCB1QIBATANBgkqhkiG9w0BAQUFADCBkjELMAkGA1UEBhMCVVMxETAPBgNV
-BAgMCE5ldyBZb3JrMRYwFAYDVQQHDA1OZXcgWW9yayBDaXR5MQ4wDAYDVQQKDAUx
-MEdlbjEPMA0GA1UECwwGS2VybmVsMRowGAYDVQQDDBFNeSBDZXJ0IEF1dGhvcml0
-eTEbMBkGCSqGSIb3DQEJARYMcm9vdEBsYXphcnVzFw0xMjEyMTIxODQ3NDFaFw00
-MDA0MjgxODQ3NDFaoA4wDDAKBgNVHRQEAwIBCzANBgkqhkiG9w0BAQUFAAOBgQAu
-PlPDGei2q6kdkoHe8vmDuts7Hm/o9LFbBmn0XUcfHisCJCPsJTyGCsgnfIiBcXJY
-1LMKsQFnYGv28rE2ZPpFg2qNxL+6qUEzCvqaHLX9q1V0F+f8hHDxucNYu52oo/h0
-uNZxB1KPFI2PReG5d3oUYqJ2+EctKkrGtxSPzbN0gg==
+MIIBzjCBtwIBATANBgkqhkiG9w0BAQsFADB0MRcwFQYDVQQDEw5LZXJuZWwgVGVz
+dCBDQTEPMA0GA1UECxMGS2VybmVsMRAwDgYDVQQKEwdNb25nb0RCMRYwFAYDVQQH
+Ew1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkGA1UEBhMCVVMX
+DTE0MDcyMTE5NDU1NloXDTE0MDgyMDE5NDU1NlqgDzANMAsGA1UdFAQEAgIQADAN
+BgkqhkiG9w0BAQsFAAOCAQEACVloRks0GlG7eCfAbDbfu31uXKVy2YvD2pTmBB4h
+eOehq5pHRQC3TCVYv5iq8/t2Kg9bGqPCF4zJsM8ytPz8Me2UDlX50QXRQQT3w2Ij
+679xao5C7tDKk7/QggArLlV8wX+EL0/PM3RoUipw0FHSomNDcWyJhlfmz+PJlydq
+oAJOdsOAX96nksCBFlfCYipiGc4OdyKNZA3ig5fCq0FlwDFaUWuY+ZwGu3BLrhca
+x8F9pVz/ephUtpnItYaf2RGexSsOJp2b31PSNXD/wqB+CNqQXThR8QoKcJGt/IJU
+9ugSe3bXovXNOXnTT29M4nG76qU6k9EK8EglgGBNw57Ogg==
-----END X509 CRL-----
diff --git a/jstests/libs/crl_client_revoked.pem b/jstests/libs/crl_client_revoked.pem
index 85eeaff5543..74c79976616 100644
--- a/jstests/libs/crl_client_revoked.pem
+++ b/jstests/libs/crl_client_revoked.pem
@@ -1,12 +1,41 @@
+Certificate Revocation List (CRL):
+ Version 2 (0x1)
+ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: /CN=Kernel Test CA/OU=Kernel/O=MongoDB/L=New York City/ST=New York/C=US
+ Last Update: Jul 21 19:45:56 2014 GMT
+ Next Update: Aug 20 19:45:56 2014 GMT
+ CRL extensions:
+ X509v3 CRL Number:
+ 4096
+Revoked Certificates:
+ Serial Number: 02
+ Revocation Date: Jul 21 19:45:56 2014 GMT
+ Signature Algorithm: sha256WithRSAEncryption
+ 09:4f:f1:ba:f1:61:4d:33:ba:44:6e:16:7f:b1:a3:37:81:6b:
+ a1:4c:aa:f8:83:27:b5:50:c6:d4:ea:2a:75:a0:ba:a8:38:62:
+ 3b:66:54:6b:ba:d7:15:d8:08:4c:77:0c:1c:db:56:a8:0d:5c:
+ a7:fa:49:46:f6:20:93:1d:79:ad:39:15:8c:b5:d8:c8:9c:c5:
+ 54:94:e9:23:33:3e:8f:aa:ad:a5:7e:74:dc:95:fc:6d:8b:ec:
+ 22:a0:74:a9:41:fc:fa:df:59:18:37:d8:49:d7:37:2b:f1:65:
+ 9a:2f:1b:b9:78:a1:f3:cf:90:df:a2:4e:9a:61:29:b5:0f:ae:
+ 1c:86:a5:27:9b:79:05:c9:32:c5:3f:85:de:27:94:15:87:8a:
+ b3:87:b4:08:c7:c5:99:be:13:3c:67:00:78:5a:25:8b:30:f2:
+ b6:25:69:93:5a:46:70:83:b7:d1:51:df:5a:19:82:c7:49:a8:
+ 23:00:78:40:5a:10:7e:90:bd:d7:13:55:13:d5:00:14:81:bf:
+ 22:34:98:22:da:86:85:bb:75:aa:03:f1:8c:7c:4c:7e:b6:dc:
+ ab:2a:4d:3f:4a:f1:1a:ad:e9:f6:e8:11:9d:94:b7:e4:fd:93:
+ 34:89:a9:c8:c7:8a:2f:01:db:33:80:fd:a8:85:5a:45:c0:91:
+ 5b:be:18:cc
-----BEGIN X509 CRL-----
-MIIBujCCASMCAQEwDQYJKoZIhvcNAQEFBQAwgZIxCzAJBg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sU/hd4nlBWHirOHtAjHxZm+
+EzxnAHhaJYsw8rYlaZNaRnCDt9FR31oZgsdJqCMAeEBaEH6QvdcTVRPVABSBvyI0
+mCLahoW7daoD8Yx8TH623KsqTT9K8Rqt6fboEZ2Ut+T9kzSJqcjHii8B2zOA/aiF
+WkXAkVu+GMw=
-----END X509 CRL-----
diff --git a/jstests/libs/crl_expired.pem b/jstests/libs/crl_expired.pem
index 88307503240..c9b3abb05a7 100644
--- a/jstests/libs/crl_expired.pem
+++ b/jstests/libs/crl_expired.pem
@@ -1,10 +1,38 @@
+Certificate Revocation List (CRL):
+ Version 2 (0x1)
+ Signature Algorithm: sha256WithRSAEncryption
+ Issuer: /CN=Kernel Test CA/OU=Kernel/O=MongoDB/L=New York City/ST=New York/C=US
+ Last Update: Jul 21 19:45:56 2014 GMT
+ Next Update: Jul 21 20:45:56 2014 GMT
+ CRL extensions:
+ X509v3 CRL Number:
+ 4096
+No Revoked Certificates.
+ Signature Algorithm: sha256WithRSAEncryption
+ 14:e8:6d:51:fc:0e:66:08:22:b2:4d:fb:da:7a:5f:4d:d1:a0:
+ 80:f0:18:f3:c5:ca:c7:05:6c:70:59:fa:d5:96:68:fa:c7:1d:
+ 7e:fb:53:3b:4a:8f:ed:bb:51:04:e8:fb:db:d7:b8:96:d9:e2:
+ 8d:bb:54:cc:11:60:c8:20:ea:81:28:5f:e1:eb:d6:8c:94:bf:
+ 42:e0:7f:a3:13:0c:76:05:f2:f0:34:98:a3:e8:64:74:4c:cb:
+ bf:39:bb:fa:d5:2d:72:02:d1:fa:56:15:59:12:b7:ff:a3:cc:
+ c9:d6:14:ca:4a:1e:0b:b4:47:cf:58:b0:e5:24:d2:21:71:0d:
+ 2d:09:77:5c:2f:ef:40:f8:74:90:03:cc:37:2e:ea:6a:25:59:
+ c0:bf:48:90:00:55:9c:db:bf:1f:f0:7b:b6:5a:90:94:b6:8d:
+ 7c:7d:bb:2d:11:5f:0c:f5:4a:9b:c5:ed:ab:e3:fd:35:c8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88XKxwVscFn6
+1ZZo+scdfvtTO0qP7btRBOj729e4ltnijbtUzBFgyCDqgShf4evWjJS/QuB/oxMM
+dgXy8DSYo+hkdEzLvzm7+tUtcgLR+lYVWRK3/6PMydYUykoeC7RHz1iw5STSIXEN
+LQl3XC/vQPh0kAPMNy7qaiVZwL9IkABVnNu/H/B7tlqQlLaNfH27LRFfDPVKm8Xt
+q+P9Nch2Oy5By992tfTpBXL2Vnr8NAfWolXrfFgzW50+sgOJAcbRVHUaXHM/Xi79
+Ozjt1OH67P+E8FXug+DwE5fn8FWMAKMaMeQxnmjQbT6BsA==
-----END X509 CRL-----
diff --git a/jstests/libs/expired.pem b/jstests/libs/expired.pem
new file mode 100644
index 00000000000..e1d2ceb8de8
--- /dev/null
+++ b/jstests/libs/expired.pem
@@ -0,0 +1,48 @@
+-----BEGIN CERTIFICATE-----
+MIIDfzCCAmegAwIBAgIBEDANBgkqhkiG9w0BAQUFADB0MRcwFQYDVQQDEw5LZXJu
+ZWwgVGVzdCBDQTEPMA0GA1UECxMGS2VybmVsMRAwDgYDVQQKEwdNb25nb0RCMRYw
+FAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkGA1UE
+BhMCVVMwHhcNMTQwNzEwMTYwMDAwWhcNMTQwNzE2MTYwMDAwWjBtMRAwDgYDVQQD
+EwdleHBpcmVkMQ8wDQYDVQQLEwZLZXJuZWwxEDAOBgNVBAoTB01vbmdvREIxFjAU
+BgNVBAcTDU5ldyBZb3JrIENpdHkxETAPBgNVBAgTCE5ldyBZb3JrMQswCQYDVQQG
+EwJVUzCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAPFSQZlHvJpi3dmA
+1X5U1qaUN/O/EQy5IZ5Rw+cfFHWOZ84EsLZxehWyqDZRH49Rg06xSYdO2WZOopP8
+OnUVCLGL819K83ikZ5sCbvB/gKCSCenwveEN992gJfs70HaZfiJNC7/cFigSb5Jg
+5G77E1/Uml4hIThf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7v8AeLy2bw73Qtk0ORaHqRBHSQw87srOLwtfQzE92zSGMj+
+FVt/BdPgzyaddegKvJ9AFCPAxbA8Glnmc89FO7pcXn9Wcy+ZoZIF6YwgUPhPCp/4
+r9bKuXuQiutFbKyes/5PTXqbJ/7xKRZIpQCvxg2syrW3hxx8LIx/kQ==
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/localhostnameCN.pem b/jstests/libs/localhostnameCN.pem
index e181139b5d9..e6aca6a217d 100644
--- a/jstests/libs/localhostnameCN.pem
+++ b/jstests/libs/localhostnameCN.pem
@@ -1,101 +1,48 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number: 8 (0x8)
- Signature Algorithm: sha1WithRSAEncryption
- Issuer: C=US, ST=New York, L=New York City, O=10Gen, OU=Kernel, CN=My Cert Authority/emailAddress=root@lazarus
- Validity
- Not Before: Nov 6 14:31:58 2013 GMT
- Not After : Mar 23 14:31:58 2041 GMT
- Subject: C=US, ST=New York, L=New York City, O=10Gen, CN=127.0.0.1
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- Public-Key: (2048 bit)
- Modulus:
- 00:aa:e1:a0:6c:09:dc:fd:d0:9f:0f:b6:77:40:60:
- f9:01:f9:9e:55:20:fe:88:04:93:c9:ab:96:93:3a:
- ed:7e:7d:ad:e4:eb:a7:e9:07:35:ef:6e:14:64:dd:
- 31:9b:e5:24:06:18:bb:60:67:e3:c5:49:8e:79:b6:
- 78:07:c1:64:3f:de:c1:7d:1b:a9:96:35:d5:f9:b8:
- b4:5e:2a:34:b7:d0:19:ad:f6:8a:00:ef:8e:b0:d5:
- 36:1f:66:a0:7a:7d:cf:f0:98:3c:ee:0f:be:67:d2:
- de:c3:e6:b8:79:2f:64:40:0c:39:15:97:8c:13:da:
- 1b:db:5c:bb:a3:43:0b:74:c7:46:55:9b:ea:d7:93:
- d5:15:2f:d1:34:ac:a9:99:3b:01:f0:c1:d7:42:89:
- 24:bb:ab:60:99:c1:4d:9f:bf:9a:a3:92:3a:58:05:
- e2:47:a6:8e:71:b2:0a:32:b0:c5:cc:a0:58:40:bf:
- 09:a7:76:f5:37:ce:90:71:e0:75:89:17:ea:fb:80:
- 24:a1:9d:6e:1b:7e:e3:44:52:d3:fe:e3:de:80:9a:
- 8e:c3:4f:8c:bb:b4:8c:d2:a9:a9:aa:af:90:ac:b4:
- ee:6b:d2:c5:71:1e:08:7f:4c:b6:2a:5f:13:7a:e3:
- 29:f7:2e:bb:f7:c5:48:0a:4e:2e:1e:d4:2c:40:b3:
- 4c:19
- Exponent: 65537 (0x10001)
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- Netscape Comment:
- OpenSSL Generated Certificate
- X509v3 Subject Key Identifier:
- 0E:3F:54:C4:77:85:FF:93:58:A7:24:23:32:35:73:B0:BE:8C:C3:BB
- X509v3 Authority Key Identifier:
- keyid:07:41:19:3A:9F:7E:C5:B7:22:4E:B7:BC:D5:DF:E4:FC:09:B8:64:16
-
- Signature Algorithm: sha1WithRSAEncryption
- 4c:9d:31:81:b5:e9:6a:64:4c:1e:eb:91:7f:f1:66:74:46:13:
- 19:cb:f2:3b:9a:41:f2:83:67:32:53:a6:cd:33:37:4c:92:a6:
- 36:d4:f3:0b:56:a2:2b:66:f1:09:a7:06:36:b8:83:b7:31:70:
- fe:bf:af:b5:3d:59:f3:f2:18:48:c7:6c:b0:90:8c:24:47:30:
- 53:8d:c5:3e:7c:7b:33:53:15:ec:bd:8a:83:ed:05:e8:8b:21:
- d7:65:39:69:95:c8:58:7d:4f:1b:32:51:85:2d:4d:8b:be:00:
- 60:17:83:9b:2b:13:43:05:78:db:a4:2e:a2:cb:31:34:7e:b9:
- 8a:72
------BEGIN CERTIFICATE-----
-MIIDZDCCAs2gAwIBAgIBCDANBgkqhkiG9w0BAQUFADCBkjELMAkGA1UEBhMCVVMx
-ETAPBgNVBAgMCE5ldyBZb3JrMRYwFAYDVQQHDA1OZXcgWW9yayBDaXR5MQ4wDAYD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WwB7OPf4d6AgjPbYpb
+aYKY3PNYDC2G9IqYZyI0kSy5AoGBAJ5Fe5PfPom9c+OeL7fnTpO16kyiWZnUkDxU
+PG4OjQfHtbCCEv6PDS8G1sKq+Yjor+A5/+O8qeX0D92I8oB720txQI5rbKUYL3PP
+raY7t9YJLPlRlY8o5KN+4vSCjF+hRG+qnr6FPqDHp8xB1wvl6AQGxIR8/csVcDZR
+0j2ZmhsBAoGAO1Cpk/hWXOLAhSj8P8Q/+3439HEctTZheVBd8q/TtdwXocaZMLi8
+MXURuVTw0GtS9TmdqOFXzloFeaMhJx6TQzZ2aPcxu95b7RjEDtVHus3ed2cSJ2El
+AuRvFT2RCVvTu1mM0Ti7id+d8QBcpbIpPjNjK2Wxir/19gtEawlqlkA=
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/localhostnameSAN.pem b/jstests/libs/localhostnameSAN.pem
index beb0bb91b61..480300f29e1 100644
--- a/jstests/libs/localhostnameSAN.pem
+++ b/jstests/libs/localhostnameSAN.pem
@@ -1,100 +1,49 @@
-Certificate:
- Data:
- Version: 3 (0x2)
- Serial Number: 9 (0x9)
- Signature Algorithm: sha1WithRSAEncryption
- Issuer: C=US, ST=New York, L=New York City, O=10Gen, OU=Kernel, CN=My Cert Authority/emailAddress=root@lazarus
- Validity
- Not Before: Nov 6 14:45:13 2013 GMT
- Not After : Mar 23 14:45:13 2041 GMT
- Subject: C=US, ST=New York, L=New York City, O=10Gen, CN=santesthostname.com
- Subject Public Key Info:
- Public Key Algorithm: rsaEncryption
- Public-Key: (2048 bit)
- Modulus:
- 00:c9:83:7a:75:42:cf:35:a4:95:c7:c8:d8:4d:19:
- 0e:89:87:d5:bd:f9:2f:ee:20:2c:4c:ca:6d:0b:c1:
- 10:5b:06:1b:c4:a1:26:12:25:06:7a:1e:d1:e6:d0:
- 91:2b:a3:c8:74:de:95:10:d9:ff:20:03:ec:84:db:
- 49:d9:a4:e9:c2:93:f0:d2:32:01:a6:55:db:14:bf:
- 16:fe:88:e0:e4:46:0f:6a:bd:27:95:45:2e:8d:13:
- e2:99:09:74:e4:2b:32:c3:6d:61:0c:86:85:eb:12:
- f5:dc:9e:7b:d3:00:a3:ce:f4:8a:4b:51:7f:a2:c6:
- 0b:52:a4:f1:41:d5:01:53:88:99:b9:3b:29:f8:43:
- 5e:a4:c7:41:d9:d3:34:43:f2:c7:a6:8d:22:1c:f9:
- b2:63:cb:df:83:9c:6f:ec:e3:b0:63:af:0b:51:c9:
- 20:ca:c2:59:c1:2c:ec:de:37:18:76:3d:73:85:82:
- 12:11:cd:b6:ef:2f:7b:64:cd:a3:2d:f6:7a:54:7f:
- b3:4f:c9:38:f4:62:b6:da:00:f0:59:df:e1:d3:15:
- ca:4b:73:6c:22:c1:9a:c1:51:c4:28:59:0f:71:2a:
- 39:e9:17:08:9d:b0:88:61:a7:53:67:da:dc:fb:6e:
- 38:f7:a8:cd:cd:88:ed:d9:4c:88:f4:a4:75:5e:3f:
- 8b:ff
- Exponent: 65537 (0x10001)
- X509v3 extensions:
- X509v3 Basic Constraints:
- CA:FALSE
- Netscape Cert Type:
- SSL Server
- Netscape Comment:
- OpenSSL Certificate for SSL Server
- X509v3 Subject Alternative Name:
- DNS:*.example.com, DNS:127.0.0.1, DNS:morefun!, IP Address:154.2.2.3, email:user@host.com
- Signature Algorithm: sha1WithRSAEncryption
- 0b:82:c6:7d:e0:ba:71:24:d6:a8:f4:cb:6f:0f:f6:69:28:32:
- 98:81:e6:14:49:81:07:ff:92:dd:0a:a4:68:3c:92:00:e5:8c:
- 43:d1:29:04:4a:5e:f2:b1:db:d2:ca:5d:7d:fc:fe:7b:f5:01:
- 65:87:25:cd:4c:68:09:16:bd:c7:b0:a4:d2:89:5e:dd:92:44:
- 6c:6e:7a:fe:7e:05:e2:2b:56:96:96:16:44:4a:01:87:8f:0c:
- df:35:88:97:3e:e5:21:23:a2:af:87:ad:ee:f7:9e:05:36:f7:
- 96:88:c8:fa:92:33:c2:60:2e:14:d9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KqJw1HbTTncrSsFqptyEDt23iWSmmaU3/9Us8lcNGqRm7a35V
+Km0XBFLnE0mGFGFoTpNt8oiR4WGASJPi482xkEUCgYEAwPmQn2SDCheDEr2zAdlR
+pN3O2EwCi5DMBK3TdUsKV0KJNCajwHY72Q1HQItQ6XXWp7sGta7YmOIfXFodIUWs
+85URdMXnUWeWCrayNGSp/gHytrNoDOuYcUfN8VnDX5PPfjyBM5X7ox7vUzUakXSJ
+WnVelXZlKR9yOOTs0xAMpjkCgYAbF61N6mXD5IOHwgajObsrM/CyVP/u4WDJ0UT0
+Zm1pJbc9wgCauQSUfiNhLpHmoc5CQJ4jy96b3+YJ+4OnPPMSntPt4FFV557CkWbQ
+M8bWpLZnZjhixP4FM9xRPA2r8WTCaRifAKnC1t+TRvBOe2YE6aK+I/zEzZW9pwG4
+ezQXKQKBgQAIBSJLa6xWbfbzqyPsvmRNgiEjIamF7wcb1sRjgqWM6sCzYwYv8f5v
+9C4YhNXEn+c5V2KevgYeg6iPSQuzEAfJx64QV7JD8kEBf5GNETnuW45Yg7KwKPD6
+ZCealfpy/o9iiNqbWqDNND91pj2/g5oZnac3misJg5tGCJbJsBFXag==
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/not_yet_valid.pem b/jstests/libs/not_yet_valid.pem
new file mode 100644
index 00000000000..7c021c0becd
--- /dev/null
+++ b/jstests/libs/not_yet_valid.pem
@@ -0,0 +1,48 @@
+-----BEGIN CERTIFICATE-----
+MIIDhTCCAm2gAwIBAgIBETANBgkqhkiG9w0BAQUFADB0MRcwFQYDVQQDEw5LZXJu
+ZWwgVGVzdCBDQTEPMA0GA1UECxMGS2VybmVsMRAwDgYDVQQKEwdNb25nb0RCMRYw
+FAYDVQQHEw1OZXcgWW9yayBDaXR5MREwDwYDVQQIEwhOZXcgWW9yazELMAkGA1UE
+BhMCVVMwHhcNMjAwNzE3MTYwMDAwWhcNMjUwNzE3MTYwMDAwWjBzMRYwFAYDVQQD
+Ew1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ipQv/A/SK6tU9xOPl/d46mS3LderjRjnN/9rhyAo1zfCUb14GBeDONlSBd9pO
+Ts3MbQiy6sqBt67kJ6UpspVhwPhFu2k25YVy/PQfFec591hSMaXnJEOm2nOPdKg4
+z5y2STqMFfGqZHvXAvCLp8ECgYA8oVGTmNKf9fbBBny5/iAG/jnp+8vg1O7kGqdI
+8lD14wvyV8IA/a8iixRP+Kpsg31uXe+1ktR/dNjo6UNA8JPD+RDuITmzzqx1n1KU
+DbjsNBhRjD5cluUkcjQ43uOg2oXcPxz9nqAH6hm7OUjHzwH2FsFYg9lPvXB6ybg6
+/+Uz5QKBgBxvTtLsZ3Cvvb3qezn4DdpLjlsrT6HWaTGqwEx8NYVBTFX/lT8P04tv
+NqFuQsDJ4gw0AZF7HqF49qdpnHEJ8tdHgBc/xDLFUMuKjON4IZtr0/j407K6V530
+m4q3ziHOu/lORDcZTz/YUjEzT8r7Qiv7QusWncvIWEiLSCC2dvvb
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/password_protected.pem b/jstests/libs/password_protected.pem
index 87976e7a574..25e47bc2402 100644
--- a/jstests/libs/password_protected.pem
+++ b/jstests/libs/password_protected.pem
@@ -1,51 +1,51 @@
------BEGIN ENCRYPTED PRIVATE KEY-----
-MIIFDjBABgkqhkiG9w0BBQ0wMzAbBgkqhkiG9w0BBQwwDgQIgWTIkEmBBfoCAggA
-MBQGCCqGSIb3DQMHBAjzL6xrCrEygwSCBMihG8kg3nTnTtWAbB+d1D+HJxriqm37
-7rwjkfa+T5w5ZBRGpsTt3QB5ep0maX72H55ns6ukkeMoDBSadhDWrGWcLQ2IOGt3
-E14KU6vMFe3gQkfF1fupp7F+3ma58/VNUKa4X5pzZ7OCf8inlLWejp8BRqbrPWqw
-Errgw1kNN3gWfQMr7JtIt1yI1xIMEB2Z976Jn0gaGnJAtzIW4thqjkDdb8b33S9f
-cb7N1Fq4cly22f9HdqNcLgVTi1zIlPXc/f/6mtsGTsJv/rMPthJ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hBZYuqV2q6+kwqgYrzyGIwAJkBGrkYfalVzgR+3/uN04h005
+M3jQRpSkDVGYr3JKEAlh3Sc+JD9VPbu6/RXNwy5mY67UCgWGaFwRqJE3DC9aKfNC
+OET8m8+8oQgFzhw3pNpENsgwR+Sx3K4q0GI3YwxT02pieBFNQaw53O3B3TtoCjkk
+UsuyIWqcLonwo4I3z0kjU3gEFN+0m4E4/A1DNt0J3rsKN+toCk1FqbxQg9xTZzXu
+hYmA3HMMwugzXmCanqBhmMsniPg+dRxCIfiHZhLuEpjKxZWcMWcW4M6l/wbM+LbE
+oDcTuI9ezfPTZ3xA8hNIHBT3MhuI7EJQnvKKvJDJeyX5sAtmSsSFqhEr8QZD8RgV
+5H9eOyUdfcWxLlstcq982V0oGg==
+-----END ENCRYPTED PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/server.pem b/jstests/libs/server.pem
index e5980d4856e..df2b49163d6 100644
--- a/jstests/libs/server.pem
+++ b/jstests/libs/server.pem
@@ -1,34 +1,48 @@
------BEGIN PRIVATE KEY-----
-MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAK53miP9GczBWXnq
-NxHwQkgVqsDuesjwJbWilMK4gf3fjnf2PN3qDpnGbZbPD0ij8975pIKtSPoDycFm
-A8Mogip0yU2Lv2lL56CWthSBftOFDL2CWIsmuuURFXZPiVLtLytfI9oLASZFlywW
-Cs83qEDTvdW8VoVhVsxV1JFDnpXLAgMBAAECgYBoGBgxrMt97UazhNkCrPT/CV5t
-6lv8E7yMGMrlOyzkCkR4ssQyK3o2qbutJTGbR6czvIM5LKbD9Qqlh3ZrNHokWmTR
-VQQpJxt8HwP5boQvwRHg9+KSGr4JvRko1qxFs9C7Bzjt4r9VxdjhwZPdy0McGI/z
-yPXyQHjqBayrHV1EwQJBANorfCKeIxLhH3LAeUZuRS8ACldJ2N1kL6Ov43/v+0S/
-OprQeBTODuTds3sv7FCT1aYDTOe6JLNOwN2i4YVOMBsCQQDMu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FIN1zEhHZy/JpTF0GlU1qg3VIaA78M1p2
+ZdpUsuqJzYmc3dDbQMepIaqdW4xMoTtZFyenUJyoezz6eWy/NlZ/XQ==
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/libs/smoke.pem b/jstests/libs/smoke.pem
index 0f6deb368c5..7dddf222386 100644
--- a/jstests/libs/smoke.pem
+++ b/jstests/libs/smoke.pem
@@ -1,50 +1,48 @@
------BEGIN PRIVATE KEY-----
-MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDLSU04xAL7eZ/Y
-J3euMDP/Uq7+a65zEIk7wzD2K5Htosbdysn67l8OzVlF2/IcB0/2SLuHHyC7+4pv
-O2+ndtvi6hr9zF4S8Bz0In/UUb+WzhFHuZd0YLl2arhnYMoDUkyLheVqEcDbECgi
-a6i5SNpAff2eUy29FVGwsaUl7+iEHqYxS9Ibmw1CeQYLEOGyhkTI9BjfO/3HwQyW
-FmOJp/IAJUFRCXTgluaMHptaonX5GmRK64wlF8Reu+uyQRdWM0cK9b3AxbBWAAyT
-SLQto+PW1J7QQ95Kn+aJ8nH1Jj80iUAjx2yAGchl1wfSHf5yAAo4OJNXgKUrQHIs
-dofsw/KTAgMBAAECggEBAItF+SX/BJwNw7lvsMsiMz2mBEZCuA4VMjBDlnPRffT1
-JJInsSG91lppzdPS0JjrWZk+U1xLsz2XJEz4x5JQGG3qPfvL3FfVMcEBMdrg9wX2
-wFgHiwAslGPQ0e3hngWQiOi+H2MALsTm2NhcMghfJUgyCWRDUH7O8FzCGIdZSk/Z
-Bx4CvBad+k+OFvUt03gwGtoCn7XneMRVGt04EU/srg0h6C3810k7+OLC1xZc8jaE
-5UAZwKO4pqJn/w0s9T2eAC+b+1YNuUTLvMTdhfH6ZkANxgcfQHWok14iGxCyXMeQ
-dBHeyNTIYKnfpwjFz85LgEvl4gsUTaa/IM0DfGPDOkECgYEA5z8Px0Sh0DSRr6PW
-3Ki9sDtJP5f+x0ARaeb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VgRlBq1ZyXnr2lz3bAIZxvZs13lZn6qVPMt7w2/JTCal9jw7AoGBANxR
+sGik9mq/678nzLiNlf/LcwIz7siuyISoWDOaVEVva0uorqctVqL95w0f+3FXqBO/
+5BiJRFo5D8SfzRjkNkJ7V+rm+7/CjtsjEw2Ue+ZJYPlm+Wr545GYmhU9QH9NLZIN
+JBwTVWjLgdsyQyi0Gc+xMraBwEwoyS8cO17uHO2bAoGBANRmO91/6BPt0ve4epR9
+Vi1o9yki9PlcmHtBOmikWAFyFQvd4+eckVlKBflyBkL6locPjTOqDpC9VengeDj2
+2PyHzZLtqtkZhbK9bJhIfkWknwTZUTMliXMkldTxUo82uZVVpoRgSdmtq7IXYeut
+UnjExFMY3EDB9BizvUYIBKvPAoGAViQ6bS/SiPpxGlRdXus88r6BQSM9AYoVLIkF
+s2dr+5oMwZA6eXLopOHRLPiMP0yekto8PLuu1ffpil9QuaLA9E11moqlc9yGLngQ
+QwcDSo72M41nh8Qcjhi0ZgmE5kEuyCQLMk783fRz2VhVmdyRGvuVcHZa0WxA/QJ0
+1DEVbnECgYEA3i2PGHUvU2TIFNvubw3qdH5y7FXafF+O0ulQ8e6r/CbVAG14Z6xP
+RHLc7/JIYK9CG1PWCbkjiHZ4MsKFuRWFrUMrwSj8M3euCaEIxa/Co60qQ/CnZiZ6
+geleTtUcTZ2T0pqGLnrHwlzhLpCkPJPyjcfQjjEZRwd0bVFX6b3C/rw=
+-----END RSA PRIVATE KEY----- \ No newline at end of file
diff --git a/jstests/ssl/disable_x509.js b/jstests/ssl/disable_x509.js
index 93218556688..703fd0d029d 100644
--- a/jstests/ssl/disable_x509.js
+++ b/jstests/ssl/disable_x509.js
@@ -1,7 +1,7 @@
// Test enabling and disabling the MONGODB-X509 auth mech
TestData.useX509 = false;
-var CLIENT_USER = "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US"
+var CLIENT_USER = "CN=client,OU=KernelUser,O=MongoDB,L=New York City,ST=New York,C=US"
var conn = MongoRunner.runMongod({ smallfiles: "", auth: "" });
diff --git a/jstests/ssl/initial_sync1_x509.js b/jstests/ssl/initial_sync1_x509.js
index 0d70bd17cf7..e0ccdc5e01e 100644
--- a/jstests/ssl/initial_sync1_x509.js
+++ b/jstests/ssl/initial_sync1_x509.js
@@ -56,14 +56,14 @@ function runInitialSyncTest() {
// Standard case, clusterAuthMode: x509
var x509_options1 = Object.merge(common_options,
- {sslClusterFile: "jstests/libs/cluster-cert.pem",
+ {sslClusterFile: "jstests/libs/cluster_cert.pem",
clusterAuthMode: "x509"});
var x509_options2 = x509_options1;
runInitialSyncTest();
// Mixed clusterAuthMode: sendX509 and sendKeyFile and try adding --auth
x509_options1 = Object.merge(common_options,
- {sslClusterFile: "jstests/libs/cluster-cert.pem",
+ {sslClusterFile: "jstests/libs/cluster_cert.pem",
clusterAuthMode: "sendX509",
auth: ""});
x509_options2 = Object.merge(common_options, {clusterAuthMode: "sendKeyFile"});
@@ -76,9 +76,9 @@ runInitialSyncTest();
// verify that replset initiate fails if using a self-signed cert
x509_options1 = Object.merge(common_options, {clusterAuthMode: "x509"});
-x509_options2 = Object.merge(common_options,
- {sslClusterFile: "jstests/libs/smoke.pem",
- clusterAuthMode: "x509"});
+x509_options2 = Object.merge(common_options,
+ {sslClusterFile: "jstests/libs/smoke.pem",
+ clusterAuthMode: "x509"});
var replTest = new ReplSetTest({nodes : {node0 : x509_options1, node1 : x509_options2}});
var conns = replTest.startSet();
assert.throws( function() { replTest.initiate() } );
diff --git a/jstests/ssl/sharding_with_x509.js b/jstests/ssl/sharding_with_x509.js
index f27b30c7b71..1a1e41f6cae 100644
--- a/jstests/ssl/sharding_with_x509.js
+++ b/jstests/ssl/sharding_with_x509.js
@@ -4,7 +4,7 @@
var x509_options = {sslMode : "requireSSL",
sslPEMKeyFile : "jstests/libs/server.pem",
sslCAFile: "jstests/libs/ca.pem",
- sslClusterFile: "jstests/libs/cluster-cert.pem",
+ sslClusterFile: "jstests/libs/cluster_cert.pem",
clusterAuthMode: "x509"};
// Start ShardingTest with enableBalancer because ShardingTest attempts to turn
diff --git a/jstests/ssl/ssl_hostname_validation.js b/jstests/ssl/ssl_hostname_validation.js
index 1dded65693f..f7e16a752a0 100644
--- a/jstests/ssl/ssl_hostname_validation.js
+++ b/jstests/ssl/ssl_hostname_validation.js
@@ -58,14 +58,18 @@ function testCombination(certPath, allowInvalidHost, allowInvalidCert, shouldSuc
// and allowInvalidCertificates
testCombination(CN_CERT, false, false, true);
testCombination(SAN_CERT, false, false, true);
-testCombination(SERVER_CERT, false, false, false);
+
+// SERVER_CERT has SAN=localhost
+testCombination(SERVER_CERT, false, false, true);
testCombination(SERVER_CERT, false, true, true);
testCombination(SERVER_CERT, true, false, true);
testCombination(SERVER_CERT, true, true, true);
+
// 2. Initiate ReplSetTest with invalid certs
ssl_options = {sslMode : "requireSSL",
- sslPEMKeyFile : SERVER_CERT,
+ // SERVER_CERT has SAN=localhost. CLIENT_CERT is exact same except no SANS
+ sslPEMKeyFile : CLIENT_CERT,
sslCAFile: CA_CERT};
replTest = new ReplSetTest({nodes : {node0 : ssl_options, node1 : ssl_options}});
@@ -86,6 +90,7 @@ replTest.stopSet();
// 4. Initiate ReplSetTest with invalid certs but set allowInvalidCertificates
ssl_options = {sslMode : "requireSSL",
+ // SERVER_CERT has SAN=localhost. CLIENT_CERT is exact same except no SANS
sslPEMKeyFile : SERVER_CERT,
sslCAFile: CA_CERT,
sslAllowInvalidCertificates: ""};
diff --git a/jstests/ssl/x509_client.js b/jstests/ssl/x509_client.js
index b049d428383..c2329554e3f 100644
--- a/jstests/ssl/x509_client.js
+++ b/jstests/ssl/x509_client.js
@@ -18,8 +18,8 @@ MongoRunner.stopMongod(conn);
var SERVER_CERT = "jstests/libs/server.pem"
var CA_CERT = "jstests/libs/ca.pem"
-var CLIENT_USER = "CN=client,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US"
-var INVALID_CLIENT_USER = "CN=invalidclient,OU=kerneluser,O=10Gen,L=New York City,ST=New York,C=US"
+var CLIENT_USER = "C=US,ST=New York,L=New York City,O=MongoDB,OU=KernelUser,CN=client"
+var INVALID_CLIENT_USER = "C=US,ST=New York,L=New York City,O=MongoDB,OU=KernelUser,CN=invalid"
port = allocatePorts(1)[0];
diff --git a/src/mongo/shell/mongodtest.js b/src/mongo/shell/mongodtest.js
index 238528bffc4..a8a5e04b5a2 100644
--- a/src/mongo/shell/mongodtest.js
+++ b/src/mongo/shell/mongodtest.js
@@ -42,7 +42,6 @@ startMongodTest = function (port, dirname, restart, extraOptions) {
if (!options["sslCAFile"])
options["sslCAFile"] = "jstests/libs/ca.pem";
options["sslWeakCertificateValidation"] = "";
- options["sslAllowInvalidCertificates"] = "";
}
if (jsTestOptions().useX509 && !options["clusterAuthMode"])
options["clusterAuthMode"] = "x509";
diff --git a/src/mongo/shell/servers.js b/src/mongo/shell/servers.js
index 6d681dfd6b8..915f6298fb3 100755
--- a/src/mongo/shell/servers.js
+++ b/src/mongo/shell/servers.js
@@ -425,8 +425,12 @@ MongoRunner.mongoOptions = function( opts ){
if (!opts.sslMode) opts.sslMode = "requireSSL";
if (!opts.sslPEMKeyFile) opts.sslPEMKeyFile = "jstests/libs/server.pem";
if (!opts.sslCAFile) opts.sslCAFile = "jstests/libs/ca.pem";
+
+ // Needed for jstest/ssl/upgrade_to_ssl.js
opts.sslWeakCertificateValidation = "";
- opts.sslAllowInvalidCertificates = "";
+
+ // Needed for jstest/ssl/ssl_hostname_validation.js
+ opts.sslAllowInvalidHostnames = "";
}
if ( jsTestOptions().useX509 && !opts.clusterAuthMode ) {
@@ -490,8 +494,12 @@ MongoRunner.mongodOptions = function( opts ){
if (!opts.sslMode) opts.sslMode = "requireSSL";
if (!opts.sslPEMKeyFile) opts.sslPEMKeyFile = "jstests/libs/server.pem";
if (!opts.sslCAFile) opts.sslCAFile = "jstests/libs/ca.pem";
+
+ // Needed for jstest/ssl/upgrade_to_ssl.js
opts.sslWeakCertificateValidation = "";
- opts.sslAllowInvalidCertificates = "";
+
+ // Needed for jstest/ssl/ssl_hostname_validation.js
+ opts.sslAllowInvalidHostnames = "";
}
if ( jsTestOptions().useX509 && !opts.clusterAuthMode ) {
diff --git a/src/mongo/shell/servers_misc.js b/src/mongo/shell/servers_misc.js
index 91db127998a..12274368111 100644
--- a/src/mongo/shell/servers_misc.js
+++ b/src/mongo/shell/servers_misc.js
@@ -177,7 +177,6 @@ ReplTest.prototype.getOptions = function( master , extra , putBinaryFirst, norep
a.push( "jstests/libs/ca.pem" )
}
a.push( "--sslWeakCertificateValidation" )
- a.push( "--sslAllowInvalidCertificates" )
}
if( jsTestOptions().useX509 && !a.contains("--clusterAuthMode")) {
a.push( "--clusterAuthMode" )
@@ -320,7 +319,6 @@ function startParallelShell( jsCode, port, noConnect ){
args.push( "jstests/libs/client.pem" )
args.push( "--sslCAFile" )
args.push( "jstests/libs/ca.pem" )
- args.push( "--sslAllowInvalidCertificates" )
}
x = startMongoProgramNoConnect.apply(null, args);