[glib-networking/mcatanzaro/openssl-ocsp: 2/2] Update tests for OCSP stapling
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking/mcatanzaro/openssl-ocsp: 2/2] Update tests for OCSP stapling
- Date: Wed, 15 Dec 2021 22:56:00 +0000 (UTC)
commit be47b42e2caa54edea26625ff3c7a4eabac132c6
Author: Michael Catanzaro <mcatanzaro redhat com>
Date: Wed Dec 15 16:53:14 2021 -0600
Update tests for OCSP stapling
We will have two tests:
(a) Test that Must-Staple extension is respected if set by a CA
certificate. This is the existing test, renamed. It can only pass for
GnuTLS.
(b) New test: ensure the Must-Staple extension is respected if set by a
server certificate. This test can pass for OpenSSL.
tls/tests/certificate.h | 4 +-
tls/tests/connection.c | 55 +++++++-
tls/tests/files/ca-alternative.pem | 34 ++---
tls/tests/files/ca-key.pem | 50 +++----
tls/tests/files/ca-ocsp.pem | 34 ++---
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/create-files.sh | 30 +++--
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 1216 -> 1218 bytes
tls/tests/files/server-key-pkcs8.pem | 52 ++++----
tls/tests/files/server-key.der | Bin 1190 -> 1192 bytes
tls/tests/files/server-key.pem | 50 +++----
tls/tests/files/server-ocsp-missing-and-key.pem | 80 +++++------
tls/tests/files/server-ocsp-missing-csr.pem | 29 ++--
tls/tests/files/server-ocsp-missing.pem | 30 ++---
.../files/server-ocsp-required-by-ca-and-key.pem | 49 +++++++
tls/tests/files/server-ocsp-required-by-ca-csr.pem | 17 +++
tls/tests/files/server-ocsp-required-by-ca.pem | 22 +++
.../server-ocsp-required-by-server-and-key.pem | 49 +++++++
.../files/server-ocsp-required-by-server-csr.pem | 18 +++
tls/tests/files/server-ocsp-required-by-server.pem | 22 +++
tls/tests/files/server-ocsp-required-csr.pem | 18 +++
tls/tests/files/server-self.pem | 30 ++---
tls/tests/files/server.der | Bin 920 -> 920 bytes
tls/tests/files/server.pem | 30 ++---
49 files changed, 1091 insertions(+), 832 deletions(-)
---
diff --git a/tls/tests/certificate.h b/tls/tests/certificate.h
index 63c341b1..2ce686fa 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-07-31T18:13:10Z"
-#define EXPECTED_NOT_VALID_AFTER "2046-07-25T18:13:10Z"
+#define EXPECTED_NOT_VALID_BEFORE "2021-12-15T22:50:21Z"
+#define EXPECTED_NOT_VALID_AFTER "2046-12-09T22:50:21Z"
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index 2127cbfe..0a41b2f1 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 "AX+tOuSPoSSzxau7zBGSOxAfrO/E6eLYvCv3O8MYTfE="
+#define SERVER_CERT_DIGEST_B64 "dR4Sd3sRyXBnaHfpNNhA1W6GKDa0ik31htJUYreos38="
static void
test_connection_binding_match_tls_server_end_point (TestConnection *test,
gconstpointer data)
@@ -2979,8 +2979,55 @@ test_connection_oscp_must_staple (TestConnection *test,
GIOStream *connection;
GError *error = NULL;
+ test->database = g_tls_file_database_new (tls_test_file_path ("ca.pem"), &error);
+ g_assert_no_error (error);
+ g_assert_nonnull (test->database);
+
+ test->server_certificate = g_tls_certificate_new_from_file (tls_test_file_path
("server-ocsp-required-by-server-and-key.pem"), &error);
+ g_assert_no_error (error);
+ start_async_server_service (test, G_TLS_AUTHENTICATION_NONE, WRITE_THEN_WAIT);
+
+ client = g_socket_client_new ();
+ connection = G_IO_STREAM (g_socket_client_connect (client, G_SOCKET_CONNECTABLE (test->address),
+ NULL, &error));
+ g_assert_no_error (error);
+ g_object_unref (client);
+
+ test->client_connection = g_tls_client_connection_new (connection, test->identity, &error);
+ g_assert_no_error (error);
+ g_assert_nonnull (test->client_connection);
+ g_object_unref (connection);
+
+ g_tls_connection_set_database (G_TLS_CONNECTION (test->client_connection), test->database);
+
+ g_tls_client_connection_set_validation_flags (G_TLS_CLIENT_CONNECTION (test->client_connection),
+ G_TLS_CERTIFICATE_VALIDATE_ALL);
+
+ read_test_data_async (test);
+ g_main_loop_run (test->loop);
+
+ close_server_connection (test);
+ wait_until_server_finished (test);
+
+ /* The server certificate states it supports status_request but our server does not
+ * actually set or support that.
+ * To be secure this must error as a bad certificate. */
+ g_assert_error (test->read_error, G_TLS_ERROR, G_TLS_ERROR_BAD_CERTIFICATE);
+
+ g_clear_error (&test->read_error);
+ g_clear_error (&test->server_error);
+}
+
+static void
+test_connection_oscp_must_staple_intermediate_certificate (TestConnection *test,
+ gconstpointer data)
+{
+ GSocketClient *client;
+ GIOStream *connection;
+ GError *error = NULL;
+
#ifdef BACKEND_IS_OPENSSL
- g_test_skip ("OCSP Must-Staple is not supported with the openssl backend");
+ g_test_skip ("OCSP Must-Staple on intermediate certificates is not supported with the OpenSSL backend");
return;
#endif
@@ -2988,7 +3035,7 @@ test_connection_oscp_must_staple (TestConnection *test,
g_assert_no_error (error);
g_assert_nonnull (test->database);
- test->server_certificate = g_tls_certificate_new_from_file (tls_test_file_path
("server-ocsp-missing-and-key.pem"), &error);
+ test->server_certificate = g_tls_certificate_new_from_file (tls_test_file_path
("server-ocsp-required-by-ca-and-key.pem"), &error);
g_assert_no_error (error);
start_async_server_service (test, G_TLS_AUTHENTICATION_NONE, WRITE_THEN_WAIT);
@@ -3157,6 +3204,8 @@ main (int argc,
setup_connection, test_tls_info, teardown_connection);
g_test_add ("/tls/" BACKEND "/connection/oscp/must-staple", TestConnection, NULL,
setup_connection, test_connection_oscp_must_staple, teardown_connection);
+ g_test_add ("/tls/" BACKEND "/connection/oscp/must-staple-intermediate-certificate", TestConnection, NULL,
+ setup_connection, test_connection_oscp_must_staple_intermediate_certificate,
teardown_connection);
ret = g_test_run ();
diff --git a/tls/tests/files/ca-alternative.pem b/tls/tests/files/ca-alternative.pem
index 31cf4df0..54d4de96 100644
--- a/tls/tests/files/ca-alternative.pem
+++ b/tls/tests/files/ca-alternative.pem
@@ -3,27 +3,27 @@ MIIFAjCCA+qgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBnzETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxLDAqBgNVBAsMI09sZCBV
bnRydXN0ZWQgQ2VydGlmaWNhdGUgQXV0aG9yaXR5MSIwIAYDVQQDDBlvbmNlLndh
cy5hLmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxlLmNv
-bTAgFw0yMTA3MzExODEzMTB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WjeE94Dc049MiGN/BYb+50j
-rF8ftm/eCiG+VrojoNYGYt76rFCVQ+3SJdw6q6MH3BpE4KjqDIw=
+b20wDQYJKoZIhvcNAQELBQADggEBANCBzTo6aZZih/FS1Xkbxxw/WaHb09FeGw2S
+bSNsLVrMbqwaWXP9zbdSPH8ZrW967tdnFsjBuehp0J7iaEMfPZbwTrKWz3IrDtPL
+6mNOpkhVdKYFNRZ/OCeu4wul3vGKUfjVkYX/ugjZkDv1bHz1fALEmq254P08Lgra
+6Y/5hhv33uyIJLhjZJTHL0SnHsi5+6c6KGjeUBCLQSlzxPv/wG0Z2xJM7Smr1ok3
+TFvJLjBAM2sSIHnjwDu3bYCRrRiUUvpT3kmfmbLoMdohPyTcWL+K3tfzxR7zVgTX
+r1jmHA7uDqQuRZkELd9sC4E/tepqgJZhHh/fgCeLyMhWuoCZqHI=
-----END CERTIFICATE-----
diff --git a/tls/tests/files/ca-key.pem b/tls/tests/files/ca-key.pem
index 750ec21d..a7232472 100644
--- a/tls/tests/files/ca-key.pem
+++ b/tls/tests/files/ca-key.pem
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAuT3sIZ4bc73lkopNtnbnGRl14qRebV9BlHCMrUXAL5cwbV6E
-a0jjTMatvxrIL+iWqgwWrPjJSuRviqnNq7xSaX6NlI7H4TdWwtLjWWuAx/iTiWBi
-qCGBem74SsPAvZyslHUhCwpKT/FZ6W1Jm4ORmNRJSorpJ+ELtdn08AmZv4qblipn
-YGeeKjErWUwLbkEW1jJcyN7T/7Xmv8CbT7l6TYcweYPacIBod5cRTiaffSU8YSSr
-2Xuc2mi8f1F6LyYK5m1eR67Olw7uJxFO6wjxUEA9e9gHl3cZGZwQKdXqMHBZnQwB
-DqJv611P8+SMSRHiidwCzI7xxHDbmCW0+j4OkQIDAQABAoIBAEdgGLALX8CFFwQT
-zkXUIs+FA+tEMi4qWfZ8N3g8PAUaWEqL9LHx78MRerj79M6g7Ayxg7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WFICMU5e6VyqzdbbFyABZB7mW9vN
+ElDhhyruahz6aVndbQTSZQEyg5/n23l2fsWy970E3/4SkOl3af3TxvIqLeS6ioaO
+XYpjADXP7k3YfQWWTWaCxdh2XHxXqGJev6hsdwsCgYAnSnMGQzpcppNx5zfwExs/
+BOrEb+/Kwkl1gA3xrjXQvoccA7WcpoPLJMXenXeGupHhwXY9KfKTgiQmezzq/U2D
+jowUdprtyA+x9eR6uwV8LlbSCNFqDUcZ6qAoIRJz64BZpsNLTpVfDZM3fEviJDCZ
+EJ4oqdWzLH69qxCrCWoFwwKBgAWNVmFyQ6h7DifLotgtcI0rUSRR5UiyAPBzilTD
+cVn8NKepKvkS2/lXzHPGy6IAjWpJhMhmDRw8uEUQ0DLYEHtH+jaaj/fmdGDcoEvD
+cIdkOQGbkjPYQKXyqk+o3dfiZaVUa6Ht8EIqEift7mIwSCVDWgmvLkVcoQG85GBR
+tdQ/AoGBAKrMb3PMnFRGLi4AuNe1OF8wftmAeN7iqxIVp/MX0ro10/WYWz2wtrLX
+M2IBkFjnDG8hbT/8RY9hujico844D2g9P1ojc3OrtBMXyKjwPDETi8cgzMVZdQA8
+IXnmfVH6OSyRu/Cki3j33XKOrfsNuqjzcLBoYiwClK82FTpwwxbj
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/ca-ocsp.pem b/tls/tests/files/ca-ocsp.pem
index 9b6ef96d..43463418 100644
--- a/tls/tests/files/ca-ocsp.pem
+++ b/tls/tests/files/ca-ocsp.pem
@@ -1,29 +1,29 @@
-----BEGIN CERTIFICATE-----
-MIIE9jCCA96gAwIBAgIUUnrK8xF95zauX9lNEPBSQqx/z4UwDQYJKoZIhvcNAQEL
+MIIE9jCCA96gAwIBAgIUM3TroE7SXHVVuaaxSpuzjI5I3c4wDQYJKoZIhvcNAQEL
BQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMR4wHAYDVQQLDBVDZXJ0aWZp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eAyxghHym6J6z5p2Le9K4sZ2pFVppJXvOPw58QZBZnP8h/v8vidr4fr/CPAh9gmp
-IwnAKK2sIsc1wqcltHWwGgLYp1WPs4Pa9FI=
+AQELBQADggEBAF5agl+PYDy0L6a2aqRQM+F0V7dSzE2um+6OWWXdcG4FoWUtnqIp
+g6extbMAE2A23N5CTCP0uZJ+pO8wTl02PwnlISFa4CEciJw/+YB32tG4RHwaFNQ6
+L4/StvsvjPxXpApqm7HVQIYfEmWMjN5VmX+EGHFmQzg95SM+LLij+BE2aj6NM1D0
+GhiGebYhQ++l1wzegp4cKzHk5aALbf9HfEd+licCDNdLZBLAuT7zpqEzpnM0q23r
+q2j/0utNGhO0csN6dFx3EI09aaOlZHiK6KC4wGhpWfw+cjWW6PDUSxP+VbjxT+GO
+IHXGS4y8gWWjeeB9Ov+ueVyAF4/EHBQgjzM=
-----END CERTIFICATE-----
diff --git a/tls/tests/files/ca-roots-bad.pem b/tls/tests/files/ca-roots-bad.pem
index a1648bcf..1188f8d5 100644
--- a/tls/tests/files/ca-roots-bad.pem
+++ b/tls/tests/files/ca-roots-bad.pem
@@ -1,31 +1,31 @@
-----BEGIN CERTIFICATE-----
-MIIE4zCCA8ugAwIBAgIUQL/y3nsri2som8J5/D+Hm8ljMwcwDQYJKoZIhvcNAQEL
+MIIE4zCCA8ugAwIBAgIUM8q6fCtGHAVVVGTVSWYjzuMDDB8wDQYJKoZIhvcNAQEL
BQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNh
LmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxlLmNvbTAgFw0y
-MTA3MzExODEzMTBaGA8yMDUxMDcyNDE4MTMxMFowgYYxEzARBgoJkiaJk/IsZAEZ
+MTEyMTUyMjUwMjFaGA8yMDUxMTIwODIyN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Wy82WdG2GhE1skiSxKvT3ov4
+e22F2lfArEF1aDSl4XimAlBMEZyO8CTYzLRJ15a37dTm9vc/RgZ5qGstuIv3JMDw
+FM/2awElNzvfob7jtPxdxEDGm6VfblcjMcPFAsAsJt74QZL1MzUeZzBGBIXpZJjK
+gj56yZDmx5mCcCU35xBhRVCWYKtAo96yuInZpQakKmTG0FPlKQStBdoMJEYqBwF6
+2yyWraJPJjqEtFwMaelgTgrxhWhR1D4U4yOoXfhZlqv1KjdFicUsg2EXFHdy3kFD
+BN+T/SWxuA==
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290
diff --git a/tls/tests/files/ca-roots.pem b/tls/tests/files/ca-roots.pem
index cb431a62..3b5b72eb 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-----
-MIIE4zCCA8ugAwIBAgIUQL/y3nsri2som8J5/D+Hm8ljMwcwDQYJKoZIhvcNAQEL
+MIIE4zCCA8ugAwIBAgIUM8q6fCtGHAVVVGTVSWYjzuMDDB8wDQYJKoZIhvcNAQEL
BQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNh
LmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxlLmNvbTAgFw0y
-MTA3MzExODEzMTBaGA8yMDUxMDcyNDE4MTMxMFowgYYxEzARBgoJkiaJk/IsZAEZ
+MTEyMTUyMjUwMjFaGA8yMDUxMTIwODIyNTAyMVowgYYxEzARBgoJkiaJk/IsZAEZ
FgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZX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FM/2awElNzvfob7jtPxdxEDGm6VfblcjMcPFAsAsJt74QZL1MzUeZzBGBIXpZJjK
+gj56yZDmx5mCcCU35xBhRVCWYKtAo96yuInZpQakKmTG0FPlKQStBdoMJEYqBwF6
+2yyWraJPJjqEtFwMaelgTgrxhWhR1D4U4yOoXfhZlqv1KjdFicUsg2EXFHdy3kFD
+BN+T/SWxuA==
-----END CERTIFICATE-----
GLib shouldn't care about this comment
diff --git a/tls/tests/files/ca.pem b/tls/tests/files/ca.pem
index 93ec59a2..ca2dc9e5 100644
--- a/tls/tests/files/ca.pem
+++ b/tls/tests/files/ca.pem
@@ -1,29 +1,29 @@
-----BEGIN CERTIFICATE-----
-MIIE4zCCA8ugAwIBAgIUQL/y3nsri2som8J5/D+Hm8ljMwcwDQYJKoZIhvcNAQEL
+MIIE4zCCA8ugAwIBAgIUM8q6fCtGHAVVVGTVSWYjzuMDDB8wDQYJKoZIhvcNAQEL
BQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNh
LmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxlLmNvbTAgFw0y
-MTA3MzExODEzMTBaGA8yMDUxMDcyNDE4MTMxMFowgYYxEzARBgoJkiaJk/IsZAEZ
+MTEyMTUyMjUwMjFaGA8yMDUxMTIwODIyNTAyMVowgYYxEzARBgoJkiaJk/IsZAEZ
FgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZp
Y2F0ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZI
hvcNAQkBFg5jYUBleGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCC
-AQoCggEBALk97CGeG3O95ZKKTbZ25xkZdeKkXm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sg2EXFHdy3kFD
+BN+T/SWxuA==
-----END CERTIFICATE-----
diff --git a/tls/tests/files/chain.pem b/tls/tests/files/chain.pem
index f5302357..74bee920 100644
--- a/tls/tests/files/chain.pem
+++ b/tls/tests/files/chain.pem
@@ -3,78 +3,78 @@ MIIDuzCCAqOgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBrTETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxKzApBgNVBAsMIkludGVy
bWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMMG2ludGVybWVk
aWF0ZS1jYS5leGFtcGxlLmNvbTEqMCgGCSqGSIb3DQEJARYbaW50ZXJtZWRpYXRl
-LWNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcyNTE4MTMxMFow
+LWNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyNTAyMloXDTQ2MTIwOTIyNTAyMlow
SzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUx
GzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQAD
-ggEPADCCAQoCggEBAKdl434MfWmQOdgVOK52liMyCIrv8pDdrFTIwhk3aj59dpB/
-Rx8C7FbOHA8tyIBWpKaNNNT3S/y4buWHcJywr+3oqy31+KFf/hKnDDgR86j822PK
-azfwcjrR05GBfKN3oKo6HEtsJ9jiicGFVp5gZkr18OsSbJiVuWbjEhOgUe4etHU+
-oWwnvKfpwwc3R9mDkqEtP+58lrGXmvUmVICfDW8Hymm4SXGMH05p02+an6rqciFk
-0GNMbeUeYK8fyVprqZIO8aTRAr6+Lb5PpBm6BTKI3KVGpRsevCJTVH867phwp7Qj
-ImbsEpxbUo9sJsIHshhNsLwi0bl7w4QhFrGlKO0CAwEAAaNHMEUwCQYDVR0TBAIw
+ggEPADCCAQoC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8Kd5KsQxfcPW6uQMQ8K+WEmtdeT2OjDkKzkLhMfAXbaSOrGf/95rMk8
-Tq/Cx7csH+M21m8ZvrvJCHFr673d4GvWKN7nfa7xcd2ErvKWLEIiyp607AfD5wHg
-cKm0LtC9RCVABGrS7tvW6DfR2V0QNKk/+OlWAqPXzElJwZPwI4CdGjAVfYkEfE86
-uTWT08HDZM5gD1ohhUPEnNxma1HkMOnBhhxmnA3HfFB7l6BPPAj4xmv/tQv5BtfT
-QSNhrzqDvA==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAHwt6zBVQmDrc
+EBR2Dp/a5CNVTa9KtvB7fVQSfmgLEz3GgcgE21s6Wy82WdG2GhE1skiSxKvT3ov4
+e22F2lfArEF1aDSl4XimAlBMEZyO8CTYzLRJ15a37dTm9vc/RgZ5qGstuIv3JMDw
+FM/2awElNzvfob7jtPxdxEDGm6VfblcjMcPFAsAsJt74QZL1MzUeZzBGBIXpZJjK
+gj56yZDmx5mCcCU35xBhRVCWYKtAo96yuInZpQakKmTG0FPlKQStBdoMJEYqBwF6
+2yyWraJPJjqEtFwMaelgTgrxhWhR1D4U4yOoXfhZlqv1KjdFicUsg2EXFHdy3kFD
+BN+T/SWxuA==
-----END CERTIFICATE-----
diff --git a/tls/tests/files/client-and-key.pem b/tls/tests/files/client-and-key.pem
index 4f35914c..fc803a13 100644
--- a/tls/tests/files/client-and-key.pem
+++ b/tls/tests/files/client-and-key.pem
@@ -1,48 +1,48 @@
-----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQQwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQUwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4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K4eiyEQOi/881mJpsSxLGcgofOuZRxhkrSEeFeOG//c
+ghkoneECgYEA/WIGlOtrKU0/vORKwfyte+YUqec6Raf6RrfBr1Lzy19o22YBl5ob
+Rb/XKa6D6cbPxC7u5m7S7sR22WaErB5k8Go/OciGO1RQxYiEA2DAlm5bCa4bw6h0
+4v1ep5D24ckLvt0xa6Sbul7+SYHZgWfhh2FqbbiTRA+4q0RRluE8rY8CgYEAwogL
+B4nCww8p/p9Vd6eeG2JxFD4kg244X5YN+DDViGxn+uLeRJD5T11CANsYikEnPAnP
+e1o3THhREFeOhVjbX+2vWv947EkgW2BrRbswZbL7stzctyYqqHH5fNba2dQTdNuI
+r/Gs5HxLjJhZkWtX8f6Ex+zRNyVFF/eWw3zCc7kCgYEAqMgOSE6VAFsTtPiBD70H
+trtpUk/TUij1nvuyid4AxZzVVSgasWiW+Bw07+/usN+c8DqvKlHyMdgurtwKTjik
+1jx/xzbaq1SbxSkNfs6JGuuBuu3+UpO44KcT0RzQR1BLgaUH0YNBtKCoVECpqPiQ
+k0SBx3qmpjSut273xkBc0eMCgYB0kR7C0psBVYndiM6nF6rXUALglWg91YM0S+9t
+BJ4/1G3uWZnEznaGRySw7Jjk56vB/0Lz8JhoW0SAHWdKonc6IWxNg/6K4DriZoGB
+VGzo0/qdMFmV6env6/QLCZg0pS9Pe+mJPLFUbOK8ieJKEF+vo8sfHdo0SEIB3Zva
+4lyHCQKBgBElPeikvCbSUwSrk+J5AggJd4vlCe7VSj5PK//gj7387yuZ/biCOAdh
+SAPo78vMXKbhDm8/TsqG7ckceaW9ObnzMonxweyE+SKNJk/BmP/b+HG/JK+IlZAv
+OUUHW5aaj00wg8m2DTokN/lWN+kEaH2gpE4Q0RceeY36xlZhfP5U
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client-csr.pem b/tls/tests/files/client-csr.pem
index 7197ec74..284d01b7 100644
--- a/tls/tests/files/client-csr.pem
+++ b/tls/tests/files/client-csr.pem
@@ -2,16 +2,16 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csCWS6erxeDmXt0CQGEvHkXDy/QFjsNm1jMMeuY
+cSc2IjkFGRS5nqs3htvT9S7lwThmTvRvQn/s2mvdoD+nfBhAu/rD9l5VuAXLmPQw
+C/Lm4LjXj/zZNMj/eyKnU0MVLRHqNuS6uBrzjfpseBnjjrXqGjqjHMsuBwhPgW12
+gB44xqL3+EPLWM8w0S6pVwIDAQABoAAwDQYJKoZIhvcNAQELBQADggEBAIlurekS
+MudOVnIfl37k2vwif0lMJvGw7yLfiBf5Ge800qGJ9/JKPGboSQA8g1yDDCUTXUVa
+Nn3L4dqfjBmJkiSL1wzUR9NDXUiYZJYcqc53NpiliheFXIpyrUoBfNi/iSkJUbPR
+dPpQ6Hjxjh6MtGFK1zJDBZAxzvwBywynlk70roiecVEsb2DqsrDtW3oCRgH3OfQn
+JIyUJwJ+sn0SBKwkE2m1g0MPrmaUebpn9l9iMINv/+dSCcqvVWgSBnCZVcQBgmTl
+N43ceaoC6ELiUjP+Hm2pol+aBePlMnYhVWABC+abTSI84pYpTY4YfSFGH+Oy+Fda
+pnARg/oXRAuxhgU=
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/client-future.pem b/tls/tests/files/client-future.pem
index e4a1f960..a453631a 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-----
-MIIDYTCCAkkCAQYwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDYTCCAkkCAQcwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
AQkBFg5jYUBleGFtcG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6JnrxWdHLU3KWtFJtv45PWGZXbTT3CH+lfUa4qcU
+NRWOSMZB+4VGVVi6cnqe+IAOItTRYTpbsbX/B+JdraKUTZyfnpCY8hXcpp+3Nd2E
+8n0LPfgC0hQpqLEgXE8NywJZLp6vF4OZe3QJAYS8eRcPL9AWOw2bWMwx65hxJzYi
+OQUZFLmeqzeG29P1LuXBOGZO9G9Cf+zaa92gP6d8GEC7+sP2XlW4BcuY9DAL8ubg
+uNeP/Nk0yP97IqdTQxUtEeo25Lq4GvON+mx4GeOOteoaOqMcyy4HCE+BbXaAHjjG
+ovf4Q8tYzzDRLqlXAgMBAAEwDQYJKoZIhvcNAQELBQADggEBAMRiTmPiC4oh9eqv
+AWVXieDP08IQ/x56p6vL61k1MrCHP5XWCpPZ3HGEy+SC6BuHC0O3vMGiFnRxtm9Y
+YhCJZ+FUqqQD6dYWNW5vuhvx2SbiH6zUBxby2uj5LWXmAHb3zq601e0l5j74rGsm
+BQxQRfhyShvLhl7efBPl2P7jFYC/5orEPwjIZTg11Gb2oILF5j5VcG33aJzYvflg
+JZc8SL7tUATaw8DR29t/B2g96+IPDNM0bxFkXUY+eW6S5EvWLbqNxX9ofwvgyw3c
+oV2cWyDhqk839+X1Q9ruJdjlMuUN4y/Z9gk/3n012bVWuCDKnhYJ7LqPRvfVRV6i
++l0amkk=
-----END CERTIFICATE-----
diff --git a/tls/tests/files/client-key.pem b/tls/tests/files/client-key.pem
index c3d0a958..de4f6cb0 100644
--- a/tls/tests/files/client-key.pem
+++ b/tls/tests/files/client-key.pem
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
-MIIEowIBAAKCAQEA49u5kwy4Bg0cd872he4Mkba81ymELicSiV0mtLhavtflFReV
-VQfIeLBjZLupey1k/bmbof05uXjYDKwYNhxwpKbT8173sIaRO4xKgkV+bwQ/VbmG
-fYXKICZwkkMQDiz0Abtk25m1uLssynkzQntDKP/sAqu5ophd8HUJYcBHkH2YCoTX
-WEZklxQA3iDFXsh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rKU0/vORKwfyte+YUqec6Raf6RrfBr1Lzy19o22YBl5ob
+Rb/XKa6D6cbPxC7u5m7S7sR22WaErB5k8Go/OciGO1RQxYiEA2DAlm5bCa4bw6h0
+4v1ep5D24ckLvt0xa6Sbul7+SYHZgWfhh2FqbbiTRA+4q0RRluE8rY8CgYEAwogL
+B4nCww8p/p9Vd6eeG2JxFD4kg244X5YN+DDViGxn+uLeRJD5T11CANsYikEnPAnP
+e1o3THhREFeOhVjbX+2vWv947EkgW2BrRbswZbL7stzctyYqqHH5fNba2dQTdNuI
+r/Gs5HxLjJhZkWtX8f6Ex+zRNyVFF/eWw3zCc7kCgYEAqMgOSE6VAFsTtPiBD70H
+trtpUk/TUij1nvuyid4AxZzVVSgasWiW+Bw07+/usN+c8DqvKlHyMdgurtwKTjik
+1jx/xzbaq1SbxSkNfs6JGuuBuu3+UpO44KcT0RzQR1BLgaUH0YNBtKCoVECpqPiQ
+k0SBx3qmpjSut273xkBc0eMCgYB0kR7C0psBVYndiM6nF6rXUALglWg91YM0S+9t
+BJ4/1G3uWZnEznaGRySw7Jjk56vB/0Lz8JhoW0SAHWdKonc6IWxNg/6K4DriZoGB
+VGzo0/qdMFmV6env6/QLCZg0pS9Pe+mJPLFUbOK8ieJKEF+vo8sfHdo0SEIB3Zva
+4lyHCQKBgBElPeikvCbSUwSrk+J5AggJd4vlCe7VSj5PK//gj7387yuZ/biCOAdh
+SAPo78vMXKbhDm8/TsqG7ckceaW9ObnzMonxweyE+SKNJk/BmP/b+HG/JK+IlZAv
+OUUHW5aaj00wg8m2DTokN/lWN+kEaH2gpE4Q0RceeY36xlZhfP5U
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client-past.pem b/tls/tests/files/client-past.pem
index f1e738dc..4fec3d97 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 CERT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bGM
-g8ByeyRgK0CGltZPmlhFHe9sIW5vbh6KkQcpogKY/UzhOXw7YU4sHxKXEd9Vl9y9
-66+Jp7Hk9NTXLPIGYfQzp4zREKyNAqF/lF8kEouPUecQA1KIP8KG6ESB3k5YvQMQ
-RE+cD9gJGqThFm0MY8ZXLdQJSF6Ty3ri67xJ3kgwcztmMbaR1Z9QrLrKtjjMYI2w
-wg==
+cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMCK7/sF1RVJ
+4jS+lLWciJMKeSGfI6bomevFZ0ctTcpa0Um2/jk9YZldtNPcIf6V9RripxQ1FY5I
+xkH7hUZVWLpyep74gA4i1NFhOluxtf8H4l2topRNnJ+ekJjyFdymn7c13YTyfQs9
++ALSFCmosSBcTw3LAlkunq8Xg5l7dAkBhLx5Fw8v0BY7DZtYzDHrmHEnNiI5BRkU
+uZ6rN4bb0/Uu5cE4Zk70b0J/7Npr3aA/p3wYQLv6w/ZeVbgFy5j0MAvy5uC414/8
+2TTI/3sip1NDFS0R6jbkurga8436bHgZ44616ho6oxzLLgcIT4FtdoAeOMai9/hD
+y1jPMNEuqVcCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEALGNMMQaGcCAYWOpW967Z
+K28yuHljz2A1d3xC8V4Wus7r+33nuSnwlBgRBpRpRsAOaDaZ0AiC35cqaHfDjDQT
+jDgNRMScRPyKT6kkxwM5sj1aJPlLgUxSLgFJjSasG96NiLZhCh7osikRoF2YUEWb
+pWTYP1m1+8j+ApB96S5kZhBBrvCp32M1QZg53FFOnOY0CuDEYevQlnuGf7BapDMh
+Kwubxg/pV8rImr3fBns3RRcuM/TTSsFagibV2fga4nUuZ6cmP0AM2FFBsRKLmAW0
+GeSZ3jgViYcwIPOCY0yjWuYrdvwIBxqOeIWAavY+/zkpQUxmww586cSxsnz26MUy
+ig==
-----END CERTIFICATE-----
diff --git a/tls/tests/files/client.pem b/tls/tests/files/client.pem
index e2646c8d..ea216d6f 100644
--- a/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ZsD12qSO2CDGHWsuPdMg9AzAq+rYw3w+sA/V0ZZUtC5r8OnKyj
+DkD9hqN6gRwCVZNmHmEdTM2kc8UkhJFHD9U7HnRi7HoRF7bEpGaXzOQj/o22FYUT
+dQ==
-----END CERTIFICATE-----
diff --git a/tls/tests/files/client2-and-key.pem b/tls/tests/files/client2-and-key.pem
index c77a0313..865625b5 100644
--- a/tls/tests/files/client2-and-key.pem
+++ b/tls/tests/files/client2-and-key.pem
@@ -1,48 +1,48 @@
-----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQcwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQgwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA3MzExODEzMTBaFw00NjA3MjUxODEz
-MTBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTEyMTUyMjUwMjJaFw00NjEyMDkyMjUw
+MjJaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMyvCeaJLmsD
-NmOcOr+a0UdR6VLWMMOhDh96pxQTsOEIFZgHbPJmq6VQA7THvqqiDQRFlgr9Q6HP
-qQK26VddXYtvAwotSLxNQabG5YKdv6e1/TwiYwESI+2TVzFJmC/v3W0ES/YH8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BSm95m/ZQVoBW6OdoJ0hLGL9UKJ5+WjtArfNq6Bj8HKdbGcXNaoGWf2
+JuDxpMtulFfk/IuWGHo9wqUCgYEAvEVKmxGHu/bbPmboN/wgtKI33D858JOKmrz+
+38MOJ6Vd8MiCMqJnL5jHEMdZNTShe6fWLyNHS7EcSKltFpQoLHJbhjAVriAawBGz
+larI89MRQxKP64X7ksM/+SMYZ0zKV+NrFgFO9dfDdSUETET+eSHa6fFSr3xTveWh
+MzFxnbECgYBIjpoWiwes7Cokvv/UKf43wWEkCKBZhnoFYnO1rOkQKLKDKFYsTuJm
+wqpRddc8SI4D+M6IaZBOBtuF7ZZfPD+AUjZPGUEgPWexbgvHbUEjSSyQlLPT35dA
+iLyVAIJ7btTbGy6mPfO4VUtKe6bKPb8E5L+aMzQTk4zUjWUXFNRvRw==
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client2-csr.pem b/tls/tests/files/client2-csr.pem
index 341c6174..da5e1dcf 100644
--- a/tls/tests/files/client2-csr.pem
+++ b/tls/tests/files/client2-csr.pem
@@ -2,16 +2,16 @@
MIICpzCCAY8CAQAwYjETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
ARkWB0VYQU1QTEUxDzANBgNVBAMMBkNsaWVudDEhMB8GCSqGSIb3DQEJARYSY2xp
ZW50QGV4YW1wbGUuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA
-zK8J5okuawM2Y5w6v5rRR1HpUtYww6EOH3qnFBOw4QgVmAds8marpVADtMe+qqIN
-BEWWCv1Doc+pArbpV11di28DCi1IvE1Bpsblgp2/p7X9PCJjARIj7ZNXMUmYL+/d
-bQRL9gfw7y/7KuYKOXn0ZIwod6JQDy5fzPCygyFDj1pa2BbH1gwh3RwLUGBvY9Th
-ABYx1f5oD3Azer3cG7I/8BErNNFSAsAcJzj+WSlUSdYETSNMQ/3CxQxuKra79iBZ
-wyBXzBghYdnJDAFyp3CUA2JKc5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6YGMeHRAFtrdmc3NTG3/nxH6gz7X6+uosxCjcsDi2
+AXn4+/8aWfXYl0oPCm0Yxx1MXH2MBRUtsP1g3a6IewOOc5+xwj2vCPWlfM806xDv
+jEqreYhUE1mVwWE=
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/client2-key.pem b/tls/tests/files/client2-key.pem
index c48c3ba2..543bbd26 100644
--- a/tls/tests/files/client2-key.pem
+++ b/tls/tests/files/client2-key.pem
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAzK8J5okuawM2Y5w6v5rRR1HpUtYww6EOH3qnFBOw4QgVmAds
-8marpVADtMe+qqINBEWWCv1Doc+pArbpV11di28DCi1IvE1Bpsblgp2/p7X9PCJj
-ARIj7ZNXMUmYL+/dbQRL9gfw7y/7KuYKOXn0ZIwod6JQDy5fzPCygyFDj1pa2BbH
-1gwh3RwLUGBvY9ThABYx1f5oD3Azer3cG7I/8BErNNFSAsAcJzj+WSlUSdYETSNM
-Q/3CxQxuKra79iBZwyBXzBghYdnJDAFyp3CUA2JKc5udKa+Ne1JiEpnQAT5fA/jd
-xEOIbxmY+lbYj1FcCzXbseewMLXCOaeRMCqO4QIDAQABAoIBAQCDOGhRenresiWJ
-QJxNQBSQ84twxs5mbHcgaUJ51ZHdApDNcV1AHeBG0ABAQpoSzGcp6O6jRvC36OiC
-S/9WOg4BmP7K5HMv/RtsrzBuR3GaNEsP5T+xbQ7JfV81wuelO9Kp1EpahYbJ4OnV
-+7psVKoAV/aNk+pdgS57tYfMF2Q3nuEC6TZb+oJIuvbr7LHsQ9KmeZDyQeEVyyNi
-vIC9pqtjGaA04lF7IzGwv4GN9g0oG1fFWzPXJ6qHVOgdRK5tyHnsWFf35XHgVMdH
-FcUdnMlcogBprsU+hywU31/uZR5VJlQxZTBaNcGcfqBl6Q8IfZ7TH2ZCodWhb34l
-SJMKdctRAoGBAOWDLAw6FE7lmI0mskoeUGwf2oN7taTuRzyfeM5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tulFfk/IuWGHo9wqUCgYEAvEVKmxGHu/bbPmboN/wgtKI33D858JOKmrz+
+38MOJ6Vd8MiCMqJnL5jHEMdZNTShe6fWLyNHS7EcSKltFpQoLHJbhjAVriAawBGz
+larI89MRQxKP64X7ksM/+SMYZ0zKV+NrFgFO9dfDdSUETET+eSHa6fFSr3xTveWh
+MzFxnbECgYBIjpoWiwes7Cokvv/UKf43wWEkCKBZhnoFYnO1rOkQKLKDKFYsTuJm
+wqpRddc8SI4D+M6IaZBOBtuF7ZZfPD+AUjZPGUEgPWexbgvHbUEjSSyQlLPT35dA
+iLyVAIJ7btTbGy6mPfO4VUtKe6bKPb8E5L+aMzQTk4zUjWUXFNRvRw==
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client2.pem b/tls/tests/files/client2.pem
index 720bc188..18c8e2c8 100644
--- a/tls/tests/files/client2.pem
+++ b/tls/tests/files/client2.pem
@@ -1,21 +1,21 @@
-----BEGIN CERTIFICATE-----
-MIIDXTCCAkUCAQcwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
+MIIDXTCCAkUCAQgwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTA3MzExODEzMTBaFw00NjA3MjUxODEz
-MTBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMTEyMTUyMjUwMjJaFw00NjEyMDkyMjUw
+MjJaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMQ8wDQYDVQ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RziX/H8JuVnFnZ8iskHf9oPpC+
+wyR//ysKWpsmeA8+oDoj5wxv3QKqjpsbPNtWXjURdrY1oKlaDVJpUoSAfU1fDpC/
+v0FjcdapmJophk9KelKqujky+NdTzH2YDibeFTdTNOgSFpAjwU0BPkMfpqlbCqNC
+ny6eGU3UxisCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAkIkL3gG8B9GTVDOxX/t6
+cC9+Jdddo5oMUQrE2A5Cbg4hCJHUdxClz7KBsiCTEbX38K0MO5kRNu8zE2pGYxxJ
+SocOwZ74TQNb24wdCBSh8ZmiNeKmdQvNfuwLoNrWZhit8iVCXaPFtaR0V2Dkc+1T
+VYxVV2IIXaX1huyxwnR6OslA+JgbjNYJNrSnyvwfSur/yw2bwtNnBxYbm8oeQiDl
+ZXJKYzWUmyBw3ezYRANTtx05n21vWfBGiBYPPCwgRyqsdtujlcMPUSvWJ1GYq8eC
+uVKdcxuODaz8aULh36AOG5Qq4eucd5+oFQSIqIXmdDCDL51HNLosqMt/QP8NxFlc
++Q==
-----END CERTIFICATE-----
diff --git a/tls/tests/files/create-files.sh b/tls/tests/files/create-files.sh
index b699e7c8..3055e882 100755
--- a/tls/tests/files/create-files.sh
+++ b/tls/tests/files/create-files.sh
@@ -88,18 +88,32 @@ openssl pkcs8 -topk8 -in server-key.pem -outform PEM -nocrypt -out server-key-pk
openssl pkcs8 -topk8 -in server-key.pem -outform DER -nocrypt -out server-key-pkcs8.der
#######################################################################
-### Server (OCSP Missing)
+### Server (OCSP required by CA)
#######################################################################
-msg "Creating server (OCSP Missing) certificate request"
-openssl req -config ssl/server.conf -key server-key.pem -new -out server-ocsp-missing-csr.pem
+msg "Creating server (OCSP required by CA) certificate request"
+openssl req -config ssl/server.conf -key server-key.pem -new -out server-ocsp-required-by-ca-csr.pem
-msg "Creating server (OCSP Missing) certificate"
-openssl x509 -req -in server-ocsp-missing-csr.pem -days 9125 -CA ca-ocsp.pem -CAkey ca-key.pem -CAserial
serial -extfile ssl/server.conf -extensions v3_req_ext -out server-ocsp-missing.pem
+msg "Creating server (OCSP required by CA) certificate"
+openssl x509 -req -in server-ocsp-required-by-ca-csr.pem -days 9125 -CA ca-ocsp.pem -CAkey ca-key.pem
-CAserial serial -extfile ssl/server.conf -extensions v3_req_ext -out server-ocsp-required-by-ca.pem
-msg "Concatenating server (OCSP Missing) certificate and private key into a single file"
-cat server-ocsp-missing.pem > server-ocsp-missing-and-key.pem
-cat server-key.pem >> server-ocsp-missing-and-key.pem
+msg "Concatenating server (OCSP required by CA) certificate and private key into a single file"
+cat server-ocsp-required-by-ca.pem > server-ocsp-required-by-ca-and-key.pem
+cat server-key.pem >> server-ocsp-required-by-ca-and-key.pem
+
+#######################################################################
+### Server (OCSP required by server)
+#######################################################################
+
+msg "Creating server (OCSP required by server) certificate request"
+openssl req -config ssl/server.conf -addext tlsfeature=status_request -key server-key.pem -new -out
server-ocsp-required-by-server-csr.pem
+
+msg "Creating server (OCSP required by server) certificate"
+openssl x509 -req -in server-ocsp-required-by-server-csr.pem -days 9125 -CA ca.pem -CAkey ca-key.pem
-CAserial serial -extfile ssl/server.conf -extensions v3_req_ext -out server-ocsp-required-by-server.pem
+
+msg "Concatenating server (OCSP required by server) certificate and private key into a single file"
+cat server-ocsp-required-by-server.pem > server-ocsp-required-by-server-and-key.pem
+cat server-key.pem >> server-ocsp-required-by-server-and-key.pem
#######################################################################
### Server (self-signed)
diff --git a/tls/tests/files/intermediate-ca-csr.pem b/tls/tests/files/intermediate-ca-csr.pem
index 2f8bd1da..0da8f0eb 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
QXV0aG9yaXR5MSQwIgYDVQQDDBtpbnRl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o2vnsyiH500Y8CVxqbqbIBje4IiE9kOz42+0YaONVwO3gNCCVx2xPKE
+o1HVwrsLBCJYB8QEWRJ9DJbHhbCN+cWyJZ7947ixY99k7rCwfjIazJIlsyXoFYQv
+wq7hTWGrelEgjqY7amQMJHccKUiIGDe3eBmpyZzZLGxkagWotWm4IbcEzL03XLQs
+T67d+zdjqHAloFPcx70k0JJNLP0q6+GSgqI4EhFQ0emhr1eROdeG//GfgFAiuNzX
+K+5FqmlhB5uKBqtvP38UWYaz1/o65BIw58Olr97G0GjrGkq6vnL9nrco+QkCAwEA
+AaBRME8GCSqGSIb3DQEJDjFCMEAwHQYDVR0OBBYEFC3f1lcydhttCFf3uesG2RL5
+bQMFMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEB
+CwUAA4IBAQC5frEL3407E2y0gN23uoDehQdBrFqphCHotUFpC+ClwCRrd92SsKVS
+yAbLQFYsueiaYgUNZDEhOS2A/S17bQbB6f/2M98HzC++sve5fRFaQ86RdBquCR7o
+60uA73UbqK9gx3+w5YnZU8x/vAH1i0xVuJkgFPT8Ny8W1UMoTp5c8SL/dPK86GLH
+jWeEwMxTJIUMY1tc7GkqLziaIO6NgJaBJzPCgSqLCzKE5ecli34jhJJDLavDtIjD
+uUNSk2C3k9y9Pqv5htVbOJoQBdaE6lr7PE/vvu5Tz9ek95xj2uV7/X6s7xV7unjZ
+EZbnZlqsZXbEp3ka5sV2/+zO08x7FSBn
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/intermediate-ca-key.pem b/tls/tests/files/intermediate-ca-key.pem
index e72c90c2..0afdc5c6 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-----
-MIIEowIBAAKCAQEA38VgSXvYXpIeZ0B3dJiTiASAaDvWBSN8iTweFDX0vxWUr1rT
-xJt3HAD4ftsEBnM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A PRIVATE KEY-----
diff --git a/tls/tests/files/intermediate-ca.pem b/tls/tests/files/intermediate-ca.pem
index deb1b892..70f3755f 100644
--- a/tls/tests/files/intermediate-ca.pem
+++ b/tls/tests/files/intermediate-ca.pem
@@ -1,29 +1,29 @@
-----BEGIN CERTIFICATE-----
-MIIFAjCCA+qgAwIBAgIBCDANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+MIIFAjCCA+qgAwIBAgIBCTANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcy
-NTE4MTMxMFowga0xEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZ
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyNTAyMloXDTQ2MTIw
+OTIyNTAyMlowga0xEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZ
FgdFWEFNUExFMSswKQYDVQQLDCJJbnRlcm1lZGlhdGUgQ2VydGlmaWNhdGUgQXV0
aG9yaXR5MSQwIgYDVQQDDBtpbnRlcm1lZGlhdGUtY2EuZXhhbXBsZS5jb20xKjAo
BgkqhkiG9w0BCQEWG2ludGVybWVkaWF0ZS1jYUBleGFtcGxlLmNvbTCCASIwDQYJ
-KoZIhvcNAQEBBQADggEPADCCAQoCggEBAN/FYEl72F6SHmdAd3SYk4gEgGg71gUj
-fIk8HhQ19L8VlK9a08SbdxwA+H7bBAZzFTIdj535Wl3x1T19Tqe+w7RBLCJlqC9J
-3d7fz5uMYz1UFa/R39kAxO38wQpHcVHdEwqjGtg+Cp1TMT9myF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mNhQGV4YW1wbGUuY29tghQzyrp8K0YcBVVUZNVJZiPO4wMMHzAP
BgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQEAwIBBjAmBgNVHREEHzAdgRtpbnRl
cm1lZGlhdGUtY2FAZXhhbXBsZS5jb20wGQYDVR0SBBIwEIEOY2FAZXhhbXBsZS5j
-b20wDQYJKoZIhvcNAQELBQADggEBAJArQW4HGrmrCNYdA3C6LwwqhuzJzwR87HPg
-jmK+1f/E4qPlaT8PhgoxmU2bOCoI/eNHPSfXk5sOl8k6HUZyF/hRdFBUgUtUEO81
-udRrFXRwUeRY30p8BXm8sbxNGk9FMCO/czdS2MD6T7fdLI8Z6g9hz+eOOyEHVy6D
-Z/LkUgIMQwVibdMuNs2fxgpmReZgraqQOeHAyCCo0SkZXGkN2rHV3kYJkuc522kq
-K11ldkrxKhHU77ebxrHvgYtv0D90rspFEcY16/0iYAFdthZX1gJOgpMivD7lXykX
-IHU1jn7fIdjT+uaoB+5ScQKYrlngZcaij16rX0nj7GMwrls/Awc=
+b20wDQYJKoZIhvcNAQELBQADggEBAFctWN1xJ3fLGWcSgMiCTgzQFU3vydWILInW
+rJMyjDaEC7yciiJbRbAhPo0ouMlkNVGFwltzYMdtNWd8ifZ3S36A4RAKRi8FFXz0
+hX2w7OiMoMj4R8TWfNx7aOdPAzfdqRd5Op3fdZugC+WxtIdSU2e7sXn00ig0Y/8o
+/yjJhbw5vCrLTnsdXJ+n4E32Bh9nCzB7Tj0/ABAwR16B0CAgcuXgdVJAF/X1nMEW
+/ePG8c80TU35HkkD9mX4jr6/IDOWaeGnEr10pY4GNA+Jpm1S4y20dp5wZZ9wP+aP
+w32ZXeBBFsifqW6q9hu9q5sMDq/ATKLpQDPEcjR6hh7tmb19kUM=
-----END CERTIFICATE-----
diff --git a/tls/tests/files/non-ca.pem b/tls/tests/files/non-ca.pem
index 4a0f253f..bad80042 100644
--- a/tls/tests/files/non-ca.pem
+++ b/tls/tests/files/non-ca.pem
@@ -1,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gqBJSew9rxq
+eovYxAW2+eWDWYe3Rx/DCG5xu+ASxwpNwfr+Qb4PDa1hX/SVjh5oCX9FwAD3woKv
+jLA9JyZgk7gAFJm9hP5K8y+fGAByiQRe1LAxfp0XixxDPZqhlbEoAmbt7vs47ItP
+/ZZluY2BooQXS+LjysW0COI11AgZ8N9yWseMfohWTLhr
-----END CERTIFICATE-----
diff --git a/tls/tests/files/old-ca-key.pem b/tls/tests/files/old-ca-key.pem
index e3fdec1a..b3e745eb 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-----
-MIIEogIBAAKCAQEApyKgqX9NJBzu8uCA/ksWSdo2r9nCktkUmR4ycfgLshqY4+tL
-1YBu2hL7ZflZ9b9NZimqrA0JMEH+WpxchYYXuZTCax0GRlJairtH+WayrsP6qUhe
-uAhRvoBxT0cdnTQ/nUs66cRRMItq7W+yU+mhCTgNag4gMRWN6w4BaFXm+VbCV3l+
-k9rfVOlTM/r+CCfKClxvtDDmbx2L/ifDj+rdURnzYx4JU83giG7XTKoSyY7KEeKf
-SC/VoEVKLCBEE3A6T7uohH+Vz7BSMsJES7CTpwpauH6ysyUZYcJRxFGUvDSBpt3g
-sE+pexU8kCHOMPYhTd0Wb40vXwH4sRz+18KDWwIDAQABAoIBACuwLoT/5L863O8Z
-5j4SjJnzc3YWGvldyzeXICKQbyY4M5zoRaNidheE/LgULQLC5c19uMJOigdWSNGQ
-q9KvUYZOL1/mb1x0bHx1JgQ4Zx6t1djoNPIwIoYEdxn9Ae202agZISY4Dez9lI7K
-MrgiitipEUCWvq117+nweEe4pK6qJb+ES2rftJ0NwUkIbnI3Jgz9chQU7no8TmsR
-oBQyUbnsDGDnw8KMB6/JWRhNqrG5ok3JBGtgtHD8Sv4ejukhWPcs4qGyVdJ2u9ID
-nosgmT/wcclkWHUWolSjlAmTKzNhw84UzC0ewHqApXMDH4kT9oUtRcYpQtmdkKV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B3yL0M
+wy59cQFAwrvZUDrzLlfrH40CgYEAhg3OhFoKE/Sh9XaQwSa+eyUeQ2deOqbgE3n3
+1vO/67ZAzuFMDVmG5cTUTw51jZmCx32uvJ613x98x5UbOYiD1ya3dhM3NAWGqNQe
+ybdwzzU+Lholne+Ylh6MCOxlQDlSZ54V8N3F3dmVTWosobZNFnExSYzj+AF8Oz8n
+s6FkI/UCgYEAs3M7uuig4Jc0YZbLt08/ICOCUTlvN75XaTOhFYDkRl6sX50GwJTA
+7ysx3LOOA+tRR8igOnwiAl1bbmvycosa/uzafrlX1wg3n3YWDC5HiMpD21MqvmKU
+SjyC+hRjJbF3NIJm4FXiY1QTFqSWmLnA3NePUMi3Sd2EiVRTy7PilE0=
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/old-ca.pem b/tls/tests/files/old-ca.pem
index 49eafe53..fc82a39d 100644
--- a/tls/tests/files/old-ca.pem
+++ b/tls/tests/files/old-ca.pem
@@ -1,30 +1,30 @@
-----BEGIN CERTIFICATE-----
-MIIFLjCCBBagAwIBAgIUGx5sD75kSqNKhP/0OQ7QuzKrM70wDQYJKoZIhvcNAQEL
+MIIFLjCCBBagAwIBAgIUYgpDrOQ5fbQ31MOwX2JyffT9UHswDQYJKoZIhvcNAQEL
BQAwgZ8xEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
UExFMSwwKgYDVQQLDCNPbGQgVW50cnVzdGVkIENlcnRpZmljYXRlIEF1dGhvcml0
eTEiMCAGA1UEAwwZb25jZS53YXMuYS5jYS5leGFtcGxlLmNvbTEdMBsGCSqGSIb3
-DQEJARYOY2FAZXhhbXBsZS5jb20wIBcNMjEwNzMxMTgxMzEwWhgPMjA1MTA3MjQx
-ODEzMTBaMIGfMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQBGRYH
+DQEJARYOY2FAZXhhbXBsZS5jb20wIBcNMjExMjE1MjI1MDIxWhgPMjA1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xmaHSx/LoybaEk1/f8G7t116WvOXpDSz4vgISIt2HPag==
+BgkqhkiG9w0BAQsFAAOCAQEAiHicR28OHc7kk0Tctvgd2xHUorNliSKNhYoXhAPy
+OVraJ05JkjmXep5t032t+19aUmp0QWRH7SV7q7dqLivW932/AsCd/FTZT4bT1CWI
+jI6bA3wjjG0/j5xlbyX4HdCaujfcLMiz89LnweUKCIoj3KeuIRgsblxWf3MlDVE5
+d6QFMxAefajmlQCaPQCRDNsOAMYg+S4C6VGKuVjyR0Wpm1KLLaTIEBoNKGQMUAZM
+fzbiN1P5NVL8+5WRu0OBWVNW73KjQTHqMNEW2bWH/AEbya9LcSZlrpptVLv6BpJ4
+c3BzbNQnuHQq1KS0mWYWhiyYcGhYAddKenwwuEgIsYj6CQ==
-----END CERTIFICATE-----
diff --git a/tls/tests/files/root-ca-csr.pem b/tls/tests/files/root-ca-csr.pem
index 4f558906..ab781bbe 100644
--- a/tls/tests/files/root-ca-csr.pem
+++ b/tls/tests/files/root-ca-csr.pem
@@ -2,18 +2,18 @@
MIIDHTCCAgUCAQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/Is
ZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxFzAV
BgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcNAQkBFg5jYUBleGFtcGxl
-LmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALk97CGeG3O95ZKK
-TbZ25xkZdeKkXm1fQZRwjK1FwC+XMG1ehGtI40zGrb8ayC/olqoMFqz4yUrkb4qp
-zau8Uml+jZSOx+E3VsLS41lrgMf4k4lgYqghgXpu+ErDwL2crJR1IQsKSk/xWelt
-SZuDkZjUSUqK6SfhC7XZ9PAJmb+Km5YqZ2BnnioxK1lMC25BFtYyXMje0/+15r/A
-m0+5ek2HMHmD2nCAaHeXEU4mn30lPGEkq9l7nNpovH9Rei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7mxyzMA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0G
+CSqGSIb3DQEBCwUAA4IBAQAlUbUo/QnhM8oCZRrUMB8c3xwXjYllehI82hDjcA6I
+eR4rRigkFUlZJW++kmHVGcFyPS7QGXG978JCKrfIZRknEb/j5A18MQCIddNElkw/
+SO1aSsyce7a3qAXwkwBoP20bpBhdKxMjSbbvQ769CXmpYU1l8KxQnc67ZcRAr1hz
+vP3FRkfMJ+thujSFDv7hINcyhO78a+T74TK/7eZ5bRWoUY5Ejs0Rzf323ZvfyGk6
+j3Vgp4N1EV1F5IhVLbTzEPkVDz84SJVgIKhfoSWTWsNRHtBvyNMWirCfqN/QQMkU
+YKipksYyZ8SWZP5sMV598EpEsYYnnj00eLu2CZgT9e52
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-and-key.pem b/tls/tests/files/server-and-key.pem
index 428ca553..49d25971 100644
--- a/tls/tests/files/server-and-key.pem
+++ b/tls/tests/files/server-and-key.pem
@@ -2,48 +2,48 @@
MIIDlDCCAnygAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcy
-NTE4MTMxMFowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyNTAyMVoXDTQ2MTIw
+OTIyNTAyMVowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
B0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLm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Kh+8sHikTMOJnl6UVaAWKWHNdugS0ZB2Ccd
+vKOCxccXRJbplGhJ4Ft/pfNNq5ykGeyeLauFo9Fuvd4NsayBFQ2+yTR4Bczxr/99
+PPY3HjvLSxxraMiDKZDJM3beFIpk+r0mDNGX2zU9AoGAGxDgAK+dR38m+hrYNlzq
+n5K+7NCiMI2qfYEqN6HyjgJz/4bkYr3SeuvchPMEz3qewCreBiJKTzDbK4evYUR+
+etm4uU/0Xi4fipPjix92WF8tzC0/8JIhuwCfICfdHHZGzypGJ4maVy7Q3cDSLbda
+1nliOxYNJweihBhcUwDCFZsCgYEAxTC+xrHyY0jFrxufru1aAr/p9yL6kMgichS0
+n6KLx6DIvrHfnU4GHBcAFo1dYXOQmDyrRnCd72W51LXMlD3H2uTuZRAdhyZAalyU
+GQ3pnap2Ok1vI9c3rDbi1+AchA/FMRH6Fg5CmsA1DPLXpYlGDGtPagS2+FdtNwGF
+ENwBDIUCgYAIs7koUKqTRAwj0Zkaz59AqH2Ai/XCzW94eDqsBo6cTE3BiBd1M0qh
+gThs9sBHSl5wkoma3D8VtZHlxz/qNkG9K+EBsybAdNZtHBe8pyGjpzFsgC7GbRu9
+xbDlKXTbM9f6wCi4ORZf3GH7v5n9SUAxI1y9zVe0eN4GuiZflcZ+gQ==
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-csr.pem b/tls/tests/files/server-csr.pem
index 193dfff3..1a9bc39a 100644
--- a/tls/tests/files/server-csr.pem
+++ b/tls/tests/files/server-csr.pem
@@ -1,17 +1,17 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICwTCCAakCAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
-KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMqitZ3xY/HRF5irErklm5b/upC5e+OY
-gYIbEit28UGb4VMKmUC0o7tZilC2Q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Ut9oNvcUF1wJauJ/EA3z
-BwaXqWtsQ27kSGM8xlLlz7e0DQi5t29YlemiOF8qIjpzAgrbqQ==
+ATANBgkqhkiG9w0BAQsFAAOCAQEAlXg5KHUPK//3ZyOcD8Eoq1C93zbbGpbIVqIF
+paXwoMH8SfsCy9xxaEXDNkUOhzzQTL74EuH8wCMH36AT03vZGXXOI5T9zbLJxjpw
+RGGK0TSyHExA5pdyiIRnufZ1DpoNygK6LfoPwOfHK5YRRXtNXwMvEjfNTWe8Kzkg
+VEwTbJRtloH20GrsXfrEWaO9bVByiuP/A6Mju2nOvLKQxwB8X5MZIwtzv30iLcIE
+rf2r8f2NtVNnPEiJHSc843qlVV2ZWot1ymSRqNsF6kh1gTqvYZo0OSVUYozydb/T
+sfdie6P2VLRwYFQdIOvjVlwe3gl63uS8PL+Yin5r4mP6sXtGYQ==
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-intermediate-csr.pem b/tls/tests/files/server-intermediate-csr.pem
index 9cfcaabc..a585e50b 100644
--- a/tls/tests/files/server-intermediate-csr.pem
+++ b/tls/tests/files/server-intermediate-csr.pem
@@ -1,17 +1,17 @@
-----BEGIN CERTIFICATE REQUEST-----
MIICwTCCAakCAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
-KoZIhvcNAQEBBQADggEPADCCAQoCggEBAKdl434MfWmQOdgVOK52liMyCIrv8pDd
-rFTIwhk3aj59dpB/Rx8C7FbOHA8tyIBWpKaNNNT3S/y4buWHcJywr+3oqy31+KFf
-/hKnDDgR86j822PKazfwcjrR05GBfKN3oKo6HEtsJ9jiicGFVp5gZkr18OsSbJiV
-uWbjEhOgUe4etHU+oWwnvKfpwwc3R9mDkqEtP+58lrGXmvUmVICfDW8Hymm4SXGM
-H05p02+an6rqciFk0GNMbeUeYK8fyVprqZIO8aTRAr6+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3uJz5En+rIF7yo8HBZcau7jhcXEhoWI5lCjswMVeGTUP5h+Ru21010Zn
+eC3SA7DdGe2/gXVX47/34eUmqVm/9nrNVXZvdiAxeyGwjGsM/MM3MClGbSccmbWm
+JBLeejdaGdQFeu1/+wjFxdiZoxiDg6m8+7q1xnNYn+ruRB0y2bKcYb1A4b9q2vqb
+IAOoIJ8YAaPfqTGv2X2jE7pfgVCnyx32djYRJBwKuSIXFF2+tw==
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-intermediate-key.pem b/tls/tests/files/server-intermediate-key.pem
index cb4bfa7e..e7f40d2f 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-----
-MIIEowIBAAKCAQEAp2Xjfgx9aZA52BU4rnaWIzIIiu/ykN2sVMjCGTdqPn12kH9H
-HwLsVs4cDy3IgFakpo001PdL/Lhu5YdwnLCv7eirLfX4oV/+EqcMOBHzqPzbY8pr
-N/ByOtHTkYF8o3egqjocS2wn2OKJwYVWnmBmSvXw6xJsmJW5ZuMSE6BR7h60dT6h
-bCe8p+nDBzdH2YOSoS0/7nyWsZea9SZUgJ8NbwfKabhJcYwfTmnTb5qfqupyIWTQ
-Y0xt5R5grx/JWmupkg7xpNECvr4tvk+kGboFMojcpUalGx68IlNUfzrumHCntCMi
-ZuwSnFtSj2wmwgeyGE2wvCLRuXvDhCEWsaUo7QIDAQABAoIBAG+OlDPdaPqfthzN
-z69csiOUZWMKE1H9mKoL/GZHqtMoU4pqd+Av14bl5ocrELKOiz2/XtUKVSZ/VtA6
-GY8ipKvc4a9Ie8A3s5+Emb0IIaSdliuDqz5lTArs6JzQeVqLD5RCE7cjxc5g8kL4
-dEgpoCIWks5lwd9R8HOjodlYfyE7Wx6kTXn2T4CEZHIEcNQuIgDYJn79sRqcsDdC
-Bn3q1TMIM972pUzYN/pjfwxW8fkBPFRn5KAocb0qitWKWUFWz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dJ9KJrHys9Kvcy/4xAJ9HqbYPrv0pIiZqHKxTH
+iVkgjSYmShn5RJTawLPLno92NOfY5jOSBru4AoDOvrmSGQtppsRlTg4EPh6+xn16
+hie1pmXzHDx9xipdOz/Q5C0CgYBkogghSNBniVtPnDx0T4kJ/9qY9KOE605iasvX
+nWcJBccYAYQhFpMHrK+5qTGrqoVdkD1MFw40Ocks1HbtTb0r9Bd3xlzMLmJXRd5s
+dEWpa8QNgANg9sQbMDavdgeaU6UoQTyvArg9bC85twc4yPKJUY+ZMX8EAXWB2/rw
+CgmGKQKBgB9Pe6G/o5/BpWv/vTOOmvLmOD+vjWQTgHeljzM0LOBP7ymkP/tTVQ6D
+eWtX4ETPFMI4D7xtrcFWmyM2X2PyHnZdBGtRsHtdLWDZUTqf6N47TYVa1H7KIq4a
+MG+D49SzSVKcD/oCsw/QM7OssniT1sYIXL/WZcxUudmhK8Fk0cqA
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-intermediate.pem b/tls/tests/files/server-intermediate.pem
index d98ddc95..efce124d 100644
--- a/tls/tests/files/server-intermediate.pem
+++ b/tls/tests/files/server-intermediate.pem
@@ -3,20 +3,20 @@ MIIDuzCCAqOgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBrTETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxKzApBgNVBAsMIkludGVy
bWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMMG2ludGVybWVk
aWF0ZS1jYS5leGFtcGxlLmNvbTEqMCgGCSqGSIb3DQEJARYbaW50ZXJtZWRpYXRl
-LWNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcyNTE4MTMxMFow
+LWNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyNTAyMloXDTQ2MTIwOTIyNTAyMlow
SzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJom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6rSDApFn3TVIgEsmQ9Zm1MHfXc7Xz18L/1Cb1mjmXGRa+fMetNwSD
-jQLgxIKbA1LN4QPGQ9FnGeq/1KvXNHykAbV7dA8uRCkZnkgmXKVH5bjMZIi51Uo1
-Ls49sFAsrxL49rz4yvTVZe/13Gu7KCIVl1echy0nDk6J4C2qLrS5+WV/vyGdV6nk
-WZm6baVMEaGu/ygmJ8H6rUmrZy/rdIFv4yyQgOME8K6ZDW0/lYFqozDMxB5NucY=
+ZXhhbXBsZS5jb20wDQYJKoZIhvcNAQELBQADggEBAAvGicZxxydN5DNYMEY6srw+
+3qgxcY9PazUwY9P5kQX6YKh3ixCQS1XX9FZegSM2jCHVnutqifgA0Sj3U902I3jQ
+VSjQ/iPs1WE2r4dsfPzmPNYtC8p8g6q/q6/27870X4ZHfyZdVs5IaJmaDIl2w6Uz
+dkfSAwhCGzTyIEuMkwLFPY6uyQox913XnHkmMPvWhPq5StASjHgUxOCml3EiBIb1
+H6HNBhqdBLYxnJGr+GHXlipSHqrVPe+wPPsBd83x6Lnpet7h3y/uMeY2/Iih0uhY
+/NDdwMBQgksOx5xcc1JsTZSQ2O/bMFSumf4gG28d0aL+foX3l8CGsrC2A58BxXU=
-----END CERTIFICATE-----
diff --git a/tls/tests/files/server-key-pkcs8.der b/tls/tests/files/server-key-pkcs8.der
index b901ee38..5f88c5d2 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 c73ac7ff..3905881b 100644
--- a/tls/tests/files/server-key-pkcs8.pem
+++ b/tls/tests/files/server-key-pkcs8.pem
@@ -1,28 +1,28 @@
-----BEGIN PRIVATE KEY-----
-MIIEvAIBADANBgkqhkiG9w0BAQEFAASCBKYwggSiAgEAAoIBAQDKorWd8WPx0ReY
-qxK5JZuW/7qQuXvjmIGCGxIrdvFBm+FTCplAtKO7WYpQtkC242sRFM0TFtXCslP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tests/files/server-key.der b/tls/tests/files/server-key.der
index a6017543..b113c98b 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 cbb15119..466f20a4 100644
--- a/tls/tests/files/server-key.pem
+++ b/tls/tests/files/server-key.pem
@@ -1,27 +1,27 @@
-----BEGIN RSA PRIVATE KEY-----
-MIIEogIBAAKCAQEAyqK1nfFj8dEXmKsSuSWblv+6kLl745iBghsSK3bxQZvhUwqZ
-QLSju1mKULZAtuNrERTNExbVwrJTzGs1aGCsWmHgNeOK4fu9RlEMLWHX8zqMSXMM
-oIDX5XzLc1rM/oVLV/93tThxOkEvtt0/UFg448DpacFQ8Rg7lXHb6MPvdzLVdfno
-rremtsMsOPngKtpJBSXfQU+B9yWnCnkErNp0DApaBWEcjqaqFta1t6c2q0MDdByD
-u8NhQjkeuFE9m3rb/uHiYhUY1YVEv4d5ex+dibPCTqRrQvnciDD92UfxnAxLURoY
-HQRNvFQ/nqvU27NRUntw0YnZ12Wytg6jGHQIJQIDAQABAoIBABoBleOGZnhTiH68
-ffOrIvPXMD+AvqiwGvbyuHtBkacE9X8t3gtS46yYykqfiWCvgT849zTa+mY5cs3K
-eJlDxvr2ksr3wAxOvbT3k+ODKi76NaT7kgRLZOn8ATR109dajhfmHpvweX+rfA8x
-B/4sxGheitZazCOVI5iDe2C9PM+ESQqFAYPWjjxDjl8Ta1KfYIzW5OMBcOSpLHbw
-yroL8GdGU7mEkh+TYcvoICXJmHJjMwOe4Ofk8l/EJop7AJXXui/ZONVsuXBZIAtg
-sfHK7VMK6bsDoYiTv8XesEEBqpSYk6XyS9S/queHLN/5OJ5eyJ8PV74ckKZsITU5
-oy9eK8UCgYEA9KDXEIBA1f9R6O5GBIZfhaZEtsk57TNMhD0bfsAIeTfZ4Jz4ls2E
-Q1kx+cZj7/UYxeZwWQdXa5eFvyM589/egZMx3kKeWXvjDDDcmn727maWMl5p/0U+
-rTHWXC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+GQ3pnap2Ok1vI9c3rDbi1+AchA/FMRH6Fg5CmsA1DPLXpYlGDGtPagS2+FdtNwGF
+ENwBDIUCgYAIs7koUKqTRAwj0Zkaz59AqH2Ai/XCzW94eDqsBo6cTE3BiBd1M0qh
+gThs9sBHSl5wkoma3D8VtZHlxz/qNkG9K+EBsybAdNZtHBe8pyGjpzFsgC7GbRu9
+xbDlKXTbM9f6wCi4ORZf3GH7v5n9SUAxI1y9zVe0eN4GuiZflcZ+gQ==
-----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
index a7b5a749..b34639e5 100644
--- a/tls/tests/files/server-ocsp-missing-and-key.pem
+++ b/tls/tests/files/server-ocsp-missing-and-key.pem
@@ -2,48 +2,48 @@
MIIDlDCCAnygAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcy
-NTE4MTMxMFowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyMjYwN1oXDTQ2MTIw
+OTIyMjYwN1owSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
B0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJKoZI
-hvcNAQEBBQADggEPADCCAQoCggEBAMqitZ3xY/HRF5irErklm5b/upC5e+OYgYIb
-Eit28UGb4VMKmUC0o7tZilC2QLbjaxEUzRMW1cKyU8xrNWhgr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clCUAf8ExE24qgHDlfDY9lVK0Sn9v48iMrsk+XAoGBANc/Vm/TqoRi8aST3yTM
+1JtSCIvgCAkQMk7di/ZIOGk3uJrXRaep+XqvyM34lSa52UxgRUVXPZcZ1xT6qeXZ
+OaF7OBQOFn1CmBVi9ZjKqaYw5GWqBkvmn2By+svKuIitMz30W2szw+apKQvvBJhd
+M6AiglLPxR2mXejpwcjdTIB7AoGBAKL9n/RG4pHYWR5o1agvyUNhG0y5AJ2/3ZLQ
+TEyJzIw+PzfBoj6s3hFRynH4CIM12fN0aQbE2bWn65YPoKQtLQWDyyOHYiOtb2pj
+vzxGZxquSUM8Ojk0mdr8wpNGeF7VDSMeub4WeeqGYMqu+6NIYKpl4lOAaJOvZJkq
+5oXIiejrAoGAZ6WZcchtTEQ/CYkdLTO44AMN8PVuRYvx+QQ3y2PiNNF0jzKVX4Wc
+9GBkhyGnWPTAMLxAiyckb7ssSAVWv0bopu3Da+uKbXOY+kbIf8fJiTz/0Vr6Fdsc
+5d6JSDOKkYQ51fn6WfBdpQBCuUShJMFD/gXq5ssxVCL/Ou4OuKiRnXc=
-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-ocsp-missing-csr.pem b/tls/tests/files/server-ocsp-missing-csr.pem
index 193dfff3..d5b73515 100644
--- a/tls/tests/files/server-ocsp-missing-csr.pem
+++ b/tls/tests/files/server-ocsp-missing-csr.pem
@@ -1,17 +1,18 @@
-----BEGIN CERTIFICATE REQUEST-----
-MIICwTCCAakCAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
+MIIC5TCCAc0CAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
-KoZIhvcNAQEBBQADggEPADCCAQoCggEBAMqitZ3xY/HRF5irErklm5b/upC5e+OY
-gYIbEit28UGb4VMKmUC0o7tZil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PvFVh73iTyrFTt7nB
+qqRTQlCDmd4EtD1yTh0Qk6vc+3W2NRDI/c0mjz3yvpLdfmnVGrSV81ECAwEAAaBV
+MCIGCSqGSIb3DQEJDjEVMBMwEQYIKwYBBQUHARgEBTADAgEFMC8GCSqGSIb3DQEJ
+DjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcDATANBgkqhkiG9w0B
+AQsFAAOCAQEAsbXmSMa/hEIKE5jwv3+LIuvvrYxTM76+GczRzC/zybIPraR8kWCZ
+Lqp1H7ALbNaaFqF8nbhyFwa+Irn4cYAhXJ34Bk2+p4HkThuAw9FWlZhSV64n6wV5
+l12a1qQqpWSaW6q/Kg/wCb3hvAliokHCz9OBe85PR1HOtEwLjoiRpBOvZ3WCINwf
+j+c+SwgOuAg291FvsaSW9CUY1N107O7ZFsxuiyUgdw8ik0aVORQKfrbosuvM5OnT
+/3lWTxDYEqPG7brqZQhmDw0yFCb+heWwCOLyInlusj7a3IOGHXJjMGftNPZr49bu
+dOPMeJMIT83/8PXVCKBn87xNuE/PdCEkFQ==
-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-ocsp-missing.pem b/tls/tests/files/server-ocsp-missing.pem
index 2e72320d..45b7ef0d 100644
--- a/tls/tests/files/server-ocsp-missing.pem
+++ b/tls/tests/files/server-ocsp-missing.pem
@@ -2,21 +2,21 @@
MIIDlDCCAnygAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMDczMTE4MTMxMFoXDTQ2MDcy
-NTE4MTMxMFowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
+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IhvcNAQELBQADggEBAFQb1qQMC3ZI
-iJPlUjx98YZRC0cmqzFcXAIgJ2grnGmdykpLRuLnwhCSa3nUCaRyptjMD1o0LzbL
-0cULniGDOUoEOjWxHMpJ8oLojisRSssQgbjqoH5xkZEQg7BwtnOX6JCcLuVFu34H
-lnuf/r7aF5Cz3kxF1+86BQW2BICw2Moern8Jnx768Nv/3ocrYfl0Hz4dbrTxyQq8
-rrt0Y16267IqMNq+yyEx7yG+yzwGWzcQGFgNe4q4KwxOlzpLFMGxrL0FjGACe0fg
-rBlSghDBX7bfbwN7CfN2KPE/bWk0rhR/N3dicN2qbpW0qPInUzLzY1Te+vdwnIcv
-4UQidMpxipk=
+ghJzZXJ2ZXIuZXhhbXBsZS5jb20wDQYJKoZIhvcNAQELBQADggEBAFNB+a7Ntqo2
+y3qvguwnDP1CwK0qsSq6HzrtKwlmY7a/h5p8hIUYUZCirRq2eZfiC9sScjxzihG0
+g6M8gVT1DXPqkkKx/9fxeqyvBRuArETWN2DpFz8tGo81yPGXHCBYbpbcd5m8adNv
+zDr3yhelrnNKFYb0Pje/nd1IhikYGeTdWPC0K0mM6EHKd5Pol/BkFyThJURzBobm
+lhO3blOyTdzmMuEWKHvjy0GBptnW2UTHMErG0il3BIGvKtLt/si8J1mBh95C9oM2
+DZ4NUosxQRvGGqSey0j+uRMJkrrQASe6564g1tLRcifMkVJNWcbSXdQncJAm+TQj
+BbvMM6ujcUk=
-----END CERTIFICATE-----
diff --git a/tls/tests/files/server-ocsp-required-by-ca-and-key.pem
b/tls/tests/files/server-ocsp-required-by-ca-and-key.pem
new file mode 100644
index 00000000..1414105a
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-by-ca-and-key.pem
@@ -0,0 +1,49 @@
+-----BEGIN CERTIFICATE-----
+MIIDlDCCAnygAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBg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WHNdugS0ZB2Ccd
+vKOCxccXRJbplGhJ4Ft/pfNNq5ykGeyeLauFo9Fuvd4NsayBFQ2+yTR4Bczxr/99
+PPY3HjvLSxxraMiDKZDJM3beFIpk+r0mDNGX2zU9AoGAGxDgAK+dR38m+hrYNlzq
+n5K+7NCiMI2qfYEqN6HyjgJz/4bkYr3SeuvchPMEz3qewCreBiJKTzDbK4evYUR+
+etm4uU/0Xi4fipPjix92WF8tzC0/8JIhuwCfICfdHHZGzypGJ4maVy7Q3cDSLbda
+1nliOxYNJweihBhcUwDCFZsCgYEAxTC+xrHyY0jFrxufru1aAr/p9yL6kMgichS0
+n6KLx6DIvrHfnU4GHBcAFo1dYXOQmDyrRnCd72W51LXMlD3H2uTuZRAdhyZAalyU
+GQ3pnap2Ok1vI9c3rDbi1+AchA/FMRH6Fg5CmsA1DPLXpYlGDGtPagS2+FdtNwGF
+ENwBDIUCgYAIs7koUKqTRAwj0Zkaz59AqH2Ai/XCzW94eDqsBo6cTE3BiBd1M0qh
+gThs9sBHSl5wkoma3D8VtZHlxz/qNkG9K+EBsybAdNZtHBe8pyGjpzFsgC7GbRu9
+xbDlKXTbM9f6wCi4ORZf3GH7v5n9SUAxI1y9zVe0eN4GuiZflcZ+gQ==
+-----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-ocsp-required-by-ca-csr.pem
b/tls/tests/files/server-ocsp-required-by-ca-csr.pem
new file mode 100644
index 00000000..1a9bc39a
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-by-ca-csr.pem
@@ -0,0 +1,17 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIICwTCCAakCAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
+ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBALZYhMq8HdyU4270P/4i57uUTXxkp7c2
+D9UUF+DZ88iTa6GQfDhInxwLg8ck1iBRziZjgXBFrFNLRoPOiUnQN0ycjkvtViJj
+Y+SeDXn6iIbMowADG14CmhvtEKHZLXzkHnYRWixIGEWTg3hbm6KPenK6bzPtmjpG
+WJw2P2QhMs5RKFte/8glPGkePTpn/C0vcAPHeU6eV3k1DOUKAET91GrGJDk6emWv
+aUkWd66ehx/ZBvun9/Wu4CF3zKeLmD5fNs4S3rTjTFvPWjK57gLxowEwlx0/a6A5
+jRyrjtuJit4WK6XtPja5z6RUftKkpkf2Ew2/pRbpYhYSpHBNA5eRyfcCAwEAAaAx
+MC8GCSqGSIb3DQEJDjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcD
+ATANBgkqhkiG9w0BAQsFAAOCAQEAlXg5KHUPK//3ZyOcD8Eoq1C93zbbGpbIVqIF
+paXwoMH8SfsCy9xxaEXDNkUOhzzQTL74EuH8wCMH36AT03vZGXXOI5T9zbLJxjpw
+RGGK0TSyHExA5pdyiIRnufZ1DpoNygK6LfoPwOfHK5YRRXtNXwMvEjfNTWe8Kzkg
+VEwTbJRtloH20GrsXfrEWaO9bVByiuP/A6Mju2nOvLKQxwB8X5MZIwtzv30iLcIE
+rf2r8f2NtVNnPEiJHSc843qlVV2ZWot1ymSRqNsF6kh1gTqvYZo0OSVUYozydb/T
+sfdie6P2VLRwYFQdIOvjVlwe3gl63uS8PL+Yin5r4mP6sXtGYQ==
+-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-ocsp-required-by-ca.pem b/tls/tests/files/server-ocsp-required-by-ca.pem
new file mode 100644
index 00000000..aa380020
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-by-ca.pem
@@ -0,0 +1,22 @@
+-----BEGIN CERTIFICATE-----
+MIIDlDCCAnygAwIBAgIBAzANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
+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6o/CEXaJHqoQpUwhaUSTbVLTHohmezCfAGbvTSNjo82gw8pIf
+4NQMmCEskbA=
+-----END CERTIFICATE-----
diff --git a/tls/tests/files/server-ocsp-required-by-server-and-key.pem
b/tls/tests/files/server-ocsp-required-by-server-and-key.pem
new file mode 100644
index 00000000..5e5bbcf4
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-by-server-and-key.pem
@@ -0,0 +1,49 @@
+-----BEGIN CERTIFICATE-----
+MIIDlDCCAnygAwIBAgIBBDANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
+ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyNTAyMloXDTQ2MTIw
+OTIyNTAyMlowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
+B0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBALZYhMq8HdyU4270P/4i57uUTXxkp7c2D9UU
+F+DZ88iTa6GQfDhInxwLg8ck1iBRziZjgXBFrFNLRoPOiUnQN0ycjkvtViJjY+Se
+DXn6iIbMowADG14CmhvtEKHZLXzkHnYRWixIGEWTg3hbm6KPenK6bzPtmjpGWJw2
+P2QhMs5RKFte/8glPGkePTpn/C0vcAPHeU6eV3k1DOUKAET91GrGJDk6emWvaUkW
+d66ehx/ZBvun9/Wu4CF3zKeLmD5fNs4S3rTjTFvPWjK57gLxowEwlx0/a6A5jRyr
+jtuJit4WK6XtPja5z6RUftKkpkf2Ew2/pRbpYhYSpHBNA5eRyfcCAwEAAaNHMEUw
+CQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcDAT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-server-csr.pem
b/tls/tests/files/server-ocsp-required-by-server-csr.pem
new file mode 100644
index 00000000..392f318d
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-by-server-csr.pem
@@ -0,0 +1,18 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIC5TCCAc0CAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
+ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBALZYhMq8HdyU4270P/4i57uUTXxkp7c2
+D9UUF+DZ88iTa6GQfDhInxwLg8ck1iBRziZjgXBFrFNLRoPOiUnQN0ycjkvtViJj
+Y+SeDXn6iIbMowADG14CmhvtEKHZLXzkHnYRWixIGEWTg3hbm6KPenK6bzPtmjpG
+WJw2P2QhMs5RKFte/8glPGkePTpn/C0vcAPHeU6eV3k1DOUKAET91GrGJDk6emWv
+aUkWd66ehx/ZBvun9/Wu4CF3zKeLmD5fNs4S3rTjTFvPWjK57gLxowEwlx0/a6A5
+jRyrjtuJit4WK6XtPja5z6RUftKkpkf2Ew2/pRbpYhYSpHBNA5eRyfcCAwEAAaBV
+MCIGCSqGSIb3DQEJDjEVMBMwEQYIKwYBBQUHARgEBTADAgEFMC8GCSqGSIb3DQEJ
+DjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcDATANBgkqhkiG9w0B
+AQsFAAOCAQEAFNIKvEW2DTTnDIdiOxpEjH6LhIh0l/+OzTLuzgWX2QYZ+AJIOfxs
+5KpS9/cZY5UFjbQSl55hgRgUzgYThwOAfkOIIH4/Ui2ccS+abjb6+h334w/Oo98T
+sT0DhCuI7J+cPMbCNhG+6q3jJn2KjEQg/LzEeIXmNofB6qV55xlTuxKJGD2jfq8K
+aBPHsnDKjcTjFWc9SiDjLYvUyGaPZp0tg5Kr6AuyjdyVQEsztw8VQjPc2a6S/ym1
+2ZLp2wRIfAXjlbzVRJb64BHG4B0c1yyxcvqg5mOIsPEyzYVMLyVLxLHQMWW49YkB
+X02vZNjf2ppafO8owzMazQSM/+aCa8tyqw==
+-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-ocsp-required-by-server.pem
b/tls/tests/files/server-ocsp-required-by-server.pem
new file mode 100644
index 00000000..c11d7ddc
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-by-server.pem
@@ -0,0 +1,22 @@
+-----BEGIN CERTIFICATE-----
+MIIDlDCCAnygAwIBAgIBBDANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
+ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
+ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
+hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIxMTIxNTIyNTAyMloXDTQ2MTIw
+OTIyNTAyMlowSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkW
+B0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJKoZI
+hvcNAQEBBQADggEPADCCAQoCggEBALZYhMq8HdyU4270P/4i57uUTXxkp7c2D9UU
+F+DZ88iTa6GQfDhInxwLg8ck1iBRziZjgXBFrFNLRoPOiUnQN0ycjkvtViJjY+Se
+DXn6iIbMowADG14CmhvtEKHZLXzkHnYRWixIGEWTg3hbm6KPenK6bzPtmjpGWJw2
+P2QhMs5RKFte/8glPGkePTpn/C0vcAPHeU6eV3k1DOUKAET91GrGJDk6emWvaUkW
+d66ehx/ZBvun9/Wu4CF3zKeLmD5fNs4S3rTjTFvPWjK57gLxowEwlx0/a6A5jRyr
+jtuJit4WK6XtPja5z6RUftKkpkf2Ew2/pRbpYhYSpHBNA5eRyfcCAwEAAaNHMEUw
+CQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcDATAjBgNVHREEHDAahwTAqAEK
+ghJzZXJ2ZXIuZXhhbXBsZS5jb20wDQYJKoZIhvcNAQELBQADggEBAJwqLtAc+Vdw
+4IQSrnT+J0hG386fIqeC6q0h64apTKYJ8lmhCHyJbmevDUIicnxhJinul2kw4R+O
+WpX6dPlbhqVessF1RydHb8d7Ey/ydPa3wXqeYaWuvg1TZe5SXjuVHCjGq39YaX2m
+gROuyOHQSlraLZ5+0jHaIo7ZDjee7FX6WDuSXNk0QHeKXaHlXxhvnfHgiIeYT2Q1
+9kkrZTbHOA5hKjAsz1TWkQNw5TU+nYFVPVUAgA0ZYRleBLcOl5OuvyHwjoQzi/dA
+vYD5nXLi8azXizwA8/wpQmwr4vz1m8b7wB6zxtGwJleQ49YOzv2FwCjt1Cj34eq1
+Nrpat17nZDY=
+-----END CERTIFICATE-----
diff --git a/tls/tests/files/server-ocsp-required-csr.pem b/tls/tests/files/server-ocsp-required-csr.pem
new file mode 100644
index 00000000..dbc881d8
--- /dev/null
+++ b/tls/tests/files/server-ocsp-required-csr.pem
@@ -0,0 +1,18 @@
+-----BEGIN CERTIFICATE REQUEST-----
+MIIC5TCCAc0CAQAwSzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixk
+ARkWB0VYQU1QTEUxGzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJ
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBAKldmDSUw+D/RExMhsgjlKJqQNdN/Ccx
+5NOhKVNpAdBEEr08cvGRzLwpAGSEDrLIuvLtCHtiFg6lQlZUUlpBNn4Ij71ggmkD
+wkWLhRX8mDqxlt7S2/xy9aMKQ1Ok547qeF97WG4Zq8ZTOzQGI4bzI/U7jA+siNGv
+I+UexsBH8fWsFpx2lA24nH3gnFXW3DU7rYDQ9/z8gBNyt7b8RuHajHrJilEy5vfz
+hCYJJhOMJ4rSozoC7HeaXUq692W/EEcq5XZGfUHHHYHjFB4fxXKerccl2waGxWk8
+MooGjuIrg0QeHENvLFR8dW6YUf6xdOgQwXmclD1lpfXrY5Y+LDAatDsCAwEAAaBV
+MCIGCSqGSIb3DQEJDjEVMBMwEQYIKwYBBQUHARgEBTADAgEFMC8GCSqGSIb3DQEJ
+DjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcDATANBgkqhkiG9w0B
+AQsFAAOCAQEAb0zyclEwo2AvcEvlCdAatvSptlqUYzqs7M8CTgr19N+i1vLM/sBv
+3sXIgjaqY0vaAbOP4swHOT1hn43feco3RK13wXxih1wuQH8S9c8DPwSy19F8GIvL
+lX63/uej4IVMofWW9hhadtX1JxhCwwWgj0ponv3inssrmIc+dZnRClQQjWlljIMU
+mcxoUvZLNBMh9pXc7F7V5XIJhs07SGmw+uHgQkxs2K6fvWNJupm8ndN/eSAcFUp6
+V53WxLrxi0oy0qVtvc+mMPWX3/ooe64gfio1JnxogZaBAWag/RlnnOV5p6YE3ZMY
+ECiMZjYl4FsNjFF5g2/krZg8gf5v2bhN8g==
+-----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-self.pem b/tls/tests/files/server-self.pem
index d59ab968..28022160 100644
--- a/tls/tests/files/server-self.pem
+++ b/tls/tests/files/server-self.pem
@@ -1,19 +1,19 @@
-----BEGIN CERTIFICATE-----
-MIIDHTCCAgUCFC+CkRsd6/FsGSWSM1bZgwWcsCygMA0GCSqGSIb3DQEBCwUAMEsx
+MIIDHTCCAgUCFGse8ye/042pPhuj8k9YM7ziYzNtMA0GCSqGSIb3DQEBCwUAMEsx
EzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMRsw
-GQYDVQQDDBJzZXJ2ZXIuZXhhbXBsZS5jb20wHhcNMjEwNzMxMTgxMzEwWhcNNDYw
-NzI1MTgxMzEwWjBLMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQB
+GQYDV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tGg86JSdA3TJyOS+1WImNj
+5J4NefqIhsyjAAMbXgKaG+0QodktfOQedhFaLEgYRZODeFuboo96crpvM+2aOkZY
+nDY/ZCEyzlEoW17/yCU8aR49Omf8LS9wA8d5Tp5XeTUM5QoARP3UasYkOTp6Za9p
+SRZ3rp6HH9kG+6f39a7gIXfMp4uYPl82zhLetONMW89aMrnuAvGjATCXHT9roDmN
+HKuO24mK3hYrpe0+NrnPpFR+0qSmR/YTDb+lFuliFhKkcE0Dl5HJ9wIDAQABMA0G
+CSqGSIb3DQEBCwUAA4IBAQA3Rmu0th9YaE9L9j+egJQ4maWgQfQ1e7np4MqdHgT6
+1V+fqOsDeL+gUfKN8EG7XckNXPdwpvQ3jz2LA7loYDwLh6BQr3CfdAYVmeYVH4h4
+ZAnas7o6dyT4uqbrm2Y/ulTf6iTjoEO9Gjb2IfFCB95EMQqqh0j2mgqBJSew9rxq
+eovYxAW2+eWDWYe3Rx/DCG5xu+ASxwpNwfr+Qb4PDa1hX/SVjh5oCX9FwAD3woKv
+jLA9JyZgk7gAFJm9hP5K8y+fGAByiQRe1LAxfp0XixxDPZqhlbEoAmbt7vs47ItP
+/ZZluY2BooQXS+LjysW0COI11AgZ8N9yWseMfohWTLhr
-----END CERTIFICATE-----
diff --git a/tls/tests/files/server.der b/tls/tests/files/server.der
index cd9c10c2..31bcc293 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 20055f7e..2e06b050 100644
--- a/tls/tests/files/server.pem
+++ b/tls/tests/files/server.pem
@@ -2,21 +2,21 @@
MIIDlDCCAnygAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9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