[glib-networking/pgriffis/ocsp-must-staple-test: 2/2] Regenerate certificates




commit fe473d62b5804c7444acf8c2cb7659681400ff7f
Author: Patrick Griffis <pgriffis igalia com>
Date:   Sat Jul 31 13:13:24 2021 -0500

    Regenerate certificates

 tls/tests/certificate.h                         |   4 +-
 tls/tests/connection.c                          |   2 +-
 tls/tests/files/ca-alternative.pem              |  34 +++---
 tls/tests/files/ca-key.pem                      |  50 ++++----
 tls/tests/files/ca-ocsp.pem                     |  29 +++++
 tls/tests/files/ca-roots-bad.pem                |  36 +++---
 tls/tests/files/ca-roots.pem                    |  36 +++---
 tls/tests/files/ca.pem                          |  36 +++---
 tls/tests/files/chain.pem                       |  98 ++++++++--------
 tls/tests/files/client-and-key.pem              |  82 ++++++-------
 tls/tests/files/client-csr.pem                  |  24 ++--
 tls/tests/files/client-future.pem               |  28 ++---
 tls/tests/files/client-key.pem                  |  50 ++++----
 tls/tests/files/client-past.pem                 |  28 ++---
 tls/tests/files/client.pem                      |  32 ++---
 tls/tests/files/client2-and-key.pem             |  82 ++++++-------
 tls/tests/files/client2-csr.pem                 |  24 ++--
 tls/tests/files/client2-key.pem                 |  50 ++++----
 tls/tests/files/client2.pem                     |  32 ++---
 tls/tests/files/intermediate-ca-csr.pem         |  28 ++---
 tls/tests/files/intermediate-ca-key.pem         |  50 ++++----
 tls/tests/files/intermediate-ca.pem             |  36 +++---
 tls/tests/files/non-ca.pem                      | 148 ++++++++++++------------
 tls/tests/files/old-ca-key.pem                  |  50 ++++----
 tls/tests/files/old-ca.pem                      |  38 +++---
 tls/tests/files/root-ca-csr.pem                 |  28 ++---
 tls/tests/files/server-and-key.pem              |  80 ++++++-------
 tls/tests/files/server-csr.pem                  |  24 ++--
 tls/tests/files/server-intermediate-csr.pem     |  24 ++--
 tls/tests/files/server-intermediate-key.pem     |  50 ++++----
 tls/tests/files/server-intermediate.pem         |  26 ++---
 tls/tests/files/server-key-pkcs8.der            | Bin 1219 -> 1216 bytes
 tls/tests/files/server-key-pkcs8.pem            |  52 ++++-----
 tls/tests/files/server-key.der                  | Bin 1193 -> 1190 bytes
 tls/tests/files/server-key.pem                  |  50 ++++----
 tls/tests/files/server-ocsp-missing-and-key.pem |  49 ++++++++
 tls/tests/files/server-ocsp-missing-csr.pem     |  17 +++
 tls/tests/files/server-ocsp-missing.pem         |  22 ++++
 tls/tests/files/server-oscp-req.der             | Bin 0 -> 105 bytes
 tls/tests/files/server-self.pem                 |  30 ++---
 tls/tests/files/server.csr.pem                  |  19 +++
 tls/tests/files/server.der                      | Bin 920 -> 920 bytes
 tls/tests/files/server.pem                      |  30 ++---
 43 files changed, 872 insertions(+), 736 deletions(-)
---
diff --git a/tls/tests/certificate.h b/tls/tests/certificate.h
index c306e67f..63c341b1 100644
--- a/tls/tests/certificate.h
+++ b/tls/tests/certificate.h
@@ -1,4 +1,4 @@
 /* This file is generated from update-certificate-test.py */
 
-#define EXPECTED_NOT_VALID_BEFORE "2021-06-23T20:16:15Z"
-#define EXPECTED_NOT_VALID_AFTER "2046-06-17T20:16:15Z"
+#define EXPECTED_NOT_VALID_BEFORE "2021-07-31T18:13:10Z"
+#define EXPECTED_NOT_VALID_AFTER "2046-07-25T18:13:10Z"
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 2f422ee3..d1cbf521 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -2638,7 +2638,7 @@ test_connection_binding_match_tls_unique (TestConnection *test,
  * please make sure the string below matches the output of
  * openssl x509 -outform der -in files/server.pem | openssl sha256 -binary | base64
  **/
-#define SERVER_CERT_DIGEST_B64 "eHKDtxoT/cw518SETTA2D1jJyBeADm+5kM9nCY5/ono="
+#define SERVER_CERT_DIGEST_B64 "AX+tOuSPoSSzxau7zBGSOxAfrO/E6eLYvCv3O8MYTfE="
 static void
 test_connection_binding_match_tls_server_end_point (TestConnection *test,
                                                     gconstpointer   data)
diff --git a/tls/tests/files/ca-alternative.pem b/tls/tests/files/ca-alternative.pem
index aa53dc0a..31cf4df0 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OY2FAZXhhbXBsZS5jb20wGQYDVR0SBBIwEIEOY2FAZXhhbXBsZS5j
-b20wDQYJKoZIhvcNAQELBQADggEBAAWFZEgeQJ0QG9tn8IHZXOF/aNLow4jk1nQb
-bbO/SWSsRcDvJJlqkQ+w/HZVyULUVvvAe/WAev5WHR5shGSmVsTOxSGcjfppFEXs
-Qq26zBJtDbnIidrKNLsQ+01kufKLMmarQbBnDj+u/bnKv6lvmwZ3FkV1Rra3wW4z
-xG42bhV54YfUGCLgneqE/We78XJ9lZdqliFXHixMB9sh3JON0dOkxuu6ZEk4bq5c
-BxJVDtZvZr///ow4iiFpE9ynJodxbyKLIyqVaYXW5za1cLt7oRzIaYVDtga03pqH
-620f5zDR9iH4OLM1dZyvYgURDEwipyivLlm561iiH8WwMdT3R8s=
+b20wDQYJKoZIhvcNAQELBQADggEBAEKW1WUf/Gv+Dqnc7KYoXtS0CJUPJRUze7i7
+L+hEf83wQ7YMnUPE7y5kBibX8c/1BR4h1ITN8CsSYKnJRVH0NVTrX3FIecAMoltI
+r6kg9FUzic3st2JnzcVC7kKokU9ZjjN+iZmEi6tHRmoofB+FdqjcQTUwyTv6FEgV
+qajlizSRwU4pI+hAwRrC3WCFFdTg1QN06r5Gg0g0lp9dIt0mGbOWxlqSmunKDe+Z
+7UtnsHjOzcqHzqABF/uz1PLT73a8b/OOjQ8U3/mqgWjeE94Dc049MiGN/BYb+50j
+rF8ftm/eCiG+VrojoNYGYt76rFCVQ+3SJdw6q6MH3BpE4KjqDIw=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/ca-key.pem b/tls/tests/files/ca-key.pem
index 9a8d99d4..750ec21d 100644
--- a/tls/tests/files/ca-key.pem
+++ b/tls/tests/files/ca-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpAIBAAKCAQEAwMjWgZx2dCR/etvq1IAFV6qy5nNWmgDs2ZxsZZk84LnHtdN0
-F5J5T9D4WXoHTjwLBWUjFeAvfPjg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TAKv4wB756MpeTCBxgYDVR0jBIG+MIG7gBR9MHdtjvb0Yq9WTAKv
+4wB756MpeaGBjKSBiTCBhjETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT
+8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRpZmljYXRlIEF1dGhvcml0eTEX
+MBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkqhkiG9w0BCQEWDmNhQGV4YW1w
+bGUuY29tghRSesrzEX3nNq5f2U0Q8FJCrH/PhTAPBgNVHRMBAf8EBTADAQH/MA4G
+A1UdDwEB/wQEAwIBBjAZBgNVHREEEjAQgQ5jYUBleGFtcGxlLmNvbTAZBgNVHRIE
+EjAQgQ5jYUBleGFtcGxlLmNvbTARBggrBgEFBQcBGAQFMAMCAQUwDQYJKoZIhvcN
+AQELBQADggEBAC6beOO8UJu7kQsicLZuHkbQv1tcymAHBQ4KG3e6DuPS7Cpiv48j
+nYZWIeApxyYX0WC9USS1Hxibjg1nGYUNg00MN1QcSpr5ivEmm697wYAF37Yc+sv+
+h62oLltkVENPRC9UcoOMDRW4E39Ag1nOxptLEfz7WlOUTjgBmfyy1i9G78M8YF4O
+Cpi38qbUC8PRSz9n8XCIcheb9umPcZkxLeQ4+W5zosg8W4FpjHrQ2j5EVtWu1oaZ
+eAyxghHym6J6z5p2Le9K4sZ2pFVppJXvOPw58QZBZnP8h/v8vidr4fr/CPAh9gmp
+IwnAKK2sIsc1wqcltHWwGgLYp1WPs4Pa9FI=
+-----END CERTIFICATE-----
diff --git a/tls/tests/files/ca-roots-bad.pem b/tls/tests/files/ca-roots-bad.pem
index e86d4fec..a1648bcf 100644
--- a/tls/tests/files/ca-roots-bad.pem
+++ b/tls/tests/files/ca-roots-bad.pem
@@ -1,31 +1,31 @@
 -----BEGIN CERTIFICATE-----
-MIIE4zCCA8ugAwIBAgIUNrOjl4/NmcBhJj/8dI0IY1a33EEwDQYJKoZIhvcNAQEL
+MIIE4zCCA8ugA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QXgcWTf64lRT443SxmZZDBw+Nqr
-dtp5a/WywnCN6qY57qeSUkV/q3lU4BclFt7IavtO8v8rR0mpAC+TnKt7hNw0qhfk
-QUCy2LF0CAnZyX/8it/2VOS6SqtUgY48uWRibiOtZLs4XGCCRYBU+mXQEaOGMdnM
-jeVcrbmC0K0bl/Vms1bPOgYTwiw3FO5K9vFFAGB5Vx8H0GlCBHzUEprcQjckDRCs
-ixUo8KqSNQ==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAVn5Zp/2oUFAO
+Ork8QU7IJo9a/NEfBMOJfFQBXyN8l7AKux/wDICDqd+Hmeb3yoPx/Yy+5Z/BoEdY
+H+sG5gAGK8Kd5KsQxfcPW6uQMQ8K+WEmtdeT2OjDkKzkLhMfAXbaSOrGf/95rMk8
+Tq/Cx7csH+M21m8ZvrvJCHFr673d4GvWKN7nfa7xcd2ErvKWLEIiyp607AfD5wHg
+cKm0LtC9RCVABGrS7tvW6DfR2V0QNKk/+OlWAqPXzElJwZPwI4CdGjAVfYkEfE86
+uTWT08HDZM5gD1ohhUPEnNxma1HkMOnBhhxmnA3HfFB7l6BPPAj4xmv/tQv5BtfT
+QSNhrzqDvA==
 -----END CERTIFICATE-----
 -----BEGIN CERTIFICATE-----
 MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290
diff --git a/tls/tests/files/ca-roots.pem b/tls/tests/files/ca-roots.pem
index d905311e..cb431a62 100644
--- a/tls/tests/files/ca-roots.pem
+++ b/tls/tests/files/ca-roots.pem
@@ -1,33 +1,33 @@
 These are some CA certificates
 
 -----BEGIN CERTIFICATE-----
-MIIE4zCCA8ugAwIBAgIUNrOjl4/NmcBhJj/8dI0IY1a33EEwDQYJKoZIhvcNAQEL
+MIIE4zCCA8ugAwIBAgIUQL/y3nsri2som8J5/D+Hm8ljMwcwDQYJKoZIhvcNAQEL
 BQAwgYYxEzARBgoJkiaJk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AC+TnKt7hNw0qhfk
-QUCy2LF0CAnZyX/8it/2VOS6SqtUgY48uWRibiOtZLs4XGCCRYBU+mXQEaOGMdnM
-jeVcrbmC0K0bl/Vms1bPOgYTwiw3FO5K9vFFAGB5Vx8H0GlCBHzUEprcQjckDRCs
-ixUo8KqSNQ==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAVn5Zp/2oUFAO
+Ork8QU7IJo9a/NEfBMOJfFQBXyN8l7AKux/wDICDqd+Hmeb3yoPx/Yy+5Z/BoEdY
+H+sG5gAGK8Kd5KsQxfcPW6uQMQ8K+WEmtdeT2OjDkKzkLhMfAXbaSOrGf/95rMk8
+Tq/Cx7csH+M21m8ZvrvJCHFr673d4GvWKN7nfa7xcd2ErvKWLEIiyp607AfD5wHg
+cKm0LtC9RCVABGrS7tvW6DfR2V0QNKk/+OlWAqPXzElJwZPwI4CdGjAVfYkEfE86
+uTWT08HDZM5gD1ohhUPEnNxma1HkMOnBhhxmnA3HfFB7l6BPPAj4xmv/tQv5BtfT
+QSNhrzqDvA==
 -----END CERTIFICATE-----
 
 GLib shouldn't care about this comment
diff --git a/tls/tests/files/ca.pem b/tls/tests/files/ca.pem
index e22a68ce..93ec59a2 100644
--- a/tls/tests/files/ca.pem
+++ b/tls/tests/files/ca.pem
@@ -1,29 +1,29 @@
 -----BEGIN CERTIFICATE-----
-MIIE4zCCA8ugAwIBAgIUNrOjl4/NmcBhJj/8dI0IY1a33EEwDQYJKoZIhvcNAQEL
+MIIE4zCCA8ugAwIBAgIUQL/y3nsri2som8J5/D+Hm8ljMwcwDQYJKoZIhvcNAQEL
 BQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNh
 LmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGF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Q==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAVn5Zp/2oUFAO
+Ork8QU7IJo9a/NEfBMOJfFQBXyN8l7AKux/wDICDqd+Hmeb3yoPx/Yy+5Z/BoEdY
+H+sG5gAGK8Kd5KsQxfcPW6uQMQ8K+WEmtdeT2OjDkKzkLhMfAXbaSOrGf/95rMk8
+Tq/Cx7csH+M21m8ZvrvJCHFr673d4GvWKN7nfa7xcd2ErvKWLEIiyp607AfD5wHg
+cKm0LtC9RCVABGrS7tvW6DfR2V0QNKk/+OlWAqPXzElJwZPwI4CdGjAVfYkEfE86
+uTWT08HDZM5gD1ohhUPEnNxma1HkMOnBhhxmnA3HfFB7l6BPPAj4xmv/tQv5BtfT
+QSNhrzqDvA==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/chain.pem b/tls/tests/files/chain.pem
index b22a024b..f5302357 100644
--- a/tls/tests/files/chain.pem
+++ b/tls/tests/files/chain.pem
@@ -3,78 +3,78 @@ MIIDuzCCAqOgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBrTETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxKzApBgNVBAsMIkludGVy
 bWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMMG2ludGVybWVk
 aWF0ZS1jYS5leGFtcGxlLmNvbTEqMCgGCSqGSIb3DQEJARYbaW50ZXJtZWRpYXRl
-LWNhQGV4YW1wbGUuY29tMB4XDTIxMDYyMzIwMTYxNloXDTQ2MDYxNzIwMTYxNlow
+LWNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcyNTE4MTMxMFow
 SzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUx
 GzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEB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
+QSNhrzqDvA==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client-and-key.pem b/tls/tests/files/client-and-key.pem
index 347ef15c..4f35914c 100644
--- a/tls/tests/files/client-and-key.pem
+++ b/tls/tests/files/client-and-key.pem
@@ -1,48 +1,48 @@
 -----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQMwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQQwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA2MjMyMDE2MTVaFw00NjA2MTcyMDE2
-MTVaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA3MzExODEzMTBaFw00NjA3MjUxODEz
+MTBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMfxzQKwthl+
-nS2FR6C07d/WHpMBgM0INwlfP1X6lwrIWRDfSqLikgOfJaVHXiSOqljl95VZSh7f
-LyStULZJh37uUmdmf/RBShjMJ4Gby/TmaK/gmRTrAo1YjW9ZDH7FJa//Ea8CPURg
-4uQt3bW6nf/U1kDPIhGSQHM+6Yi+vQS9F9TOeduJcL9v+aqlRJ/rFDLaS2TmvhkK
-CDoXTzTBlVNed4wv68EnHS1BRmEDJ2PNWhoTX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+zX0HlpO763MuXfiBVrfUEoZZWoGxNVUpu5rITJWGlY
+U2qLgwtnBcD9Xl/msAU74NjQLDmyddyKvUTyEO3bqL/r3msT8smoGjv8bVjF58Aj
+cKt1aQKBgF8WJ/5JbhEUvhv9+2tkSGXsoGVRZkHVeMr++NCJH4Ee6U2eKeq2DOYA
+e8ex5fKJPcjoaXeguKYaP3lsFVdT+F9bj7+L1RpJea06ovYbTs7wAyzxURLOjbfy
+0SUZG8hhBhdcqz+RVvqnQeYFe8k/c4RVZQeEgtBGChevJtT4ymY3
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client-csr.pem b/tls/tests/files/client-csr.pem
index 54796dc5..7197ec74 100644
--- a/tls/tests/files/client-csr.pem
+++ b/tls/tests/files/client-csr.pem
@@ -2,16 +2,16 @@
 MIICpzCCAY8CAQAwYjETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
 ARkWB0VYQU1QTEUxDzANBgNVBAMMBkNsaWVudDEhMB8GCSqGSIb3DQEJARYSY2xp
 ZW50QGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
-x/HNArC2GX6dLYVHoLTt39YekwGAzQg3CV8/VfqXCshZEN9KouKSA58lpUdeJI6q
-WOX3lVlKHt8vJK1QtkmHfu5SZ2Z/9EFKGMwngZvL9OZor+CZFOsCjViNb1kMfsUl
-r/8RrwI9RGDi5C3dtbqd/9TWQM8iEZJAcz7piL69BL0X1M5524lwv2/5qqVEn+sU
-MtpLZOa+GQoIOhdPNMGVU153jC/rwScdLUFGYQMnY81aGhNe3S/MHGRqJprh7tkP
-VImoaATd0hWS0hFO86DxYCv1juB9DM86VvmMwhW5XO/jO6F7DYtQ2m/QxRHSoumP
-qCTiu/u+p1+KvHzCGPvHPQIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAD6mEs60
-jns1fZqZLJHPQEq6tmLYdosbpqyLgC1Kx4BsUsz5g1xfiYBUWhxjXdGbbCBxb6Lb
-c+/mIszSwUI9uDIlKLfRZXdbZZBM7CVOeGuLq7Rp4nI4R1lLkkuxOQLCchlI/onW
-ZoYRFNRy1+as1FYJZOJAVDCdZX0q+YDOxh6MeKdg1nIMDW5bMHCCl/vXGS/SYfnT
-48QI2rpEJk8G1PkrDf3Hg1Ibf6VNALYZ70j3/P4j2zN/mufleZH0EHGodmxf0ldx
-G/jvfhK7nVeIQf7PHBtwIgdSfYaIj9kwGe1Bg1gdYmXDP7zVeTOw1mgPYRkDCGdS
-rpyHn9vaVt2YlLE=
+49u5kwy4Bg0cd872he4Mkba81ymELicSiV0mtLhavtflFReVVQfIeLBjZLupey1k
+/bmbof05uXjYDKwYNhxwpKbT8173sIaRO4xKgkV+bwQ/VbmGfYXKICZwkkMQDiz0
+Abtk25m1uLssynkzQntDKP/sAqu5ophd8HUJYcBHkH2YCoTXWEZklxQA3iDFXshU
+09iTpueFSCMQfx6IJ+zrJQHcKpnVLssgK8L2PCDYn/5CR+bS18du+2jIARvu0VVZ
+tncZyBR+e02LF77VSbezynIH7BXOe/rlwSMI++CowwlV9L2gxXsuDtO42qOKvNpJ
+IZJVYa5HcjJWaO1+kaT1HwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAL1cb2Va
+kt0vxRnH1GjKrXUGhQbHWv5OwKxmNhplsQkupG6d9ReC0F1DCSEgx0bJ7NrsAiH9
+iyZkuIKCU44VgZgUvwm5UzzEYzE56bYw5G0iphlSwX9hQOjVUi/813MmiqEQghzG
+6f1bQo5NPu949d4S8r73y1fK2qxC7rNcVECEyt+6brz22PRl8e8D9sirZiFfdqnt
+wzzQoJfSU1d237y3OzqFeEQfm6oK/m/BJNFynY4ZcwJeLUxkbz7ze8dU80r7cIMq
+OKq4gzhu8eMYqaYdWDlYmArHAm83As/N4XGuarP77h6Rge7UZZShkklxPU3C9jHC
+I7zegO9U8s7ZByg=
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/client-future.pem b/tls/tests/files/client-future.pem
index 72c055dd..e4a1f960 100644
--- a/tls/tests/files/client-future.pem
+++ b/tls/tests/files/client-future.pem
@@ -1,23 +1,23 @@
 notBefore=Jul 17 23:00:00 2060 GMT
 notAfter=Jul 17 23:00:00 2061 GMT
 -----BEGIN CERTIFICATE-----
-MIIDYTCCAkkCAQUwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDYTCCAkkCAQYwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
 AQkBFg5jYUBleGFtcGxlLmNvbTAiGA8yMDYwMDcxNzIzMDAwMFoYDzIwNjEwNzE3
 MjMwMDAwWjBiMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQBGRYH
 RVhBTVBMRTEPMA0GA1UEAwwGQ2xpZW50MSEwHwYJKoZIhvcNAQkBFhJjbGllbnRA
-ZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDH8c0C
-sLYZfp0thUegtO3f1h6TAYDNCDcJXz9V+pcKyFkQ30qi4pIDnyWlR14kjqpY5feV
-WUoe3y8krVC2SYd+7lJnZn/0QUoYzCeBm8v05miv4JkU6wKNWI1vWQx+xSWv/xGv
-Aj1EYOLkLd21up3/1NZAzyIRkkBzPumIvr0EvRfUznnbiXC/b/mqpUSf6xQy2ktk
-5r4ZCgg6F080wZVTXneML+vBJx0tQUZhAydjzVoaE17dL8wcZGommuHu2Q9Uiaho
-BN3SFZLSEU7zoPFgK/WO4H0MzzpW+YzCFblc7+M7oXsNi1Dab9DFEdKi6Y+oJOK7
-+76nX4q8fMIY+8c9AgMBAAEwDQYJKoZIhvcNAQELBQADggE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N/R0
+HNhmjOnIJMTi5uXi792VstyHt97zBgGb5z1QBcbELZT87ncXlbB3udq7zZUg/sxP
+MYpvb9k=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client-key.pem b/tls/tests/files/client-key.pem
index 390abe9c..c3d0a958 100644
--- a/tls/tests/files/client-key.pem
+++ b/tls/tests/files/client-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEowIBAAKCAQEAx/HNArC2GX6dLYVHoLTt39YekwGAzQg3CV8/VfqXCshZEN9K
-ouKSA58lpUdeJI6qWOX3lVlKHt8vJK1QtkmHfu5SZ2Z/9EFKGMwngZvL9OZor+CZ
-FOsCjViNb1kMfsUlr/8RrwI9RGDi5C3dtbqd/9TWQM8iEZJAcz7piL69BL0X1M55
-24lwv2/5qqVEn+sUMtpLZOa+GQoIOhdPNMGVU153jC/rwScdLUFGYQMnY81aGhNe
-3S/MHGRqJprh7tkPVImoaATd0hWS0hFO86DxYCv1juB9DM86VvmMwhW5XO/jO6F7
-DYtQ2m/QxRHSoumPqCTiu/u+p1+KvHzCGPvHPQIDAQABAoIBAQCtWBM3C+E0RTMb
-rfsldvbsIoSrSphSKZcdhvgwIGsmq/+bwxrAENIqVaWbnz4dT5qcK/P0BU9faHtE
-vwXEpAbWouPKRXEVYC1PRl/R3DJ9Be0o3f2Zxw2VYXptWLSei2lbJjY8liJrz9ul
-m6Yl0b79d5aw5WNR/Ivn3lk1drgFDCqmVav7JabpswpCeQgJMytBOyBqdwwwrDYb
-B1ugxRUcqtNa1tNli+ru44dW06qMrOwuy70aBWNOa/OIEP3FHwxL6WM3kubxY+Fk
-MH4mP0P0Z9019O12b4Nt/YUqw+szWQAG2joVT5BmZAgaJu0/eeW9rqvljG3/1e3u
-TjF3C7WBAoGBAOvImVszYoSIh/UWri6ieMz7kBWWt1Q/R8d5AKFDqJoTBDSQ7eU2
-mE4bFSl5RmniPsaIlYWZ7dSKqqsDKZStBsfzRdM4OOMg6eHdgv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9Xl/msAU74NjQLDmyddyKvUTyEO3bqL/r3msT8smoGjv8bVjF58Aj
+cKt1aQKBgF8WJ/5JbhEUvhv9+2tkSGXsoGVRZkHVeMr++NCJH4Ee6U2eKeq2DOYA
+e8ex5fKJPcjoaXeguKYaP3lsFVdT+F9bj7+L1RpJea06ovYbTs7wAyzxURLOjbfy
+0SUZG8hhBhdcqz+RVvqnQeYFe8k/c4RVZQeEgtBGChevJtT4ymY3
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client-past.pem b/tls/tests/files/client-past.pem
index 5d00b0d9..f1e738dc 100644
--- a/tls/tests/files/client-past.pem
+++ b/tls/tests/files/client-past.pem
@@ -1,23 +1,23 @@
 notBefore=Jul 17 23:00:00 2000 GMT
 notAfter=Jul 17 23:00:00 2001 GMT
 -----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQQwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQUwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
 AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0wMDA3MTcyMzAwMDBaFw0wMTA3MTcyMzAw
 MDBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMfxzQKwthl+
-nS2FR6C07d/WHpMBgM0INwlfP1X6lwrIWRDfSqLikgOfJaVHXiSOqljl95VZSh7f
-LyStULZJh37uUmdmf/RBShjMJ4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8CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAOHjfKW9PTATwiYvUp2se
+pT3JL+BTqcjJgTp+GgCh9C5q6WI+ZSyCmHQb9t4Uf0tZzMfLP3pLDekKTWwYlYvw
+wAhcMjJta90S1K924oncdQ7YLMnpkb5YfgEQZfl0ur5ZA8Y+bnkw7bFUMr01LbGM
+g8ByeyRgK0CGltZPmlhFHe9sIW5vbh6KkQcpogKY/UzhOXw7YU4sHxKXEd9Vl9y9
+66+Jp7Hk9NTXLPIGYfQzp4zREKyNAqF/lF8kEouPUecQA1KIP8KG6ESB3k5YvQMQ
+RE+cD9gJGqThFm0MY8ZXLdQJSF6Ty3ri67xJ3kgwcztmMbaR1Z9QrLrKtjjMYI2w
+wg==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client.pem b/tls/tests/files/client.pem
index 0979b99e..e2646c8d 100644
--- a/tls/tests/files/client.pem
+++ b/tls/tests/files/client.pem
@@ -1,21 +1,21 @@
 -----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQMwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQQwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA2MjMyMDE2MTVaFw00NjA2MTcyMDE2
-MTVaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA3MzExODEzMTBaFw00NjA3MjUxODEz
+MTBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFW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i7
+LMp5M0J7Qyj/7AKruaKYXfB1CWHAR5B9mAqE11hGZJcUAN4gxV7IVNPYk6bnhUgj
+EH8eiCfs6yUB3CqZ1S7LICvC9jwg2J/+Qkfm0tfHbvtoyAEb7tFVWbZ3GcgUfntN
+ixe+1Um3s8pyB+wVznv65cEjCPvgqMMJVfS9oMV7Lg7TuNqjirzaSSGSVWGuR3Iy
+VmjtfpGk9R8CAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAZs33954DJg4+NJzt8QKI
+5+aDeBb5FcnwvIbx7QpsSPuJJOuamLX8fo4x7VZut3y5VqyK1QFIE8dWNCotVP5r
+I4xFFYG6CEKkzc/fZ8FTMCYFoGVxUce2PMX/XcZuYWaO+F7Gz8LzW1CbYzbFmAyZ
+ZUl0WOeFbWl/yQmwym5ZFKLogZXL0ZHtwNKHH0LiKOyUssiWbN1cD7BQaiuXcsKS
+JjWsl2j5pi+07WaGZGk+MB8mFl56I9u/43qdaxf1lWicyj6QiwvZf/WVxi5dT3zA
+8IEOS5j2Ahg2xP/ot24R/7+d4eV5m27qfqzB4HT7y1bl0Hi5lXl1O6qzmqJo7Z49
+zg==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client2-and-key.pem b/tls/tests/files/client2-and-key.pem
index bccff204..c77a0313 100644
--- a/tls/tests/files/client2-and-key.pem
+++ b/tls/tests/files/client2-and-key.pem
@@ -1,48 +1,48 @@
 -----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQYwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQcwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNv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odWhb34l
+SJMKdctRAoGBAOWDLAw6FE7lmI0mskoeUGwf2oN7taTuRzyfeM5IWgr/bBRDOTvZ
+zc2KaEcBL+balDkXpFPvrz/Y2IqcHgD43lfhLrg5iSXYZAj1b/N3NqFate/xtWS4
+qlDvyZu8QcDMui89dLB4euUtHQ9wDt1OG+Lcf8xDPkG3Z0KM+W1l2ghFAoGBAORO
+URg6jZDJ5LQixedDQJk/6tFF6Pu5UImiEAqdE8Z/owQgEAtnJX72G6Dn+VwXwGJM
+6vl14FnM9G7bBFwwyyVL6zlEvdPRUUq2VZBynGGnVKAXlJFbEIqgm35sGhzmlQHq
+Jv2+S8xOIOUtMdbxXIWaCHLF+x6fZMPsnc701TvtAoGBALhf7/rCjZ30A+EgvQmd
+4K17yWbm8r1UThX9ZmcQ6IT9PC3q8weJqTL9hVfFNF4YKgrTW0eyvO5lnU98qv3M
+75FZbNbCIdMtSu+HfC/yDQkCfjYLztTjJK9wcl2RlqDz1n4suJkrsE57N2U3eDmA
+jhZpXKETQ+g3FdT4u0ePEuChAoGBAKWKpAKNcliqC8sR663kddKpJfrYVjcwB9XE
+TR1lCBHGOs2i8f9Sqz2D9kSV75l3H2gnnbmEX0i98/7tkBvIxYQlqEm+LmaIQAmM
+bD5w3DNywUnTz0YWYcgi7JyehdCu4RyiS+NxOETL4c5LFvhjylKVfcq7A3sQ2F+4
+EjUeEf+BAoGATZKsh6yT48Oh2BG1lrVDJWP8rFiKFEW1EYANjSod/zF0CXNkqHfY
+b8qBHoNeT4vlH7H2YIAP/5xpVZFG6nNUP2im3P+rBB0fQt6FemOqMaGeL3fzStJR
+kQeY1Vl1TDcQHQUXZX09z3MgKBe+ZS5dSyWSmdH6RXq6iRRNiWRhHhk=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client2-csr.pem b/tls/tests/files/client2-csr.pem
index 25e181a4..341c6174 100644
--- a/tls/tests/files/client2-csr.pem
+++ b/tls/tests/files/client2-csr.pem
@@ -2,16 +2,16 @@
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KuYKOXn0ZIwod6JQDy5fzPCygyFDj1pa2BbH1gwh3RwLUGBvY9Th
+ABYx1f5oD3Azer3cG7I/8BErNNFSAsAcJzj+WSlUSdYETSNMQ/3CxQxuKra79iBZ
+wyBXzBghYdnJDAFyp3CUA2JKc5udKa+Ne1JiEpnQAT5fA/jdxEOIbxmY+lbYj1Fc
+CzXbseewMLXCOaeRMCqO4QIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAAvFZq/e
+oG3tbpzGDU6KG0pdjeE1vR2RxbYjAtXiqiNcBk8dvkrvW0/AOLNpBNxvFDei4i2a
+vsejaR21K25mKIG416bIOQ8Y86CDvPlJoSCQqPYMQiAlHUJ6iQIXeV9+L1b3OkGQ
+hJuw85PO3/GSGscEMdJhiFJq6oePlYqkRurA1nvWlttx1uUzqUE0JL7Y+y2Q7I8j
+c3WwV975OEMT3RGtYogzjXFhO0zEtGHJGTMVF7r/VuUdGIZbSBc/d81uJlr6JqED
+FThNR7rEEtK55ge47ZGDKb/+8QK9USS+2bZdS5UgBVXKQZVB9LZSskl7IpHGPwTl
+sWsGaMz7jmE1gOc=
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/client2-key.pem b/tls/tests/files/client2-key.pem
index 69481f5f..c48c3ba2 100644
--- a/tls/tests/files/client2-key.pem
+++ b/tls/tests/files/client2-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEogIBAAKCAQEAkd+B1BCANf1hBuuHrinU1KVLTelKaiB5zdpb6D+NHvV7lpMk
-HS+VQKRuDOGtEbxl8Ha64C/6X+i5Q1ZhXiTszPpvkhPbe1GVtgDULEa8Xb3FGxhI
-B8YFKjTq76OUmEy/gCGNE2jykf/wN294DY/ZTq6BmTwDPzwjGsm3+Xl3tp7Wxy3c
-O0LhoKKIJBgI+9JMmgYH2L8EOVup8Q/1QIn+gOVKX49Dos1Lpwk72rjVownbB2dr
-Ogc/F5vIww7uCyoU6xmPGCau9FijSRoR/bvius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qcHgD43lfhLrg5iSXYZAj1b/N3NqFate/xtWS4
+qlDvyZu8QcDMui89dLB4euUtHQ9wDt1OG+Lcf8xDPkG3Z0KM+W1l2ghFAoGBAORO
+URg6jZDJ5LQixedDQJk/6tFF6Pu5UImiEAqdE8Z/owQgEAtnJX72G6Dn+VwXwGJM
+6vl14FnM9G7bBFwwyyVL6zlEvdPRUUq2VZBynGGnVKAXlJFbEIqgm35sGhzmlQHq
+Jv2+S8xOIOUtMdbxXIWaCHLF+x6fZMPsnc701TvtAoGBALhf7/rCjZ30A+EgvQmd
+4K17yWbm8r1UThX9ZmcQ6IT9PC3q8weJqTL9hVfFNF4YKgrTW0eyvO5lnU98qv3M
+75FZbNbCIdMtSu+HfC/yDQkCfjYLztTjJK9wcl2RlqDz1n4suJkrsE57N2U3eDmA
+jhZpXKETQ+g3FdT4u0ePEuChAoGBAKWKpAKNcliqC8sR663kddKpJfrYVjcwB9XE
+TR1lCBHGOs2i8f9Sqz2D9kSV75l3H2gnnbmEX0i98/7tkBvIxYQlqEm+LmaIQAmM
+bD5w3DNywUnTz0YWYcgi7JyehdCu4RyiS+NxOETL4c5LFvhjylKVfcq7A3sQ2F+4
+EjUeEf+BAoGATZKsh6yT48Oh2BG1lrVDJWP8rFiKFEW1EYANjSod/zF0CXNkqHfY
+b8qBHoNeT4vlH7H2YIAP/5xpVZFG6nNUP2im3P+rBB0fQt6FemOqMaGeL3fzStJR
+kQeY1Vl1TDcQHQUXZX09z3MgKBe+ZS5dSyWSmdH6RXq6iRRNiWRhHhk=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client2.pem b/tls/tests/files/client2.pem
index 2c4a24a6..720bc188 100644
--- a/tls/tests/files/client2.pem
+++ b/tls/tests/files/client2.pem
@@ -1,21 +1,21 @@
 -----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQYwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQcwDQYJKoZI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em b/tls/tests/files/intermediate-ca-csr.pem
index ffb13161..2f8bd1da 100644
--- a/tls/tests/files/intermediate-ca-csr.pem
+++ b/tls/tests/files/intermediate-ca-csr.pem
@@ -3,18 +3,18 @@ MIIDRDCCAiwCAQAwga0xEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/Is
 ZAEZFgdFWEFNUExFMSswKQYDVQQLDCJJbnRlcm1lZGlhdGUgQ2VydGlmaWNhdGUg
 QXV0aG9yaXR5MSQwIgYDVQQDDBtpbnRlcm1lZGlhdGUtY2EuZXhhbXBsZS5jb20x
 KjAoBgkqhkiG9w0BCQEWG2ludGVybWVkaWF0ZS1jYUBleGFtcGxlLmNvbTCCASIw
-DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALY5OFxJqyqgUogBiy2MqYFv3Z4v
-y8pUsyAKqCTdb6gJfbHxt3mVh4mLvXV+IUxAqDj2v+0zoEPDXepU7/+MZ+I/ETpp
-2U2WfJDZBp3poTMoaunia7b5+yVsVEZaIh29WY17yeNvUbY8daR7eCDkB5KT3iQX
-0fGoilZISyKJHciDtRpo1xJJ+MoZnkRZW8NfPyWQ2/Nv1iPMHBG35CizRStdVOZI
-VGP5zcqqZSorcZG1k6k7jxoY0pd/MFqr69F5+oay+QrPRMe9U+5GK9OtyT/2Fphz
-C9KxwWXdg0XXewaoNqoDPqcWBN3PghR/uVBNG/FG4QqG/FaFvl6igZIB42kCAwEA
-AaBRME8GCSqGSIb3DQEJDjFCMEAwHQYDVR0OBBYEFBfCZdvlIAr/m62hYE+Wjvtb
-4C/kMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEB
-CwUAA4IBAQCZ4onlC/c69LY0JzdLFt6P2K3kTVbUPWrfm21RoCD+VC3EpMU1zbbu
-sxhYXzlQo43aG1y+gUFACc/1fVGo8n3/N5lGJ2mOcX6SY/UbmMFuTfoo379SwKRR
-Q5hHtThamKD6BxT7ON7wRAHy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wL
+4ZWvt2myv8mvIJ+S0aYkv7NYd+whJOij
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/intermediate-ca-key.pem b/tls/tests/files/intermediate-ca-key.pem
index 2f1fcb2f..e72c90c2 100644
--- a/tls/tests/files/intermediate-ca-key.pem
+++ b/tls/tests/files/intermediate-ca-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEowIBAAKCAQEAtjk4XEmrKqBSiAGLLYypgW/dni/LylSzIAqoJN1vqAl9sfG3
-eZWHiYu9dX4hTECoOPa/7TOgQ8Nd6lTv/4xn4j8ROmnZTZZ8kNkGnemhMyhq6eJr
-tvn7JWxURloiHb1ZjXvJ429Rtjx1pHt4IOQHkpPeJBfR8aiKVkhLIokdyIO1GmjX
-Ekn4yhmeRFlbw18/JZDb82/WI8wcEbfkKLNFK11U5khUY/nNyqplKitxkbWTqTuP
-GhjSl38wWqvr0Xn6hrL5Cs9Ex71T7kYr063JP/YWmHML0rHBZd2DRdd7Bqg2qgM+
-pxYE3c+CFH+5UE0b8UbhCob8VoW+XqKBkgHjaQIDAQABAoIBAAghTW5wqv5f4M7I
-otkJaZao0w53u3Pvi35me1IJvy2UHtONoU3/aeitH2rakcnBKMBB4hZHM2NSmCIY
-YAzaytfBUJd2mYdoq24bALyS6+pIZ1zACWZEiPwGdUweQV9qT1CMsVlAYjjrQaRx
-Dc8J3XygtEyP84IArwtidle4HmgPxQD2s6FuJ/IFDCVeAM7w3fPD67mEHemaW72C
-jrq7NR4pLQunZezhVVKajJ1vXX5+ismzQRxoMnvV0Rnh8S5Ec80J8r+PeTtcqbYJ
-O2RePZhmr0SWnTCEdm89gM3B0jEG0GtpgEJK/3JhYXLVaOWKN9pRVM8hufs601j9
-IRyCcgECgYEA3hVGbTF2TfesxId/0knDz1vKTms9/0WNIPpOlDwakP5nYtRebjkO
-jX0LZZ148MbdVhSUtr/O4vSd1hM0ghui6UBbOiNcMmLgdHRCsA53ThWAPnw2egq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cFJs+q6O7xQzJ9gST5cjIu0dnw0hfgh
+VvMosDkBUuHox/PEQThvi6RwuE4nv5KNxaq+ySGsje6hU7t1M4863PUVTlB7s0HO
+WQ9TCQKBgEQikSr+wqoCdTq5LsqZZ0zFmSFxR/zaEJCJe32eOo4wXMnygb1pjAS5
+5uXYW3dLgWPgQYbAGBScGaFHNbH22ZO4G8g3QSnuNQLOtvq8VQEGAmRLE0wft4bu
+P3YRNU8KhJvCUxU0NKCaNVu5qoDj21b0XADCIzZrkGjeSfgngeVx
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/intermediate-ca.pem b/tls/tests/files/intermediate-ca.pem
index 8caddfb9..deb1b892 100644
--- a/tls/tests/files/intermediate-ca.pem
+++ b/tls/tests/files/intermediate-ca.pem
@@ -1,29 +1,29 @@
 -----BEGIN CERTIFICATE-----
-MIIFAjCCA+qgAwIBAgIBBzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+MIIFAjCCA+qgAwIBAgIBCDANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
 ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDYyMzIwMTYxNloXDTQ2MDYx
-NzIwMTYxNlowga0xEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZ
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcy
+NTE4MTMxMFowga0xEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZ
 FgdFWEFNUExFMSswKQYDVQQLDCJJbnRlcm1lZGlhdGUgQ2VydGlmaWNhdGUgQXV0
 aG9yaXR5MSQwIgY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gIMQwVibdMuNs2fxgpmReZgraqQOeHAyCCo0SkZXGkN2rHV3kYJkuc522kq
+K11ldkrxKhHU77ebxrHvgYtv0D90rspFEcY16/0iYAFdthZX1gJOgpMivD7lXykX
+IHU1jn7fIdjT+uaoB+5ScQKYrlngZcaij16rX0nj7GMwrls/Awc=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/non-ca.pem b/tls/tests/files/non-ca.pem
index e2d3b33f..4a0f253f 100644
--- a/tls/tests/files/non-ca.pem
+++ b/tls/tests/files/non-ca.pem
@@ -1,74 +1,74 @@
 client.pem:
 -----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQMwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQQwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA2MjMyMDE2MTVaFw00NjA2MTcyMDE2
-MTVaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA3MzExODEzMTBaFw00NjA3MjUxODEz
+MTBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMfxzQKwthl+
-nS2FR6C07d/WHpMBgM0INwlfP1X6lwrIWRDfSqLikgOfJaVHXiSOqljl95VZSh7f
-LyStULZJh37uUmd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MPvdzLVdfnorremtsMsOPngKtpJBSXfQU+B9yWnCnkErNp0DApaBWEcjqaq
+Fta1t6c2q0MDdByDu8NhQjkeuFE9m3rb/uHiYhUY1YVEv4d5ex+dibPCTqRrQvnc
+iDD92UfxnAxLURoYHQRNvFQ/nqvU27NRUntw0YnZ12Wytg6jGHQIJQIDAQABMA0G
+CSqGSIb3DQEBCwUAA4IBAQCzIuhLcAm8fExTPGibomrWY+WJKwXI0d2knIyAP8Vs
+QjMx+24aKQC+dnyYBL72R3393FvZZwnq3qsTIAHcm1n/v10pYno5F58iHxCfYhNm
+lHNCDI/pntVAmPVppgf8wJmqsgG53PVXAVF5Z0L2Nnp0KR0RGAIK1YEGDq6fa4E1
+aW9X37gLDXbXHzgTr9iNuXjbMQjZlS67mNIHEFZp9gCCQuTmqRe+H8L469iJmMuR
+yeJKaMEW5guGqpf2rmhlV2DIg66wjceSSVCoKxUIk03Gw3Nhdhg4A1oDNtywt+1J
+Jc7s0HgwfhEsQS856oNZD0J1Ry5m8OKfJxPE3jnOafIh
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/old-ca-key.pem b/tls/tests/files/old-ca-key.pem
index 2362c785..e3fdec1a 100644
--- a/tls/tests/files/old-ca-key.pem
+++ b/tls/tests/files/old-ca-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEowIBAAKCAQEA1zBOnsRyQg9OvkIYeiRfak7yJDI+84QSu81mgFl32vjzfwj1
-Dio74/G7cM3KPkAAamjlE9PrZMWaukJrFUBGtKoY/MlA607ORWOqop9kWjYjQJRL
-iU6rm1eQ8Kgb8Aymmmij810u9MmSB+RbM6IrWYnuWu8iO+hWJXoGMZRD29IF/YEp
-roHIC1Kx0RGvc+ITF6PWSHnMrKs6vgLnFQ+nNEy9DP3xHy1hmEyEKk5UEvDiL5b/
-FBFDpFqrkoNPljUeNoujBg0xrfyBRGbGJjZaix6KA7o18RrlRNlmpCXtnX8yW5Jj
-0wJaSxjMzEig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rscg+jerUc194RazcZB8U3foZz75O4hIXbb3zb6FGECgYEAwtp8
+HAsXmE8HuCMFNAWB2+EU0rGEhhJWAB2iIsN6emhL5QhTAY7EBSX8zw2cl1TwD7zh
+XjFCm+erZB6M2k2lWe2+5hzlaSzi4bwS3+G+g/FPNuV1/Plumhw6P06gKR3q+Eae
+Z8OOnAlLt3W4K1jS40buRjjAd8CBw+PPtuzBcTsCgYBJa456Rl+W5lN3/YLep3h3
+hH1FUHR62QpL8VtOtWZl4kEIZvutKbmLr97/MKI0WWaEpbQjeAx+jHTLL8LedlEr
+iKmAXSBWWdmvPYX3RSvB7YZsPZnAANOaM0FmCtWiTN7/715ceMuj0pCn3zhhX24D
+Gg+xQQU0ia7IOq7P1tkNYQKBgCEBWzZw1o1RDbCuFeqK6EUzahCKSzVek7yvSFB1
+JiDn27su3siLwz5QAfOcjaLAm20/BDmtRGgeJNTvq9IqhtClyck2qdFX7hJohhXw
+KhI1ZMKauZKhOY/XKjKhAdYVIEDvzVMsN9LMbEvmH80P3aDr2d6BLHDcZd6ljwCg
+N+ATAoGAb0z2YSc7xi2ylfsl32opYM9OU9jvefrcMoV8hovYhAqLySKTP0eNNycY
+03Ih3oBzYzF6Omeme5LbmnpJX65OHS4G9kwAAGWxKRO5K5gKY69uoj0HGM8v8M3e
+Byf8qrf+iYJeo2fouBrvlCe9P1Fpfd56KZlfUO90Sm6buQsJgeo=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/old-ca.pem b/tls/tests/files/old-ca.pem
index 5980d043..49eafe53 100644
--- a/tls/tests/files/old-ca.pem
+++ b/tls/tests/files/old-ca.pem
@@ -1,30 +1,30 @@
 -----BEGIN CERTIFICATE-----
-MIIFLjCCBBagAwIBAgIUAT/Zj4jAA7sB3BGbnpmsaV1nSwkwDQYJKoZIhvcNAQEL
+MIIFLjCCBBagAwIBAgIUGx5sD75kSqNKhP/0OQ7QuzKrM70wDQYJKoZIhvcNAQEL
 BQAwgZ8xEzARBgoJkiaJ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BgNVHRIEEjAQgQ5jYUBleGFtcGxlLmNvbTAN
-BgkqhkiG9w0BAQsFAAOCAQEAfPYTCU0/pcPGbz2dWZNBduK41o1rGrQLxQFenq11
-HT/s9udS8cCOZyB1XryUtP2eP3Lj3LDuNVXjaEr8pvD258XUnh0Tus9oGaW9t33A
-eWrLQyM1FhZ3A+gqG1hQttLAbXGKwK4eGIO9QKqwuDkJZ9sW9qQWACHKT+ulALfp
-l39oBGIOSTVRPxLWZw6NyYNlhEpqm/aBAlusj/DtXxCz1X7eNF5gjdLsWYpGzM/q
-0bsjGglWAfjWOTu9lzj9//9jx+CTREk66bIPFU5Bc2tITqdBihwKFckn77e84FqF
-wRLqkcjuzS3qOQ5LRk/v5Yvvdc8DsdK8UpLR87KOeF601Q==
+BgkqhkiG9w0BAQsFAAOCAQEAEgsx0U8ZVbj2+Y6aYEyTeKocfUfdtz3TtK7fRbPr
+8NlBD75y4f0MuIBYfXa/GvxZaCVruPEQdOtqH35PhPTED9rCoVFKXCEY/yQvDas9
+bGk5Fu5Sjjp0qJhnnlUYNNpGkw4VoGf9e/jtNlaXnr/7qz4GGVN3n9rp8GLrIsjY
+O8wXC1aikT+/UK1AofAUtlK/9ejdBvXCFCoSLEK/fnWzXP5G0cGFP0Ai+ezwvHTW
+QaSaPiLKNC4+DE677zujQkbdXSiRHCt6o6SD2N0fPFmnF3bwHdva3EER3JGirZhX
+d3xmaHSx/LoybaEk1/f8G7t116WvOXpDSz4vgISIt2HPag==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/root-ca-csr.pem b/tls/tests/files/root-ca-csr.pem
index 0f2833dd..4f558906 100644
--- a/tls/tests/files/root-ca-csr.pem
+++ b/tls/tests/files/root-ca-csr.pem
@@ -2,18 +2,18 @@
 MIIDHTCCAgUCAQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/Is
 ZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3Jp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wC+XMG1ehGtI40zGrb8ayC/olqoMFqz4yUrkb4qp
+zau8Uml+jZSOx+E3VsLS41lrgMf4k4lgYqghgXpu+ErDwL2crJR1IQsKSk/xWelt
+SZuDkZjUSUqK6SfhC7XZ9PAJmb+Km5YqZ2BnnioxK1lMC25BFtYyXMje0/+15r/A
+m0+5ek2HMHmD2nCAaHeXEU4mn30lPGEkq9l7nNpovH9Rei8mCuZtXkeuzpcO7icR
+TusI8VBAPXvYB5d3GRmcECnV6jBwWZ0MAQ6ib+tdT/PkjEkR4oncAsyO8cRw25gl
+tPo+DpECAwEAAaBRME8GCSqGSIb3DQEJDjFCMEAwHQYDVR0OBBYEFH0wd22O9vRi
+r1ZMAq/jAHvnoyl5MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0G
+CSqGSIb3DQEBCwUAA4IBAQCPj/2xBL2eeSGGosyrHGuFNS+w7306F4qsReRThH3e
+8Q235+uqmWbzXAuR0TCZZNC9Pg1k7jq1eIn93AdcKuXLsmD2870E4WtzHqLnSspr
+6ARgzKcW+NzDMwx0mHnFWmisASIYqVLUfb0APFJuVd59uOgfRbEOsQWpfb8IJ4UZ
+ODBWd/ciANL9sYkv8MYxAXrl6SHBAS0LE/l9xzfrSnL7IuhvRs5P2OZJym2tSkSu
+CzvU+5XYSBZO1/4dAMkZA3M1TFA6xEhDjVd6dvAVfkkMD/mUFfakag6Rap9pM3lj
+YXVVpwHY0PfF/o0L72e1yiWsQGyaWqi+pcSNPYvzb36Q
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-and-key.pem b/tls/tests/files/server-and-key.pem
index 5a724e45..428ca553 100644
--- a/tls/tests/files/server-and-key.pem
+++ b/tls/tests/files/server-and-key.pem
@@ -2,48 +2,48 @@
 MIIDlDCCAnygAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjA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ZXpJRByBcAmW1x9KtBSFfcrR3k76wbf1Nzox0=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-csr.pem b/tls/tests/files/server-csr.pem
index 6af87ea9..193dfff3 100644
--- a/tls/tests/files/server-csr.pem
+++ b/tls/tests/files/server-csr.pem
@@ -1,17 +1,17 @@
 -----BEGIN CERTIFICATE REQUEST-----
 MIICwTCCAakCAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
 ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
-KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMPZbX+Z0KiSwdnp5t2KXMK7Gv9TbkVd
-suE4C1qfBKDzuEVeqFd5KO5QoCu7txSBxq8Rhrc1sHH4PfVMwXubFCzRaPAn4xb0
-ncVlIvwKB7+jvPxzKqlK6q1Q7Gxc7eG/oUOnEfaZJhpYluTSRd8lk251SMkngY3j
-fqsfavzxbgOAZRvINtg+mnTtj8mE5siG1iNiRemqtjNYP4XIjRdrhMW9C0Qp9axa
-XGgXSljAHqE2AQXmRxypW+Ok2TdrSxQBEK8fnUngj2JONQM6jvZKRwodrqpSvH5R
-fOrwxHu2yUrKgnqOWsAdAPf10rSRmgr0eWVenniv34BQGDPxIgP72vkCAwEAAaAx
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMqitZ3xY/HRF5irErklm5b/upC5e+OY
+gYIbEit28UGb4VMKmUC0o7tZilC2QLbjaxEUzRMW1cKyU8xrNWhgrFph4DXjiuH7
+vUZRDC1h1/M6jElzDKCA1+V8y3NazP6FS1f/d7U4cTpBL7bdP1BYOOPA6WnBUPEY
+O5Vx2+jD73cy1XX56K63prbDLDj54CraSQUl30FPgfclpwp5BKzadAwKWgVhHI6m
+qhbWtbenNqtDA3Qcg7vDYUI5HrhRPZt62/7h4mIVGNWFRL+HeXsfnYmzwk6ka0L5
+3Igw/dlH8ZwMS1EaGB0ETbxUP56r1NuzUVJ7cNGJ2ddlsrYOoxh0CCUCAwEAAaAx
 MC8GCSqGSIb3DQEJDjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcD
-ATANBgkqhkiG9w0BAQsFAAOCAQEArWOneHWE80agGbu8Dof4Zj7gh83t6T+9C6rp
-KJkNyTFU0avZo7iSiYy2lh2KezXVWAK8ScBkdVVXMOt3vT/KIph1WHtZCZ1MBt2z
-q7RJRcudD+GyaaWA39uawfchfixRijxrBPSSS23yXcw+yMqlVudgrg0OvX7JAIkz
-z4XJa55xEYUvYoX05EQkr5URc76xWO0zYir+UXzLGH9FWpfj/5ewPO0PjoRGkOWB
-c+ZZlQAWdvJmHLBF18IdeSv4sPHCaUV+ELcKyDx5iE8D3OrcJ7R6rjVvTCdRvLY/
-hhKjAdWjXg4qXDj13XaRpT13UIqE2eeStVXnUfQorVvS8Kicjw==
+ATANBgkqhkiG9w0BAQsFAAOCAQEAadheCKyi4LjlDjgFf6TM0urbVbsXfsPkFM3R
+G1p+eOWtjFMZLeNdKOdRHwmYPMiMcshmf0Yw7cEVQxZBj4P0wBveKcvPVdonk2Bh
+Z5aST4LnMfLbsvxntb8DE/wrrFNWnJ1G9+ZD44xJ8TZYMV1vPsjYL6mk7iMJnm1r
+8kwy/RP1m5MSUhcxU1yiPQ2ed7bAbHCw28CwQRuAYazsD5v5fjfWVQfW9CfnEV3R
+T30kEiG1IWAeu7KasxEjcujQ+oGVm7ANhTeJmgkd47DlUt9oNvcUF1wJauJ/EA3z
+BwaXqWtsQ27kSGM8xlLlz7e0DQi5t29YlemiOF8qIjpzAgrbqQ==
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-intermediate-csr.pem b/tls/tests/files/server-intermediate-csr.pem
index 4ab8f0ed..9cfcaabc 100644
--- a/tls/tests/files/server-intermediate-csr.pem
+++ b/tls/tests/files/server-intermediate-csr.pem
@@ -1,17 +1,17 @@
 -----BEGIN CERTIFICATE REQUEST-----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gx5zrO0YXr2QmIdP27K0RWK1iWz
-RdQIFcXcFW/sn8kVHsWiPNVYKi9fNhj7INi5YK6RTIsa3Ej2jTuRwWsNpDcfn8L/
-XLa+k5hFrG0dnO16hOwOs9fURNxjgKF64runye/CYcSwak38Uz10e38AG9MoEksw
-L9JCAD7IrRJk5BtN+RTPZYXc/RSyUHDZzJZecD8t2rsdvdQ3twGX+cXq0U3siglr
-SUz9T3W8ZTvoxP5Vvud4WeRwZSw3OemvBoH6xlgOdWobEs9w6A==
+ATANBgkqhkiG9w0BAQsFAAOCAQEAFQW7JWbf4zEZ6kYkmMnK7mie0bBuBbnPiWqL
+z8NSAt70yTXvhcNpfEbiIdA2WbJYzVz5eH9+SSXr4R+2yWjOD/05Ad0khX/rSUIv
+7FboubLE+zNeJPrNm6Cb+W1+v/s6awr69AOhycXUJWgvSXHiU/d31DKFnC3xlqAw
+MFVO9a9mNmyLwsq9WZGc/MtNcJIICOzN81enFsQSCWlu1h+rhk/8H1lIv5SqG17G
+wCNL5kXt/K7X5Wy49L+hLOTva6tT+wUyHu3TAiViTH/Gu7mMHANDbFs0NBO/GlAi
+H1sDLHtynL4n7g+xd0x/OD/XzMrbUE+Z+9o+7BeUtacGIu8DrA==
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-intermediate-key.pem b/tls/tests/files/server-intermediate-key.pem
index 44d4806d..cb4bfa7e 100644
--- a/tls/tests/files/server-intermediate-key.pem
+++ b/tls/tests/files/server-intermediate-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEA43l/NxfuHX5eaYwWOltSIl2ohfCisR/pOhCu7TPGgrF9XOOa
-jo7TaNKQh24pmDJxSBPkoMeVDHc6sp3YqcV7js2oixKXNqlC2j35VttQVcW/fVr6
-pmVCvUA7nPxS2g8EJdqZGitpXQ/OWKUan39MRNWBTJrYazPQL7UXyIkBqFrsMSAV
-Kdqm5G8Sy13qI4+HyraB0CKCgavIQ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A1iKiLlDlSSpAriK+FmgKx9Bmmt9wbHatPbvh4BMS8yeP+wFUx+is
+7r2YLMJb3E90e9SlRNLS5p3Cfjhy3iX7Bgrbp3tQQBbzwTHZu/cHhEhefKs08HeC
+NNNWN0v7aT3OvrhcD1sAB3vrsPYHGKfsxcw3B0V330KPxH+NWb6oQsECgYEAyCAT
+rV+2DegYAqGuu5a4xOnEtV7VNQrzxdhztKQHHeWAtt7jG9pNYvKIaMxPn+/Iw+Yo
+yy283B07GHQB5k/1kICppiy/TrQXy04jEW9zbhLZo2rbDEA+by015Rgvmxx5Wyyr
+OC9DasbxwqGVr7I+6R6hWzhSy9GfVgUDh2c1rS0CgYEAsAE5go41V6TmEvs1eJ89
+tSzDGSrscgo9rM9AAfhLjBaJjotyjvndIkIt0SRTcsrP+HQ4/0+1z5393dcx+wwG
+vtmv34JI3NTAt5vs1kVeJUmCeEAUvE3OdPL8G2lVlRQbWcGY0Xo/lOczO3mNLaPg
+xldrJ4ve0mAYYS9iFFDUZkECgYBNGEZcUPXSb6noQZ8Ntyeg/CmCcXETSQ/WFOem
+HFZ9hu9KA51cGoIbbzFrpeG6zGX8SctHUmxiI4Sji/U7Y2xHablxQeXFDQ3pjUVn
+Lxc5vVtIYB7Ynlsu+yy6/9E/IP4DSLcBIvwGw3NZNmRy1ej0Z49jk9QZnrySJ8ZP
+QExmVQKBgD05Nsx03op6d/jXmIjN0eqXiqf8lQoSj9eXm5l2AnEPS4KpKjxDv3p8
+dMpdS6+g3zMZIsc+YAY0E73uBGh2QN8J9l3QmkdwGQwWXxv6SDWv8/baDlO26ePw
+GCJ97wisAxavkK3VHd1oaui4K/rjNstrpyC3uixzg952dVECTSN1
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-intermediate.pem b/tls/tests/files/server-intermediate.pem
index c498bed5..d98ddc95 100644
--- a/tls/tests/files/server-intermediate.pem
+++ b/tls/tests/files/server-intermediate.pem
@@ -3,20 +3,20 @@ MIIDuzCCAqOgAwIBAg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-----
diff --git a/tls/tests/files/server-key-pkcs8.der b/tls/tests/files/server-key-pkcs8.der
index f7f46958..b901ee38 100644
Binary files a/tls/tests/files/server-key-pkcs8.der and b/tls/tests/files/server-key-pkcs8.der differ
diff --git a/tls/tests/files/server-key-pkcs8.pem b/tls/tests/files/server-key-pkcs8.pem
index cddeb1ff..c73ac7ff 100644
--- a/tls/tests/files/server-key-pkcs8.pem
+++ b/tls/tests/files/server-key-pkcs8.pem
@@ -1,28 +1,28 @@
 -----BEGIN PRIVATE KEY-----
-MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDD2W1/mdCoksHZ
-6ebdilzCuxr/U25FXbLhOAtanwSg87hFXqhXeSjuUKAru7cUgcavEYa3NbBx+D31
-TMF7mxQs0WjwJ+MW9J3FZSL8Cge/o7z8cyqpSuqtUOxsXO3hv6FDpxH2mSYaWJbk
-0kXfJZNudUjJJ4GN436rH2r88W4DgGUbyDbYPpp07Y/JhObIhtYjYkXpqrYzWD+F
-yI0Xa4TFvQtEKfWsWlxoF0pYwB6hNgEF5kccqVvjpNk3a0sUARCvH51J4I9iTjUD
-Oo72SkcKHa6qUrx+UXzq8MR7tslKyoJ6jlrAHQD39dK0kZoK9HllXp54r9+AUBgz
-8SID+9r5AgMBAAECggEBAK/pLroK/Wk8kFPcDNp2ecUK7D/jv0sc0xwKC+C0riKn
-Zp8gW5JeKE6OKp+9dr87par/0gHjfn2P3I7lB3CvpVpwKZJ0MTwgMUnpAphhpf4S
-4x/ZjbsLqGhOJF1cxuobBo1OlgrqGlhVtAsJd2rsRFVVkS/khTBd4xtvF9jkPc1z
-w6V7khpscvSLl8iPYmkb9Sq3VjW6rfa+O85TlVOa7AOpe4mfLX85FpEDUd3dvJze
-nCtLnle2B7OjEE7ST0qGZ2wzkOTfILi4ihB0PeHdKy8FBUamm1VyGvp1hlbMAu4Y
-Beq2drYOYGT9DGqwqIxZUqKL63P7SkIe6Z+p4NEtAZECgYEA/Nqm9hXtN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R8OuDOgGVhh5LfdwxV8hXyO+UgzI5zMd3xMSaafo1dk4IwSwY6dbvCi9AoGAO4Nw
+jSEzkFOhyVUgtG04pcn71PAw7EcHpmoLqG73OMppm2e5QqHkQkuHf9f+34FyCGJm
+3M3/w8jyUVvwm83e94eiF6/cKbxWjg4+FiqwrO+h54c4T8teem9VsaChEATME7u5
+X6NQJn9tA6rguWrL2hSka/06Z/3c3YCidD9+cR8CgYBpNknp/rU4wqdrwfzXb7eX
+K8+4iEubotnygG8FUHdmyNxTexA9LzNbDTbNLOSV65mzC1xlxMad5d0lGnMXKtax
+hwZCVJ9iw1a7vG8Yo+3jldaM0nH71LbHCflHDD3BAZJP64ACdleklEHIFwCZbXH0
+q0FIV9ytHeTvrBt/U3OjHQ==
 -----END PRIVATE KEY-----
diff --git a/tls/tests/files/server-key.der b/tls/tests/files/server-key.der
index ae06b089..a6017543 100644
Binary files a/tls/tests/files/server-key.der and b/tls/tests/files/server-key.der differ
diff --git a/tls/tests/files/server-key.pem b/tls/tests/files/server-key.pem
index 41aed5cf..cbb15119 100644
--- a/tls/tests/files/server-key.pem
+++ b/tls/tests/files/server-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAw9ltf5nQqJLB2enm3Ypcwrsa/1NuRV2y4TgLWp8EoPO4RV6o
-V3ko7lCgK7u3FIHGrxGGtzWwcfg99UzBe5sULNFo8CfjFvSdxWUi/AoHv6O8/HMq
-qUrqrVDsbFzt4b+hQ6cR9pkmGliW5NJF3yWTbnVIySeBjeN+qx9q/PFuA4BlG8g2
-2D6adO2PyYTmyIbWI2JF6aq2M1g/hciNF2uExb0LRCn1rFpcaBdKWMAeoTYBBeZH
-HKlb46TZN2tLFAEQrx+dSeCPYk41AzqO9kpHCh2uqlK8flF86vDEe7bJSsqCeo5a
-wB0A9/XStJGaCvR5ZV6eeK/fgFAYM/EiA/va+QIDAQABAoIBAQCv6S66Cv1pPJBT
-3AzadnnFCu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k
+VbSn4F3IiPD7jcj7WfaHvpWJZPoVbS9kmDEZXqdN0JzXUlfPLVQ+rfHB8fJoxl7F
+/cHZP5MwF5TM7hgBhc4qxofQJKPZySUfR7tk8cstfMQGDf9V8Wk15Cr2KzNYmPzT
+/sjk9Dusz7c9iX4amKKoHU6hVJ0CwstKZ+LA1U8CgYBPz+IbCh0dNK3+ty607zpf
+Gn40vLZfg2slgeJkmjapheVZ+RzJ5seOSZ2ahnW4plisyKBDC7gj7E3ArLeNr66i
+y+lrQIT1YQwUwCRZa68Y3POH/3HJzUfDrgzoBlYYeS33cMVfIV8jvlIMyOczHd8T
+Emmn6NXZOCMEsGOnW7wovQKBgDuDcI0hM5BToclVILRtOKXJ+9TwMOxHB6ZqC6hu
+9zjKaZtnuUKh5EJLh3/X/t+BcghiZtzN/8PI8lFb8JvN3veHohev3Cm8Vo4OPhYq
+sKzvoeeHOE/LXnpvVbGgoRAEzBO7uV+jUCZ/bQOq4Llqy9oUpGv9Omf93N2AonQ/
+fnEfAoGAaTZJ6f61OMKna8H812+3lyvPuIhLm6LZ8oBvBVB3ZsjcU3sQPS8zWw02
+zSzkleuZswtcZcTGneXdJRpzFyrWsYcGQlSfYsNWu7xvGKPt45XWjNJx+9S2xwn5
+Rww9wQGST+uAAnZXpJRByBcAmW1x9KtBSFfcrR3k76wbf1Nzox0=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-ocsp-missing-and-key.pem b/tls/tests/files/server-ocsp-missing-and-key.pem
new file mode 100644
index 00000000..a7b5a749
--- /dev/null
+++ b/tls/tests/files/server-ocsp-missing-and-key.pem
@@ -0,0 +1,49 @@
+-----BEGIN CERTIFICATE-----
+MIIDlDCCAnygAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
+ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwO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ySUfR7tk8cstfMQGDf9V8Wk15Cr2KzNYmPzT
+/sjk9Dusz7c9iX4amKKoHU6hVJ0CwstKZ+LA1U8CgYBPz+IbCh0dNK3+ty607zpf
+Gn40vLZfg2slgeJkmjapheVZ+RzJ5seOSZ2ahnW4plisyKBDC7gj7E3ArLeNr66i
+y+lrQIT1YQwUwCRZa68Y3POH/3HJzUfDrgzoBlYYeS33cMVfIV8jvlIMyOczHd8T
+Emmn6NXZOCMEsGOnW7wovQKBgDuDcI0hM5BToclVILRtOKXJ+9TwMOxHB6ZqC6hu
+9zjKaZtnuUKh5EJLh3/X/t+BcghiZtzN/8PI8lFb8JvN3veHohev3Cm8Vo4OPhYq
+sKzvoeeHOE/LXnpvVbGgoRAEzBO7uV+jUCZ/bQOq4Llqy9oUpGv9Omf93N2AonQ/
+fnEfAoGAaTZJ6f61OMKna8H812+3lyvPuIhLm6LZ8oBvBVB3ZsjcU3sQPS8zWw02
+zSzkleuZswtcZcTGneXdJRpzFyrWsYcGQlSfYsNWu7xvGKPt45XWjNJx+9S2xwn5
+Rww9wQGST+uAAnZXpJRByBcAmW1x9KtBSFfcrR3k76wbf1Nzox0=
+-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-ocsp-missing-csr.pem b/tls/tests/files/server-ocsp-missing-csr.pem
new file mode 100644
index 00000000..193dfff3
--- /dev/null
+++ b/tls/tests/files/server-ocsp-missing-csr.pem
@@ -0,0 +1,17 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIICwTCCAakCAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
+ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMqitZ3xY/HRF5irErklm5b/upC5e+OY
+gYIbEit28UGb4VMKmUC0o7tZilC2QLbjaxEUzRMW1cKyU8xrNWhgrFph4DXjiuH7
+vUZRDC1h1/M6jElzDKCA1+V8y3NazP6FS1f/d7U4cTpBL7bdP1BYOOPA6WnBUPEY
+O5Vx2+jD73cy1XX56K63prbDLDj54CraSQUl30FPgfclpwp5BKzadAwKWgVhHI6m
+qhbWtbenNqtDA3Qcg7vDYUI5HrhRPZt62/7h4mIVGNWFRL+HeXsfnYmzwk6ka0L5
+3Igw/dlH8ZwMS1EaGB0ETbxUP56r1NuzUVJ7cNGJ2ddlsrYOoxh0CCUCAwEAAaAx
+MC8GCSqGSIb3DQEJDjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcD
+ATANBgkqhkiG9w0BAQsFAAOCAQEAadheCKyi4LjlDjgFf6TM0urbVbsXfsPkFM3R
+G1p+eOWtjFMZLeNdKOdRHwmYPMiMcshmf0Yw7cEVQxZBj4P0wBveKcvPVdonk2Bh
+Z5aST4LnMfLbsvxntb8DE/wrrFNWnJ1G9+ZD44xJ8TZYMV1vPsjYL6mk7iMJnm1r
+8kwy/RP1m5MSUhcxU1yiPQ2ed7bAbHCw28CwQRuAYazsD5v5fjfWVQfW9CfnEV3R
+T30kEiG1IWAeu7KasxEjcujQ+oGVm7ANhTeJmgkd47DlUt9oNvcUF1wJauJ/EA3z
+BwaXqWtsQ27kSGM8xlLlz7e0DQi5t29YlemiOF8qIjpzAgrbqQ==
+-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-ocsp-missing.pem b/tls/tests/files/server-ocsp-missing.pem
new file mode 100644
index 00000000..2e72320d
--- /dev/null
+++ b/tls/tests/files/server-ocsp-missing.pem
@@ -0,0 +1,22 @@
+-----BEGIN CERTIFICATE-----
+MIIDlDCCAnygAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
+ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgk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FICATE-----
diff --git a/tls/tests/files/server-oscp-req.der b/tls/tests/files/server-oscp-req.der
new file mode 100644
index 00000000..27615f24
Binary files /dev/null and b/tls/tests/files/server-oscp-req.der differ
diff --git a/tls/tests/files/server-self.pem b/tls/tests/files/server-self.pem
index 0a509b3a..d59ab968 100644
--- a/tls/tests/files/server-self.pem
+++ b/tls/tests/files/server-self.pem
@@ -1,19 +1,19 @@
 -----BEGIN CERTIFICATE-----
-MIIDHTCCAgUCFE+ZwxqnmDmtWeblAQEVRDFQaipnMA0GCSqGSIb3DQEBCwUAMEsx
+MIIDHTCCAgUCFC+CkRsd6/FsGSWSM1bZgwWcsCygMA0GCSqGSIb3DQEBCwUAMEsx
 EzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMRsw
-GQYDVQQDDBJzZXJ2ZXIuZXhhbXBsZS5jb20wHhcNMjEwNjIzMjAxNjE1WhcNNDYw
-NjE3MjAxNjE1WjBLMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQB
+GQYDVQQDDBJzZXJ2ZXIuZXhhbXBsZS5jb20wHhcNMjEwNzMxMTgxMzEwWhcNNDYw
+NzI1MTgxMzEwWjBLMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQB
 GRYHRVhBTVBMRTEbMBkGA1UEAwwSc2VydmVyLmV4YW1wbGUuY29tMIIBIjANBgkq
-hkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAw9ltf5nQqJLB2enm3Ypcwrsa/1NuRV2y
-4TgLWp8EoPO4RV6oV3ko7lCgK7u3FIHGrxGGtzWwcfg99UzBe5sULNFo8CfjFvSd
-xWUi/AoHv6O8/HMqqUrqrVDsbFzt4b+hQ6cR9pkmGliW5NJF3yWTbnVIySeBjeN+
-qx9q/PFuA4BlG8g22D6adO2PyYTmyIbWI2JF6aq2M1g/hciNF2uExb0LRCn1rFpc
-aBdKWMAeoTYBBeZHH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q6fa4E1
+aW9X37gLDXbXHzgTr9iNuXjbMQjZlS67mNIHEFZp9gCCQuTmqRe+H8L469iJmMuR
+yeJKaMEW5guGqpf2rmhlV2DIg66wjceSSVCoKxUIk03Gw3Nhdhg4A1oDNtywt+1J
+Jc7s0HgwfhEsQS856oNZD0J1Ry5m8OKfJxPE3jnOafIh
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/server.csr.pem b/tls/tests/files/server.csr.pem
new file mode 100644
index 00000000..0f2833dd
--- /dev/null
+++ b/tls/tests/files/server.csr.pem
@@ -0,0 +1,19 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIDHTCCAgUCAQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/Is
+ZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFzAV
+BgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxl
+LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMDI1oGcdnQkf3rb
+6tSABVeqsuZzVpoA7NmcbGWZPOC5x7XTdBeSeU/Q+Fl6B048CwVlIxXgL3z44CFc
+Dee5Q3oIk3AiQenl4VIofbm8i43wXaPe9cf4m3lF88RQZsF6e8oTnuLnaqFOJyOo
+17cuzY+m9RayaOzS5/04gEZj19J+EbIAJh1uUnWYKtc+pAUKzvTtCMYygwHFq/5I
+lQ7Ns4O9j/wKaKnMNbC7PL90QUpgjZtWfyO5v1beEjAHigt00GUqOEhiVIEN9spF
+GqOf7sY0MOrluqC6fBnaKC4zKkEYLrib4X1ncCMffZ3pB1HoEp+RLq9NgF/PjWNL
+fVDr3gkCAwEAAaBRME8GCSqGSIb3DQEJDjFCMEAwHQYDVR0OBBYEFCV0vQnn8otx
+VrqLFvH/9w2raijeMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0G
+CSqGSIb3DQEBCwUAA4IBAQC2YkXnf6l6w8EjDK3aWEoaYv821GTenBFL5Ae7TylZ
+b2YpxHu+aQU9MPvYXT8Qh1TL/EKasXy2xV9s2vVbdIHnjp11U1wM7Z26QAdLDfT4
+Xn1oEswj0v8hEwm0YEsfxTSytHHLXtKBmrYdMBBL597MSjWjW1pZg6OUuf8q42yA
++m9lU8oLkZVR+KtkiE5+336Y2k/Zaza+mw3dBTSmeJyiG0NR09bc7RUJUhnZp+2U
+nQ3ObREyYs3GpMatXHWiAwpAQt3tar6BDQo7zN9Bx3ViJcrNI2GbuBlUioX+I0xx
+fI4HWDpvVsv5RDpYdm5SNaVd2nlwbFA1v3gusD7/S93q
+-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server.der b/tls/tests/files/server.der
index 59d7c55d..cd9c10c2 100644
Binary files a/tls/tests/files/server.der and b/tls/tests/files/server.der differ
diff --git a/tls/tests/files/server.pem b/tls/tests/files/server.pem
index 37fd95f9..20055f7e 100644
--- a/tls/tests/files/server.pem
+++ b/tls/tests/files/server.pem
@@ -2,21 +2,21 @@
 MIIDlDCCAnygAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
 ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDYyMzIwMTYxNVoXDTQ2MDYx
-NzIwMTYxNVowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcy
+NTE4MTMxMFowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
 B0VYQU1QTEUxGzAZB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1H2a1BO+9gywVIGXpKxKm9XAH
-zhBb3de31311XlQRC5p665TFoc6Aguq5QVlki+LXAW4Kdi1L2r8CDdYneK/yg7qW
-0/I4WhT4Sl0JMHvHiIkEUKD61BIoLF8u0jBgzr9og2acmIacBICy5pOfmiR4lcQf
-mJ3NlbLXwZ96nfQKuStTgAFmONgU1ElQ5tlsF+tIjDCwPOrc1q5U1q0iFkz9hHV1
-ZYegUzlFqbo=
+ghJzZXJ2ZXIuZXhhbXBsZS5jb20wDQYJKoZIhvcNAQELBQADggEBAEjEBhx+ib3+
+u7O2OYD6z6pVLLTiQpXjESRfFF8sf/epSmmNtE/PpiUhWAXG2dOinup/40rjimAF
+j/8okMGvtTHst16vcV+LYu8AthBq4F41WVlC8/aLmIbkofbBulEUlD02HEBNszHJ
+rCkFBupwDTnbKStdLRPtjchuGLDobePDF7NEBDT4rWxoaQH7ZM3LOHnWoDjgF4ar
+3J6w2YpTl4vFf/e31Ikc+ctVy7tU1/X/II58fbxKqWjtKL67VESRBpHhCGNRlXfF
+ejxfiyHBKPzZbh6jqmyI4GqfotBq/vvbpt2XocKFHB6UDvW7M+oCrEgf/gL1uMLy
+/vq3kChJRdM=
 -----END CERTIFICATE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]