[glib-networking/mcatanzaro/#140: 3/4] Stop using SHA-1 signatures for root certificates




commit db1a0852b14cff972d39617081e45dd129720c6a
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Mon Oct 12 12:51:00 2020 -0500

    Stop using SHA-1 signatures for root certificates
    
    SHA-1 is still allowed for certificates that are trust roots, but it is
    NOT allowed for the "alternative" CA certificate sent in the chain,
    because that alternative certificate is not a trust root, even though it
    has the same public key as a trust root. So we can no longer use SHA-1
    in ca-alternative.pem, though it's still allowed in ca.pem. Both
    certificates are constructed from the same .conf, so we either need to
    use separate .conf or change them both. Changing them both is easier. We
    have no compelling reason to test whether SHA-1 is allowed on trust
    roots here; we can expect GnuTLS and OpenSSL to do that in their
    testsuites.
    
    Interestingly, only GnuTLS rejects SHA-1 on the alternative CA
    certificate with F33 crypto policy. OpenSSL allows it. I guess the
    OpenSSL behavior seems reasonable, because there should be no security
    risk to allowing SHA-1 signatures for a certificate that has the same
    public key as a trust root. If the owner of the corresponding private
    key is not trusted, then it should not have any certificates installed
    as trust roots.
    
    Fixes #140

 tls/tests/connection.c                      |   2 +-
 tls/tests/files/ca-alternative.pem          |  34 +++----
 tls/tests/files/ca-key.pem                  |  50 +++++-----
 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                   |  96 +++++++++----------
 tls/tests/files/client-and-key.pem          |  80 ++++++++--------
 tls/tests/files/client-future.pem           |  26 ++---
 tls/tests/files/client-key.pem              |  50 +++++-----
 tls/tests/files/client-past.pem             |  26 ++---
 tls/tests/files/client.pem                  |  30 +++---
 tls/tests/files/client2-and-key.pem         |  78 +++++++--------
 tls/tests/files/client2-key.pem             |  50 +++++-----
 tls/tests/files/client2.pem                 |  28 +++---
 tls/tests/files/intermediate-ca-csr.pem     |  28 +++---
 tls/tests/files/intermediate-ca-key.pem     |  50 +++++-----
 tls/tests/files/intermediate-ca.pem         |  34 +++----
 tls/tests/files/non-ca.pem                  | 142 ++++++++++++++--------------
 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-intermediate-csr.pem |  24 ++---
 tls/tests/files/server-intermediate-key.pem |  50 +++++-----
 tls/tests/files/server-intermediate.pem     |  26 ++---
 tls/tests/files/server-key.der              | Bin 1193 -> 1190 bytes
 tls/tests/files/server-key.pem              |  50 +++++-----
 tls/tests/files/server-self.pem             |  30 +++---
 tls/tests/files/server.der                  | Bin 920 -> 920 bytes
 tls/tests/files/server.pem                  |  30 +++---
 tls/tests/files/ssl/ca.conf                 |   4 +-
 tls/tests/files/ssl/old-ca.conf             |   2 +-
 33 files changed, 661 insertions(+), 663 deletions(-)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index a11f7df8..eb18a588 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -2493,7 +2493,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 "d/I7Y7MRUTmOTX/SfuxmGZu0WnqqWSl+Zmeg5svzZ80="
+#define SERVER_CERT_DIGEST_B64 "kGOeAZnSeNtf5yzBZzUhbKFpW9qsPV+lIB/4t96OV+E="
 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 bcf7ede9..3793a1a1 100644
--- a/tls/tests/files/ca-alternative.pem
+++ b/tls/tests/files/ca-alternative.pem
@@ -3,27 +3,27 @@ MIIFAjCCA+qgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBnzETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARk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WZNI49PAF+AKE3zIQ4RqvSxBW
-diVvLEpZ9b7z8aURHBuNpfrdk5wJvnmOBU7HoVa1ZxhPe+pJyiQF9dVmUoUiTBYF
-qon1dOe4mQkjvrvSx3dgWOY9dokjht9wa+YPERRjUO6Mx+0VLXXCQTfMSPUwnKFb
-GJUC/70Pg7by3Nhp3uM3cjYp/abFolZ3nKO71kAkssmyNQUxlp2JQ0aUC4row6pN
-TKKy4l6lpdUSAxcgkN1MNsHc1vJ0DluVvrS/VWGajBtGKWi0pt4=
+b20wDQYJKoZIhvcNAQELBQADggEBABSrlQqoWp6reJsOYmlxUbDQJ5OuqcZuKEkn
+gscxFXeprhDD7eJmD8qHqFmfgM8e/tbnQw1xSOBgYpifVQRSij+TBWrJpX7980e7
+FKLPI5oOS/3geInW3Rs3EzfpGK1fKNR8mtTZj4hb0FnMpFXgiTYmRAeqQf3PCRge
+5Is8VP8eTtnzLi8gK8i8A97SOWyuqy/dzIz0UPthc0qvq5u7LR8sJZ901kWjBazq
+0KbZ/pyUrmLHaa07q8aU5Z1FPSH5l2PmtXtSfTvHBn8onG1LYF0WhjZ0qxsGvuRR
+9JX4dzGE2D8ub9f7B+ouF9hS6FIFujBNelk9dyirIgx+994qhPU=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/ca-key.pem b/tls/tests/files/ca-key.pem
index d38828b0..1a42c34e 100644
--- a/tls/tests/files/ca-key.pem
+++ b/tls/tests/files/ca-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpAIBAAKCAQEArtN2puXS5jtMoUXi/ajjwTUJTZi7hEVXyJa1bojRPrHxVlV8
-S4uodEVExY9be3J3kJJqlJANyYBs3IiZgxmHWr4rciKsguCfu2TppvlSIu0u73A5
-bO2vTubKevOcTfgnrxH2B5bGe5MGRHdKr8G5+cHt65tnOmhAuyWefJ/mbWD+KQxe
-O3VEO05s8IA+e49jZKEdI4Ioj8DT8sMCqjiiv4lhT7h3C0iZdZYtx6sX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l7Ewpe7/Q2atzHM+JW1xOhRL3SQjWElWHahJcg
+FQNfrXsRmdCXXq4OrUmxqZICrBCKoHzPzKnq2V9c0KfPKE+8DyYMtuEn6CEkURTW
+wf4/fNe8rQzAwdr86csViOElapWs5XTiK+Ns2hAKmegFZueoDjA/JLCJAoGBAMbq
+mZl2+LOTVdi3IBhHqQS9cfoZoMyR/iiT9H15EUbpppSmDJu4ZI47j96CbzqZPnNs
+KH+S79aiyZcEOfMz/mjO0Xnm2460/jzPFeAHOUGr4VQ3udnu3HYOGNVx754JiykA
+oPGEONoomQvXgPjZjhn5Ev//rtwU0bvzItZ/3Rj/AoGAGY7FwqXY1vuYG91HWIwx
+b/SDd7+yuuo+Xc2QiNHMPc2NerMUC2m++6ukDcr70GoI4wtBwUC+npURfd6UCMWJ
+wa06rVVed3PEW2St0Jvf6T23fRp1W/G0TsPhP6UUgh4yZArKJiKMTK8HjbOzyAVG
+zL+HnjsXYh4bzZl9Mk6xITkCgYBpA5u5uGSOMX+F3Q/1oYdquDU/C16oAX9DnvDZ
+eRwU6u+F1LAdWdjEek928jeUoSimOPiceU9jaiexMYsCiXWLkXxnteg9y/HY2p86
+2bVxpTNdidn1YzRCoyibLv6I2ZL9P5a4SszU58/8v3YYaoqpzaQpQKvpBpi/eBnx
+UinAswKBgQCbs6bIkFrVlBc+d0qdy2SIsO/FN8BILKF4KPo6CWCtOuYGU1nMVsoq
+lIcXpWxwlmkWHgu2v5mIJHN6qxCN+m7OZGuz3aaSPyclyOj8rGHpyRQofQFD9IdZ
+YU70Pt2UKnX1vsFUgU4Ov5KjR5qh9fQbIzhz0//wXlWm4mvAg+F80A==
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/ca-roots-bad.pem b/tls/tests/files/ca-roots-bad.pem
index 0ee876d0..1cceb7ab 100644
--- a/tls/tests/files/ca-roots-bad.pem
+++ b/tls/tests/files/ca-roots-bad.pem
@@ -1,31 +1,31 @@
 -----BEGIN CERTIFICATE-----
-MIIE4zC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LmWcDwBjTtM9gQh3VsjY/R8X85xz9bN+PsXhcTxKuyG
-MBS0zC+ug+Y6EohMVXFIjp73hcgSose49TfGIQ0I5DnyLTVRQoN3KNYCL1MvTGNW
-6vPOtmS6mun8c9kwa8kgV5q7YwSTUjbJKAwTszJ9ZPL3x8lKwY/VnP0OqqJYfpxz
-tgcPMsOiJmgrxEm1cG1yU1sBYfFKLvuDnC3XXuj7FyR/kkPxMW4fFz6v7jpEmr/8
-u04CYJelLtxmxe+4fE4AyqtWNgUiI5DGv406LfxpniPE5Gvj+UgOVFBurJSlVs8G
-MIn9PM5gxw==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAiUkWAtz07x28
+KiIulj7uhjFuSsylbj4SuMRdZcaGJjZumAlOrO1wc6GK2qz/Vd14lBiPAMm5t0np
+BkTNfRb5euIY6gBZ7LSJYEsOZmYfYPGv1nt5A5XtljaI40ojU6vqAfRUYGYd9OrU
+GzoL7CQv8PG8W1tITWdIi3pv9vDjZqxPj2umM39fH7Xh3Mb20nx2tHQaMfSGjjW4
+ASzr0XSRA3HroTQrbxvUtpijHpzMajqOub0DcSFs7Kk0Rb6Ja+WzH2ALT0LInt2r
+NvfKjk9Abd2rjqFMaYc9rCtqjbq4FQC3ymlDBDsbMC8qsByHAjDBiox+qSGZZTjS
+MbJ0cWIRVg==
 -----END CERTIFICATE-----
 -----BEGIN CERTIFICATE-----
 MIIHPTCCBSWgAwIBAgIBADANBgkqhkiG9w0BAQQFADB5MRAwDgYDVQQKEwdSb290
diff --git a/tls/tests/files/ca-roots.pem b/tls/tests/files/ca-roots.pem
index 6b421e88..0d2d24c5 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-----
-MIIE4zCCA8ugAwIBAgIUUKz5F3Z4HG+WHEFnBiXEuJ7Ixk0wDQYJKoZIhvcNAQEF
+MI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jp73hcgSose49TfGIQ0I5DnyLTVRQoN3KNYCL1MvTGNW
-6vPOtmS6mun8c9kwa8kgV5q7YwSTUjbJKAwTszJ9ZPL3x8lKwY/VnP0OqqJYfpxz
-tgcPMsOiJmgrxEm1cG1yU1sBYfFKLvuDnC3XXuj7FyR/kkPxMW4fFz6v7jpEmr/8
-u04CYJelLtxmxe+4fE4AyqtWNgUiI5DGv406LfxpniPE5Gvj+UgOVFBurJSlVs8G
-MIn9PM5gxw==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAiUkWAtz07x28
+KiIulj7uhjFuSsylbj4SuMRdZcaGJjZumAlOrO1wc6GK2qz/Vd14lBiPAMm5t0np
+BkTNfRb5euIY6gBZ7LSJYEsOZmYfYPGv1nt5A5XtljaI40ojU6vqAfRUYGYd9OrU
+GzoL7CQv8PG8W1tITWdIi3pv9vDjZqxPj2umM39fH7Xh3Mb20nx2tHQaMfSGjjW4
+ASzr0XSRA3HroTQrbxvUtpijHpzMajqOub0DcSFs7Kk0Rb6Ja+WzH2ALT0LInt2r
+NvfKjk9Abd2rjqFMaYc9rCtqjbq4FQC3ymlDBDsbMC8qsByHAjDBiox+qSGZZTjS
+MbJ0cWIRVg==
 -----END CERTIFICATE-----
 
 GLib shouldn't care about this comment
diff --git a/tls/tests/files/ca.pem b/tls/tests/files/ca.pem
index 137f867d..d5747afe 100644
--- a/tls/tests/files/ca.pem
+++ b/tls/tests/files/ca.pem
@@ -1,29 +1,29 @@
 -----BEGIN CERTIFICATE-----
-MIIE4zCCA8ugAwIBAgIUUKz5F3Z4HG+WHEFnBiXEuJ7Ixk0wDQYJKoZIhvcNAQEF
+MIIE4zCCA8ugAwIBAgIUPrOu4wcojkaOfTH+GFqYZQIeXrAwDQYJKoZIhvcNAQEL
 BQAwgYYxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMR4wHAYDVQQLDBVDZXJ0aWZ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kPxMW4fFz6v7jpEmr/8
-u04CYJelLtxmxe+4fE4AyqtWNgUiI5DGv406LfxpniPE5Gvj+UgOVFBurJSlVs8G
-MIn9PM5gxw==
+EjAQgQ5jYUBleGFtcGxlLmNvbTANBgkqhkiG9w0BAQsFAAOCAQEAiUkWAtz07x28
+KiIulj7uhjFuSsylbj4SuMRdZcaGJjZumAlOrO1wc6GK2qz/Vd14lBiPAMm5t0np
+BkTNfRb5euIY6gBZ7LSJYEsOZmYfYPGv1nt5A5XtljaI40ojU6vqAfRUYGYd9OrU
+GzoL7CQv8PG8W1tITWdIi3pv9vDjZqxPj2umM39fH7Xh3Mb20nx2tHQaMfSGjjW4
+ASzr0XSRA3HroTQrbxvUtpijHpzMajqOub0DcSFs7Kk0Rb6Ja+WzH2ALT0LInt2r
+NvfKjk9Abd2rjqFMaYc9rCtqjbq4FQC3ymlDBDsbMC8qsByHAjDBiox+qSGZZTjS
+MbJ0cWIRVg==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/chain.pem b/tls/tests/files/chain.pem
index 15af02b9..95c96e4a 100644
--- a/tls/tests/files/chain.pem
+++ b/tls/tests/files/chain.pem
@@ -3,78 +3,78 @@ MIIDuzCCAqOgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBrTETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxKzApBgNVBAsMIkludGVy
 bWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMMG2ludGVybWVk
 aWF0ZS1jYS5leGFtcGxlLmNvbTEqMCgGCSqGSIb3DQEJARYbaW50ZXJtZWRpYXRl
-LWNhQGV4YW1wbGUuY29tMB4XDTIwMTAxMjE1NTE1MVoXDTQ1MTAwNjE1NTE1MVow
+LWNhQGV4YW1wbGUuY29tMB4XDTIwMTAxMjE3NDk1MVoXDTQ1MTAwNjE3NDk1MVow
 SzETMBEGCgmSJomT8ixkARkWA0NPTTEXMB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0Rb6Ja+WzH2ALT0LInt2r
+NvfKjk9Abd2rjqFMaYc9rCtqjbq4FQC3ymlDBDsbMC8qsByHAjDBiox+qSGZZTjS
+MbJ0cWIRVg==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client-and-key.pem b/tls/tests/files/client-and-key.pem
index a2b78283..1565e9df 100644
--- a/tls/tests/files/client-and-key.pem
+++ b/tls/tests/files/client-and-key.pem
@@ -2,47 +2,47 @@
 MIIDXTCCAkUCAQMwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNTUxNDRaFw00NTEwMDYxNTUx
-NDRaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNzQ5NDVaFw00NTEwMDYxNzQ5
+NDVaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOrZjs147dX
-H6MeWFVbTW6jVVDmuohNyeTAOEhAps8G1wJF1CyKW1DlmRrgEe1o6AfcbH9togsW
-X3/701G14Ct3kQ/PeeHVxSXiLpYnOyJpcebX/s4VE8UsMJQT0Lt4xj5JTHFb5IHs
-2dCOrR+81ogz954cZyNcpomv05FwYqYWno++urcgY9V2bxLVIQSwN0/ip7WTxH6q
-4ww12lNqbRPgiaPHGn+Z+4yQ+LuK5fdAeH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VsYh3LYQYhysCRvxTVKI+kTwyTFCjHGqLNi1TqcS1i+Z
+P+dDVOUOkoIgdgiU/4kXxgRmCfovaazPkadznDALsEdrNuKLZ1eCcvS9ufjZHzyy
+wcFnAoGANCj5SnoxRX2XSw9K82oq7fn7V/D6Z1BJ3RwJtH4ahNFvKGtlQXtHfF8L
+0p4Emg5mpPQvKFGKE3EPDs23k9jzJTZ96Pm26kNefKZjNevnNB86oH7qsgByuQBX
+08LebqLZq5eLXHZzG64bHgs/sUrZc41ZeXbKbPOySJIOUSMO1DY=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client-future.pem b/tls/tests/files/client-future.pem
index fff55faf..eb149fea 100644
--- a/tls/tests/files/client-future.pem
+++ b/tls/tests/files/client-future.pem
@@ -7,17 +7,17 @@ ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
 AQkBFg5jYUBleGFtcGxlLmNvbTAiGA8yMDYwMDcxNzIzMDAwMFoYDzIwNjEwNzE3
 MjMwMDAwWjBiMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQBGRYH
 RVhBTVBMRTEPMA0GA1UEAwwGQ2xpZW50MSEwHwYJKoZIhvcNAQkBFhJjbGllbnRA
-ZXhhbXBsZS5jb20wggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDTq2Y7
-NeO3Vx+jHlhVW01uo1VQ5rqITcnkwDhIQKbPBtcCRdQsiltQ5Zka4BHtaOgH3Gx/
-baILFl9/+9NRteArd5EPz3nh1cUl4i6WJzsiaXHm1/7OFRPFLDCUE9C7eMY+SUxx
-W+SB7NnQjq0fvNaIM/eeHGcjXKaJr9ORcGKmFp6Pvrq3IGPVdm8S1SEEsDdP4qe1
-k8R+quMMNdpTam0T4Imjxxp/mfuMkPi7iuX3QHh9iYoW8YeQ/TrmjYqZn8s8Iw7I
-/XgLGisPZbff4qfeP7y+mu9Bp3IN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gEje9iYqN3UoueCcQMGXl
+gaqWipLmlgD6qu/EZ+FfxmHkv5eWMb7KYbvJXgaF7PaT2FgrCrybB+RO1RjIMsnD
+OaRnlfBr9Zue4cJMAVHjRg/jxirYiTnz63pirKQvBZ4g8eLIUO3WCDUVFxjhThgR
+uMedPw0=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client-key.pem b/tls/tests/files/client-key.pem
index 90332c37..e048c828 100644
--- a/tls/tests/files/client-key.pem
+++ b/tls/tests/files/client-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEA06tmOzXjt1cfox5YVVtNbqNVUOa6iE3J5MA4SECmzwbXAkXU
-LIpbUOWZGuAR7WjoB9xsf22iCxZff/vTUbXgK3eRD8954dXFJeIulic7Imlx5tf+
-zhUTxSwwlBPQu3jGPklMcVvkgezZ0I6tH7zWiDP3nhxnI1ymia/TkXBiphaej766
-tyBj1XZvEtUhBLA3T+KntZPEfqrjDDXaU2ptE+CJo8caf5n7jJD4u4rl90B4fYmK
-FvGHkP065o2KmZ/LPCMOyP14CxorD2W33+Kn3j+8vprvQadyDdvexSzudcRStrPX
-8Chp/qUfVI9WNafztN5gqlTgvJQefyF5AggQywIDAQABAoIBAQCR6ve328eWrWXu
-8k1c0mtH2StIcTaoHlAO9QAXtxIHaCSyuWayKdMXqp/oag2Rx58lRCw7kF2EHTFK
-rlSYYLQf4vZKmvHf4JlfK1SISJU4fM57n+1VLiyJ4ZO/kQV1J6YqbCdZgkq90oS5
-hJIObgTKsmCCS/xB4W4hPuevvHUVHwKXdRSBKa23X9UEE23RoK/rNvyiegn+VJtA
-N3GVo7lNqhE9vjSC9SYn5gU9obSa5baR1QV58Vj7ZaAzZUBzomrKQTfphXsVcDjl
-4f4FltlPH4KYlC+u/F0mMZuD7X4e07zUy1QqKYct2nmK0NT51W6uH0N+P4PxuJoz
-yowdKcrJAoGBAP31Wyn0aL54/YY2EA16HABvDY0KMgMbbULcSQ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MQ71M4cPcs2QezRGooMot7OuM+VN7QtGV
+go0Ixs31RzObKnFxLYktVsYh3LYQYhysCRvxTVKI+kTwyTFCjHGqLNi1TqcS1i+Z
+P+dDVOUOkoIgdgiU/4kXxgRmCfovaazPkadznDALsEdrNuKLZ1eCcvS9ufjZHzyy
+wcFnAoGANCj5SnoxRX2XSw9K82oq7fn7V/D6Z1BJ3RwJtH4ahNFvKGtlQXtHfF8L
+0p4Emg5mpPQvKFGKE3EPDs23k9jzJTZ96Pm26kNefKZjNevnNB86oH7qsgByuQBX
+08LebqLZq5eLXHZzG64bHgs/sUrZc41ZeXbKbPOySJIOUSMO1DY=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client-past.pem b/tls/tests/files/client-past.pem
index 126eb81e..66ae45ee 100644
--- a/tls/tests/files/client-past.pem
+++ b/tls/tests/files/client-past.pem
@@ -7,17 +7,17 @@ ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
 AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0wMDA3MTcyMzAwMDBaFw0wMTA3MTcyMzAw
 MDBaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOrZjs147dX
-H6MeWFVbTW6jVVDmuohNyeTAOEhAps8G1wJF1CyKW1DlmRrgEe1o6AfcbH9togsW
-X3/701G14Ct3kQ/PeeHVxSXiLpYnOyJpcebX/s4VE8UsMJQT0Lt4xj5JTHFb5IHs
-2dCOrR+81ogz954cZyNcpomv05FwYqYWno++urcgY9V2bxLVIQSwN0/ip7WTxH6q
-4ww12lNqbRPgiaPHGn+Z+4yQ+LuK5fdAeH2Jihbxh5D9OuaNipmfyzwjDsj9eAs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9MFLT/bWQjzKkV5xit6ccrn7I1ncgAUjmUh+p1LbUqU0260oZLDVKlX5Ac9ua
+conXHEqLKcwJgyaANTMb6k9y2nksZIjDD6SFVjyQ8y6f/vc16y+URHBMGz4baNiR
+6OlBcSgjxj/fg0/95nmWS0INA3GV16hXV6tLoSuGLP9z5w8mSYhU7MYiYXn65foE
+mA==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client.pem b/tls/tests/files/client.pem
index 625b3b88..2551a6e5 100644
--- a/tls/tests/files/client.pem
+++ b/tls/tests/files/client.pem
@@ -2,20 +2,20 @@
 MIIDXTCCAkUCAQMwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNTUxNDRaFw00NTEwMDYxNTUx
-NDRaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNzQ5NDVaFw00NTEwMDYxNzQ5
+NDVaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBANOrZjs147dX
-H6MeWFVbTW6jVVDmuohNyeTAOEhAps8G1wJF1CyKW1DlmRrgEe1o6AfcbH9togsW
-X3/701G14Ct3kQ/PeeHVxSXiLpYnOyJpcebX/s4VE8UsMJQT0Lt4xj5JTHFb5IHs
-2dCOrR+81ogz954cZyNcpomv05F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M6VrP38xKALdusGX6wj6/9JsO
+H/wGP89YFM8YiP2YXlG9I/7mMNPV6QPai5tW+mYrfrRmqq8Y177Q8HBfNtW8ZXFi
+CsE6GM2fb/lUUSdn3DT7mUMwXcEtIOHKpa7/N2sdbifpNJdnmKzYRJHwIBgdfIj6
+pl6u4baDKiFTClTky+YHuuppGy8cs/ZrXi/b0nyWyZ/Z+cRke9DyWB+QqMPtF1Id
+kvu15eweJB4HbrmSkvA2IpuNIJQy6AQm67FKxiEjP8ksq5RW67CbHM1OZSeTKF4Y
+mQ==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/client2-and-key.pem b/tls/tests/files/client2-and-key.pem
index cded5e17..987369c2 100644
--- a/tls/tests/files/client2-and-key.pem
+++ b/tls/tests/files/client2-and-key.pem
@@ -2,47 +2,47 @@
 MIIDXTCCAkUCAQYwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNTUxNTFaFw00NTEwMDYxNTUx
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNzQ5NTFaFw00NTEwMDYxNzQ5
 NTFaMGIxEzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFN
 UExFMQ8wDQYDVQQDDAZDbGllbnQxITAfBgkqhkiG9w0BCQEWEmNsaWVudEBleGFt
-cGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOmW9pP4gdMB
-3V/7s/SUTW83FC/ClM2ToWWA5R+R/3b2S35pUjJeSWYCi3zj87R2DpyNGG8nFjck
-27g8MZmdRAS0jYlgAMflhXwFRIdtuWh36142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KDUGRUswhEup9G+rWUuLUpCN+3hDqjlf9bv157uVGkw/rpjMQG
+imEMM5O7L0dBsRFDXF03ImsCgYAQcmy/06/OAAw81Y223CNXuY7pXHHR/mqsIesB
+EpuWnMjUCKh/MnX/1I5Ib2yrkk//+LPqtU2iJyPEw5V6v1D4MqB//WICJRX/znp9
+PmpWwn9eLzHUSD5d06MYYdAwrfBqzcw+nr52t0VvmsI7LLv6OlBwqB1oQRBP86en
+iEenMQKBgCM75q+XN+sDiPsW86Ha1ekbXiSvWXrMuJA3k5el6of9ySiLUKHjTFLc
+TgWsny80x7vHGaJaglYd0FMeZb1zJGSFkS+FEzATjEro0E78ln70eDudJ3OkkoJV
+oDzGKm+uL2ju9IS0fQPV4JfOjEDVtN49UR/KTPc6Cz5NJ2KY3Tqi
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client2-key.pem b/tls/tests/files/client2-key.pem
index 71b30b01..987c866e 100644
--- a/tls/tests/files/client2-key.pem
+++ b/tls/tests/files/client2-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpAIBAAKCAQEA6Zb2k/iB0wHdX/uz9JRNbzcUL8KUzZOhZYDlH5H/dvZLfmlS
-Ml5JZgKLfOPztHYOnI0YbycWNyTbuDwxmZ1EBLSNiWAAx+WFfAVEh225aHfrXjaB
-jxCrLBezb6dqKpLfVEqXFgxUHZtP2oC/vijz8TkXIqSpm63YkJUuiWO92gCbnQX1
-PQXkd2SgBe44uQFEKFkcwTrDQdeRqkvGt+c866EPZhkL2IUpMO6XMTu0fRIRAHKh
-A13iAgROgUSvoPrUaji88uMsurfPwATjvQSiKwZqLmh2paUiMF9m7t3lDD7RsEiS
-1ffhsZmbW4qw1Vs8+CrGhiQEL5FKDm7Q1FEGowIDAQABAoIBAGnauqU1sYdwyeRM
-STGl3y1uFVzLXemHZFV+Qta6r702QeHoUpJ2veZXcuTG3FLESTzSh+cfHGci8dsc
-lBGb/g3v0FAXzGLJ9WL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SMaVOwBB
+eS8NoIE5tBpG9neWf4i/auIFT9g+nvjZAeDmeihlvrwJmXUSronbsPCzRdp964B/
+5Bzv6Nxg1k+5/irAy7949iP/z14MS8HS26Jo7PECgYEAqo5/2q0LIzUDUp8VB556
+/9Y35aSIUr9dS6D1Rmi3LSlF/78FBZj2AEypIvvc4buaL8n0YIZo5PFVMWGHVkSb
+gucUejoguLOPxbKDUGRUswhEup9G+rWUuLUpCN+3hDqjlf9bv157uVGkw/rpjMQG
+imEMM5O7L0dBsRFDXF03ImsCgYAQcmy/06/OAAw81Y223CNXuY7pXHHR/mqsIesB
+EpuWnMjUCKh/MnX/1I5Ib2yrkk//+LPqtU2iJyPEw5V6v1D4MqB//WICJRX/znp9
+PmpWwn9eLzHUSD5d06MYYdAwrfBqzcw+nr52t0VvmsI7LLv6OlBwqB1oQRBP86en
+iEenMQKBgCM75q+XN+sDiPsW86Ha1ekbXiSvWXrMuJA3k5el6of9ySiLUKHjTFLc
+TgWsny80x7vHGaJaglYd0FMeZb1zJGSFkS+FEzATjEro0E78ln70eDudJ3OkkoJV
+oDzGKm+uL2ju9IS0fQPV4JfOjEDVtN49UR/KTPc6Cz5NJ2KY3Tqi
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/client2.pem b/tls/tests/files/client2.pem
index 31582e4a..b034024c 100644
--- a/tls/tests/files/client2.pem
+++ b/tls/tests/files/client2.pem
@@ -2,20 +2,20 @@
 MIIDXTCCAkUCAQYwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNhLmV4YW1wbGUuY29tMR0wGwYJKoZIhvcN
-AQkBFg5jYUBleGFtcGxlLmNvbTAeFw0yMDEwMTIxNTUxNTFaFw00NTEwMDYxNTUx
+AQkBFg5jYUBleGFtcGxlLmNvbTAeFw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7xuH
+jbh8ztV2xR93qqJRy2R/JhsW1XHgftWKLrbxUJ9KFN8xyUtECSROICyaaBl577h7
+hP0ifmCuW6+NJ8FQgfzwuWMseT5y2u01tUPHmF2SqEMvorVfoVUYjsdl56jWxlJ5
+v8D7htZbAwfU0XY3XjdMeCOg1/cy7RKMc+wVeVWAQFfHEqqmYAJBGtpMnHWJTXdq
+Omqp2poNEFgLzXdJIT/XjrxKGXKe9sMhSw4oL3lIAvxkjGEiXOqTRUU3ZuYKKJNk
+4SOABmG1T2cCAwEAATANBgkqhkiG9w0BAQsFAAOCAQEAbjwRNYbPFq3BXdtRUldW
+56gKwSDd0K/nwSg3lRz89wTQJ4ql3s6CfD9QoTCiq3TcMnOi8lHug+9R2KDRu+CZ
+bCF2gh79TH+kgjDUwVp6lNMu9abVy6QfYnY6BGbhDQp82SdOSKN2/+q0g1aZmGzt
+GYAgP2uPvub9eTbq4fT6xNxctdM7pYFWibECBnw0yailolX+Y7dw2SbQ/8iTFmVQ
+CN6btbpR6PdnF0Ja7mnnVk5GNJh28bbPLvI399PvUJrqlsvcfN5VMVB9IfpQUx9Z
+39hl55qnABIVjWTK/CWIehjpy4306RCe6ug4Szqt61INqeODfPpntRSCGCR3/6uo
+pw==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/intermediate-ca-csr.pem b/tls/tests/files/intermediate-ca-csr.pem
index e317797a..0557eede 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
 KjAoBgkqhkiG9w0BCQEWG2ludGVybWVkaWF0ZS1jYUBleGF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8y++eMiQnWYk3nQETGa0C+4Lwx/khIfXJ4QQ
+0SWE3RDkNLS052zRXeyTsOnvFRtnLw3Z4rQWJrdJtvcHIL534jEsR8B/6sheYm3u
+L+NupH+NdiWnqWFglrvObG4Diyki1A7u1SHIBMwdc1sHu7yDrKsrTijqPbQpdRri
+p3jHRAMjH+KFzeUaJR8hlnIUgwctdw6kgG7OfQPq1hWtfpI8mJ4CFhux3/cCAwEA
+AaBRME8GCSqGSIb3DQEJDjFCMEAwHQYDVR0OBBYEFHAsg6JzMPalssSqCVu2+wCU
+kXC2MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEB
+CwUAA4IBAQCP/tVVv0ry4qsvp237Tufq0FRF8iCxdDedPjPyqkTvS60GoU0N3oK7
+/kwJ7BtV6cuPekDmp8gdc3vQ7dkDs0F4rlgnQdYgizDmRyfX+a9PHxqc6uF90qwK
+OcNzGacuqyf4RFMEbVXAGnr2HJCqZPZrD2H5wfKIVkdJwKB6L8x4ZMMCh9MBrYs6
++GekbOKFGnJsBbwK/dttT/wAydNwbm7I9ICNlm/nREti4IjvDtChUik+nVPiBRdx
+KA0JF0xeCXQMT/yqsXNTka797tGVS84e+DBv6l7a9jvkU/RlsKwYlOvmSNzuwT3E
+wgfVrzE/4yQ24iuzaoSC7VEeNb8WhQFq
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/intermediate-ca-key.pem b/tls/tests/files/intermediate-ca-key.pem
index 923d4675..28f24076 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-----
-MIIEpAIBAAKCAQEA5GHwQOlCQNgxx6DpmKI2HjaW0L6ok6apU2UceVrSOnWJgl01
-nJEpiVWGnzGruzG5GF6hwMzVHwqmIKsTUvJjWLosaR+UWnvzLiXfsrxtbxCaXdNZ
-+Yr8Hdd/4s49s69xZspn56A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PR3FLCrmyPAkg5WSzsMTL15
+H0SpWo+hAoGBAPOOFNgPtXUQlzBgOSficZA4CAAsKHQJxsyLpp9g+pn0ctQsA4Jo
+GPHZyZfAmpIhKaplN9dupRx7r59eOspIz8tWYJFo8Uo2ateMH+5Gx4WE63wA5VVi
+nTazX2sDsBpClo3liVJn8kMD8CmM7WJx9FJUrJDQne/QAyDIOVlVLnlpAoGBANvR
+8IP3B1TvLTpMK+EJqgMD7DDc/PSUkqr6UannidaNO91VfjZiOWQ5l4H+YT+2hMGo
+LGIh2wbLAIukO7SgXr+EEszRzyoaEi+HEXCOSa0HpUPjHF63F5xaEf48QK4CNJa+
++mOrHLXEIi//dwvOMjWP5Gf7e66ri+J+7Hk+gAJfAoGAPiAW5woSwjqqJhfVXHwh
+daUlPU4GP5siz5grt2nYYp79D2vutTvyaPahuojRpMa6xxEsjlJV4Y8XPDKgEmtC
+Pd7ZoR3Atqps1HCU0IXTbRZ7rtTXqtENwx88DqMRL5Ger7FGNvP20utVPnQJNVxV
+8w5QOlxMfRh1Q85u+n+E7EkCgYEAoGo6jPMvBIpuhQalVtpImV65dIcwigQKbH+0
+LLttWYdD0qfbLTDNFRj6OcE7ktVNWE2z5gEy52gpg75cW9pUioqFdbb+6YiREOIO
+lgcgOQdFUZ9hSrVuo4kPbGroAJRXcFL6QtXSY8s377MMWy8kcPYLBt79SWCi+q0J
+QQmdPR0CgYABMy+2WB6ls+EC38t+qqiFyogpz8cXilaHnfbd2vskoRDU5K0SRti2
+1VCL+0QPbd0Pq0R12mHignGZeXuZuPGfAxDB7I3euJkQwxEujyQDELT1u9PGfvNK
+Kw6m3SDPMlxwNTwto5TCQR4k9+bppFUJ+P/5nzCMC4toFdUXhgGQDw==
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/intermediate-ca.pem b/tls/tests/files/intermediate-ca.pem
index 31eae06a..c5829fe4 100644
--- a/tls/tests/files/intermediate-ca.pem
+++ b/tls/tests/files/intermediate-ca.pem
@@ -2,28 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KoZIhvcNAQELBQADggEBAD2YKTWbSnaWS3ICzQqElJi09lsZkZEwSaPd
-hLQcMx8GB/O73/TvEi58HoeIyQPEC8FWBqSLIWdx+Pq0F91X6bIz6ghLQ2oKAqbn
-W4GX/7voIt2OXCLuOs10rrADsjYfj56D/SoG+hV3pS8hoscoBSXLjKXgNkZd2jtl
-F6BhFn1r/kmo/B0xGnFFzM/3djoA4zh4QoxZ5Efq0RtpMsrxYdYop2PThF2p7OQO
-Rxu9dAjriYxcc/PQOfYTuCKaIYGawWoruRT+awf4FTukSkLoLM3xr/kmgqs3Y2fH
-pNRyvnMmyJzJ92Xeo71jfCHF/6DxIdN9ZKJ5pzY3CZOp/a56fiE=
+b20wDQYJKoZIhvcNAQELBQADggEBADb+0KoGV/ZzUQ2moJnOQQRUL9HLtG9OC8Hh
+MZhGO0IhpwOkiT1Jy05n1tXu6x+XC3XI8WmzP6uuuNGmWoq38+AdtofPDXKnnLBN
+L3WU+JGI2cZ9eBv/yv1QeFxPFR9IuVMXc+Pt+2TVoV2ancDeH31GKqkktPO2G50g
+1F8AxaAV/PYIFQVGxH2+Cra3HKOcGWk7qHZBUh/Llvy+UWL6oa2MPBPmawNFq0Jm
+pIIO7SJzIieGTZL/X9GDOyGA4q9onvIJ2NHekIflYDG7hu440rG2evrnkjg63sBA
+QWp62b4ftpTxkvg1aLN92ciNVnajHv6Zc6HP1dBClWI26Hu8TRI=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/non-ca.pem b/tls/tests/files/non-ca.pem
index 2bf3fd85..e08453cb 100644
--- a/tls/tests/files/non-ca.pem
+++ b/tls/tests/files/non-ca.pem
@@ -3,22 +3,22 @@ client.pem:
 MIIDXTCCAkUCAQMwDQYJKoZIhvcNAQELBQAwgYYxEzARBgoJkiaJk/IsZAEZFgND
 T00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMR4wHAYDVQQLDBVDZXJ0aWZpY2F0
 ZSBBdXRob3JpdHkxFzAVBgNVBAMMDmNh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z7KAitk
+IZC3h61eTJeLoQwjpE1GiiBhxXfp5/zBgd+jFf+i7l+xQ8jWW2Bzns8KTkSwXVAx
+aTFxbzkNmEidTyZ3txmK9/0wGU/uLDJZ72ohKH4ZKl9Gz6Y/WNWW9wIDAQABMA0G
+CSqGSIb3DQEBCwUAA4IBAQCit2+hiKShUhm+Usue2ncdtO0tN0vQKxNaZOeXw2An
+vm7k7fN2MnguXg7wLHPcV5UK5Iscwet8J46kEAs/gKpdtjJ60b3ZhcTalqePDtzH
+RsmD7FScmgxRSvHzv2M0BxGsCOY7OtvYYG5idQJPy8iGV84tZUDhK7Z3hErsPWYb
+FGk4EnD+dTObT7+Jtjhoq6gdASJ4Boo/PdSAcjTLW1QAZSMk0e7BC1Vmhdveubuf
+zfyGUJmxDbmclHSHwoRCnoPKUXNc3u1e9OcrQULK+bZRz1cg/V9NeFTMTPt3QLRy
+U7a3dtsyX6hWSz4fLy/OYRM52JitU+0cjg4q0Yp9BMUs
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/old-ca-key.pem b/tls/tests/files/old-ca-key.pem
index faec803d..1db5abf1 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-----
-MIIEowIBAAKCAQEAuHJbS6cniqUUQhwKTHrS0DlcPiaHvSMSW59aV7PiO0PI0t4C
-Z+6d95c+abDyk+84gD19CndoLPyg+tswhfUa2lmzBvqjTtliXJ8nIqctA0Y6Dy8T
-goB641HDDb2Gwtfxy1xlp7M8PqpqT/okReiVrFzfSADkD+sZKhhCfQQRhtN8WATu
-1rAdUMxE4plHsNOTLhDICITvSRQlapXAxFfwwB9DxQUueE4BwuHV/7pbqS6/C2l8
-1jtI1U7FWYJ/UHqCyfQmvD350smYA//eJmc9SfsshaSijvNX5zSG2VJZvMqmKUMw
-hxg7kPr3jlldhgHUXlI1offXnJbcHIOt0gzkUwIDAQABAoIBAHD+tclaBNJeIV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TjBKD2EMfZmsf6RUwUCgYEA1/GF
+ODocMIGzB3IyJ6OCiqCfQvl303A8uWq+uV/C/FlvULntyaC5pAzdplm4th1tNa9m
++KyeyRi3/8++FuGl1NVOZB8pd/nfJh3KwwaDt2rz0ZZqDYKpwVbbXOtfxakp+UJh
+BpZN7lqF6CeGVSdXw/VkygzxmI87o5sbUFG3SJUCgYA+re7Qrg+ONPaWA8AZUOcL
+NrKXw/f8K5X2cnlWuFsJpw0Dm3glz2Qn245zdCxvKtv9haDo7605BusePv+DdTy4
++5H5b76q8xo6OZn8Y3gbwoufXQbw4FIGN2iuH4bInRreJbjkPeVuOKNBVmr48MkJ
+F1FvTAfxeiWTCLfTX89n2QKBgQCxdvA3tDHkf0KFFQk44Dxw9u3Lmb8rCast6hbR
+u2w//LPpkNNlh2vo8RXbFxMgv3A31W13Yk2gEGtulOiwX0LsdVxWFfH7gmMsLQGs
+YxcuTnwPu2But/oQRPREGb98brhq+21Hf5COGODBWHIiWxHanjn1fsuxx8yIePjq
+ei15PQKBgQC6k+uZ2Ifi8w0kTNRjQeh3qQ/LNGg3gZdIsxk1mSDi9KP0WK2AY0WQ
+9hI0/CHESY9eAeUa+llm8/Kbc2c0xS5CMN7g1HzEr56dZ+yoLHO61J3K5/dGx0rl
+iFkmsNryj/k1Nm3mpLoId/chsOmViiXqzlNGeVg/21wX4uG+rk1ZLg==
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/old-ca.pem b/tls/tests/files/old-ca.pem
index 1a95df64..cb498dad 100644
--- a/tls/tests/files/old-ca.pem
+++ b/tls/tests/files/old-ca.pem
@@ -1,30 +1,30 @@
 -----BEGIN CERTIFICATE-----
-MIIFLjCCBBagAwIBAgIUd5wcnmQZ6GQ47TknLc4CnHGU69EwDQYJKoZIhvcNAQEF
+MIIFLjCCBBagAwIBAgIUJMXPCPBYU7JuV+eZvzCqQcLy6H8wDQYJKoZIhvcNAQEL
 BQAwgZ8xEzARBgoJkiaJk/IsZAEZFgNDT00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mNvbTAN
-BgkqhkiG9w0BAQUFAAOCAQEANjkMb4Zo808FT/GjAucywTzP60I/0x1+QfXcytTX
-I3u7uDZZbuGzY8Y7Yg6ty9YBMf5RBp1vHfWqll9JoMe0MiF2Vb9AzDfiNIpRs2TO
-2NYfXiAsOhiP7AJcwR3GeqMjJLCtN940/6j/xuN6I2piSXStr5LRzq0u7lOK4mB8
-wnjxKP5maiNWAouzIqNr5N4Y1CderQWqGHBSbTV9ezvrCHPI20mjhzHKcSPdVyEW
-t0VSpU2pfkbz90kMiVMFd5aPSnagpdM3aLs/4cle1UE4mxo2XwRcl5Q/T5EeaGzN
-4M3ktSpVfpykscT8JmSgnGPqOD6+PEd5phBMq1DhgQgymw==
+BgkqhkiG9w0BAQsFAAOCAQEAtOFK+XTv2hm1XqBItwo3nCC/I8zBOrN9nNFUYeBS
+rtMIMmMTje4JUg6M2x0PyFVhDAZSmmhgJHKiZT3BpLaeHSBoMJFhVEKcCZffXefW
+E7IB409LUdinPNGis88KTTlx976NngbWVJQrnzWfxGbsAXumM2wi8sByNPZoY/Db
+rqPuJSw2flFE0oS3cvm8udS3yrEDMWwMVTrzmj4/Mo//tKpXaxf7GfGjy6LYWrqh
+1TSeqZubqfz0awTkkePErmtrhmk0h0wEomyT5KiJHusIjPHBYPpv93vr7Kdu3/YJ
+vIDwbJgiGKUbQ9ei9WZj64KVgczPQX2/lNXALp85s86Kfg==
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/root-ca-csr.pem b/tls/tests/files/root-ca-csr.pem
index 99699c5a..9ca15dcc 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
 BgNVBAMMDmNhLmV4YW1wbGUuY29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8L+ViZXlz/zh/DMk5mzQUOSi5yrjjQbOJ8oeEAK2mXF42x4mNiNmBdUsavna
+emXAoCX2f05wci0sGDS1fxUyGMV5Bay32YCrFVyhfYUKbs9ItpMuyngIfBOVH7wa
+9N+XQuQIvT/ZZ2x/0PgbQWv+JFmIfMV4KuIZXuJYM0zmoLQEjgF1kdOpyoLot4u1
+EmgqceZakTTRZvst4rAZqib6F5lBgsZm4ige4KAQjGfJlVjiPBiAo/KyJjeu/d0i
+wLNdsHcCAwEAAaBRME8GCSqGSIb3DQEJDjFCMEAwHQYDVR0OBBYEFItwUX46Lhat
+01qPPvBzpTiLZfc7MA8GA1UdEwEB/wQFMAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0G
+CSqGSIb3DQEBCwUAA4IBAQBG+2R4zJceqiQGKGqpotYufcbwVmJdwgaL8LNf1RVF
+E3xIhbnIUq/akZzY60zSC1p1rfG1wMIpZgOkAYZY5yDLFNOb9CJK1Ps/3z4FhzTU
+QgUkQA/nxz+v3bemGsFH6o5ncSEKywtH+uSxnciuI4ajMOeuORsEVaCdD42bqEGJ
+38y1MNR+SK4QofFrNZ1x8CTQwo+4plA5kZrviyUz/MNB/ZTKTcRKOreAuejXJRNd
+cra2fXUNcIjrkZ2ChhdSi0oHd7dfzsNRSs8D2lXzZGnRwhGSyyd9j7Hap41RhGXY
+bvljMh4HaCEoezidKppEhlF0PkHooBLrYhBDc0/6emC5
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-and-key.pem b/tls/tests/files/server-and-key.pem
index 07bf06f3..f8dbed6f 100644
--- a/tls/tests/files/server-and-key.pem
+++ b/tls/tests/files/server-and-key.pem
@@ -2,48 +2,48 @@
 MIIDlDCCAnygAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
 ZmljYXRlIEF1dGhvcml0eTEXMB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tests/files/server-intermediate-csr.pem b/tls/tests/files/server-intermediate-csr.pem
index 1e3bd3ee..07e86c26 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
-KoZIhvcNAQEBBQADggEPADCCAQoCggEBALA2UdCahuw94BsmB10h8qrY/Kyg5s76
-oGMa/A2r1TIqk3g7bZ0i5K+9yDro4YPkF4tUa71P5/2jLv4i7n7pQK5LlbC/L3Uj
-gXBY5m2jcUh7xZOimmrIZkeHH2aacJJv7H7F49NVlG+FI5QsWedCbJ6basdkU8PS
-xfsaE01o/KLbIJOR6zNZaybVf+drAnImeFsdLyL6wzYGMjyFdH9mCHus048pGpzh
-yXVkrRIcjARHyA9RBKGHW60fWNB3Cc8dgSC7qjdIlnmNcXRXUoRifqSwGL7T8Goa
-vGE51TQ4Waf6XL9SYdVmEJea/mac9tHboiZRj5XeD8X6AVWLlRxJwzMCAwEAAaAx
+KoZIhvcNAQEBBQADggEPADCCAQoCggEBAN4t3FBzYQk48Bzm7S9JiZqmWVY/FagC
+9aim8foydtzXXcXjIEWc6AChko8FhLJAp5ZJCxm7MbYc5pZfyGgecBawG13fKYoP
+o+59dUJAw8xkENKCi57K0fsfwZf4v0SqawmYUj9AtIsy8Q6xTRfVHA+Pj2qbNNTM
+IUzgIg3b7TpGnhjNDlxYzXLPThiKD8Vm+SrXOm8W+hCpIivyGDNWCxTo1MHj2UUm
+HPGHfwZXCJ9dt8scQTV1B0TeTJ3Xm/w+aAzUfbdlkCufsk6nLsj+gYMRkGGsYo/G
+mAv4/PPUop+yNK6VLL1nNgp0hP+VwvGU2cpn6BRBmpUu5xHrXkHjU+ECAwEAAaAx
 MC8GCSqGSIb3DQEJDjEiMCAwCQYDVR0TBAIwADATBgNVHSUEDDAKBggrBgEFBQcD
-ATANBgkqhkiG9w0BAQsFAAOCAQEAAQQ0wPKWw8jlswzGwNrQeWmDjwQ+7SpZ++WM
-B7Sjq35qw/2tNwJqUPMZL2neuEwQf5Apz2YlTcT0ZAMqPx32a+RewwmuugiUKfad
-YURlq4wx+qNPfxffpotzii1jRVSF5rDSVrvpeePf6caVgPJvCvDVwoHofygrY51O
-7Nsw0H2lfd0UAh4/t8zW1rrFPTlilla3uqo9Iih+kXK/eipz10EWnlrupXnN7vDn
-2thoEe8EJvVVbDuxCkF3VeQcjqjahn6xCIoJNvt+ZXpV2jXColdHkky1r1C3935j
-Um8ZYZFteby1VjR96d+XlepO5dpihwQ4zA0nnoT6TA2UfZXxYw==
+ATANBgkqhkiG9w0BAQsFAAOCAQEAGWiCCA7ksG6NgBhTRKQikJ7mxzzSdEfrd6ow
+WmzG48Cuc/QF6Qhrs/EX0qvU76oWTh2zeogL49PxYf9JGHGkERUDWgin6EmCKRHJ
+JK5+gpKxyNnXeINi5I9JUaE2Twi/4kviGeqhmi8ej0n32YIfruHQ4bEfx6wdVa37
+ymZQFimk2HdDmmPxMr7TlGcBbJ+3rgOfl/EGhrogFwBKf55EITRz0QGKFX4DpR+9
+sgEAzICgYV8BHvgYYdcgPqDjOGIPSPG7ntHZZr8f66dl1om1s94t6rz23fabmC3g
+WHYRENSLiEJR+0dvsn4fR6Yo1fj0o4YntmR83O6H7Sa7iZgw3A==
 -----END CERTIFICATE REQUEST-----
diff --git a/tls/tests/files/server-intermediate-key.pem b/tls/tests/files/server-intermediate-key.pem
index b0b2d34c..3356bcdf 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-----
-MIIEpQIBAAKCAQEAsDZR0JqG7D3gGyYHXSHyqtj8rKDmzvqgYxr8DavVMiqTeD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/server-intermediate.pem b/tls/tests/files/server-intermediate.pem
index cbcb0d23..c2aad3f8 100644
--- a/tls/tests/files/server-intermediate.pem
+++ b/tls/tests/files/server-intermediate.pem
@@ -3,20 +3,20 @@ MIIDuzCCAqOgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBrTETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxKzApBgNVBAsMIkludGVy
 bWVkaWF0ZSBDZXJ0aWZpY2F0ZSBBdXRob3JpdHkxJDAiBgNVBAMMG2ludGVybWVk
 aWF0ZS1jYS5leGFtcGxlLmNvbTEqMCgGCSqGSIb3DQEJARYbaW50ZXJtZWRpYXRl
-LWNhQGV4YW1wbGUuY29tMB4XDTIwMTAxMjE1NTE1MVoXDTQ1MTAwNjE1NTE1MVow
+LWNhQGV4YW1wbGUuY29tMB4XDTIwMTAxMjE3NDk1MVoXDTQ1MTAwNjE3NDk1MVow
 SzETMBEGCgmSJomT8ixkARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUx
 GzAZBgNVBAMMEnNlcnZlci5leGFtcGxlLmNvbTCCASIwDQYJKoZIhvcNAQEBBQAD
-ggEPADCCAQoCggEBALA2UdCahuw94BsmB10h8qrY/Kyg5s76oGMa/A2r1TIqk3g7
-bZ0i5K+9yDro4YPkF4tUa71P5/2jLv4i7n7pQK5LlbC/L3UjgXBY5m2jcUh7xZOi
-mmrIZkeHH2aacJJv7H7F49NVlG+FI5QsWedCbJ6basdkU8PSxfsaE01o/KLbIJOR
-6zNZaybVf+drAnImeFsdLyL6wzYGMjyFdH9mCHus048pGpzhyXVkrRIcjARHyA9R
-BKGHW60fWNB3Cc8dgSC7qjdIlnmNcXRXUoRifqSwGL7T8GoavGE51TQ4Waf6XL9S
-YdVmEJea/mac9tHboiZRj5XeD8X6AVWLlRxJwzMCAwEAAaNHMEUwCQYDVR0TBAIw
+ggEPADCCAQoCggEBAN4t3FBzYQk48Bzm7S9J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6XMlF4H4gSXs4QZP9WGhp7
+6YRdcy6Z6lJfkJ9SW6nsoNJvbYGOGbxHg9brxWJV8T7cFBQQVvZKasydS6+6IK/2
+/+n38vEog/7hGQ85iOsu0xOcdkKl/SIj1ckJtGAVif2kbCSzugSafA2jRELyiI0=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/server-key.der b/tls/tests/files/server-key.der
index 81d4449c..781d7a88 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 7cfe3394..7fd24135 100644
--- a/tls/tests/files/server-key.pem
+++ b/tls/tests/files/server-key.pem
@@ -1,27 +1,27 @@
 -----BEGIN RSA PRIVATE KEY-----
-MIIEpQIBAAKCAQEAuIIeVMKBWfOIzRfKjPjratwuwEcc9OTFw6+eK+op0Z+jm4uK
-60i5966FMIGaO/QbLmTyQkqXM511EwUQ3WyqEBQ2W4+D6Upfdz5/+sgQsgfSflBn
-1y6Os+aJ2UNnTosHXttFFIfeKQeFXLFz2pCcjVLF6bTo1iZm2Kze3M/4kY/re+Hs
-Mx5fZ+epmB9on0EXAaGc9vs+jTvQR2yM/AC7FXVN5KKGnQOa8h+ZNy3dwHyGetKY
-FXSvxadxOuakfiv4oMfqcXLz5GJRtWHucrRVOvA4kToOg06GdcT+y/FgYLnzTGDW
-ZpialXJxjRlgG1NXxrUD+hf7TrFQ4waa2wRfMQIDAQABAoIBAQCOdWDH3toSwrdI
-a2snx3W1L0YljYKtDwonGiyNCaK6SIEBMw/StHdp5mTN2/NjAQoPmz91sbPm1Vc0
-lT+9Rw5TldeWgEvAT31AS5By6BAD9YgvoRNcEIV8H68lgiZ8fVn2gmRnArSkhzsQ
-I68o/WjysQtAdD8mQcY829TDNwxcDiyHXW+fTy60DqQNnQm6eYYxr16rynZNJW8g
-w0LXmBOVVoPbp5N88QmHnDafsg5nQaVGgRv1NQG+fN5OhhoGVrJ2eetkoak+uCvx
-NJr6gOsH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V875ELFkmtGhYdhWmQTHwfbheLHUGIA4hTS7Mi7kCwBWIiuFCBOVEhNWCuJL3l2D
+EiQWp+nK2AKI+0FD84PYYQKBgF27NyaQdXwNT8duEQsW0n65bvaVjcHgJw5aW7pp
+veMd9xsWgUTDBf4I5AFuKnITsXBEOxSk5KcXTM2CPlefNH4ch3If2PBZjOJzsY/p
+Nd3waaVWKZ82RyLfKzhiGbO0CJPL5HdxEpTnVu+pAfB8YkG79hdTr+7YivJUytlp
+qD/ZAoGAY0lH1VXPCVpp10KC8jVRthw5vXgHhwrYQWEbRBPFx/YS5f8VuksORiU6
+neumUYCEecWSZEZJceuvNZyPJ9wxox0pjInvFCb3gKYt1Y71VXJqcxq47DgAOE3m
+AlV1XzzsH3Fc5W+D9/bSKqt5uikwMiO081wS+MZY1xNSeiTkoQ0=
 -----END RSA PRIVATE KEY-----
diff --git a/tls/tests/files/server-self.pem b/tls/tests/files/server-self.pem
index 09787533..d203ceb7 100644
--- a/tls/tests/files/server-self.pem
+++ b/tls/tests/files/server-self.pem
@@ -1,19 +1,19 @@
 -----BEGIN CERTIFICATE-----
-MIIDHTCCAgUCFFqspSI++V5kQNb7koLDFUDGnrJ2MA0GCSqGSIb3DQEBCwUAMEsx
+MIIDHTCCAgUCFF+c5XZhrI5ZN0TBpIskizePiZwbMA0GCSqGSIb3DQEBCwUAMEsx
 EzARBgoJkiaJk/IsZAEZFgNDT00xFzAVBgoJkiaJk/IsZAEZFgdFWEFNUExFMRsw
-GQYDVQQDDBJzZXJ2ZXIuZXhhbXBsZS5jb20wHhcNMjAxMDEyMTU1MTQ0WhcNNDUx
-MDA2MTU1MTQ0WjBLMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPyLGQB
+GQYDVQQDDBJzZXJ2ZXIuZXhhbXBsZS5jb20wHhcNMjAxMDEyMTc0OTQ1WhcNNDUx
+MDA2MTc0OTQ1WjBLMRMwEQYKCZImiZPyLGQBGRYDQ09NMRcwFQYKCZImiZPy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uRQ/qGexID/Zfm0auCTcVoCrJ1Mpf+9BuflRz7KAitk
+IZC3h61eTJeLoQwjpE1GiiBhxXfp5/zBgd+jFf+i7l+xQ8jWW2Bzns8KTkSwXVAx
+aTFxbzkNmEidTyZ3txmK9/0wGU/uLDJZ72ohKH4ZKl9Gz6Y/WNWW9wIDAQABMA0G
+CSqGSIb3DQEBCwUAA4IBAQCit2+hiKShUhm+Usue2ncdtO0tN0vQKxNaZOeXw2An
+vm7k7fN2MnguXg7wLHPcV5UK5Iscwet8J46kEAs/gKpdtjJ60b3ZhcTalqePDtzH
+RsmD7FScmgxRSvHzv2M0BxGsCOY7OtvYYG5idQJPy8iGV84tZUDhK7Z3hErsPWYb
+FGk4EnD+dTObT7+Jtjhoq6gdASJ4Boo/PdSAcjTLW1QAZSMk0e7BC1Vmhdveubuf
+zfyGUJmxDbmclHSHwoRCnoPKUXNc3u1e9OcrQULK+bZRz1cg/V9NeFTMTPt3QLRy
+U7a3dtsyX6hWSz4fLy/OYRM52JitU+0cjg4q0Yp9BMUs
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/server.der b/tls/tests/files/server.der
index 469c447d..01133372 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 0b7102a9..44b49a89 100644
--- a/tls/tests/files/server.pem
+++ b/tls/tests/files/server.pem
@@ -2,21 +2,21 @@
 MIIDlDCCAnygAwIBAgIBAjANBgkqhkiG9w0BAQsFADCBhjETMBEGCgmSJomT8ixk
 ARkWA0NPTTEXMBUGCgmSJomT8ixkARkWB0VYQU1QTEUxHjAcBgNVBAsMFUNlcnRp
 ZmljYXRlIEF1dGhvcml0eTEXMBUGA1UEAwwOY2EuZXhhbXBsZS5jb20xHTAbBgkq
-hkiG9w0BCQEWDmNhQGV4YW1wbGUuY29tMB4XDTIwMTAxMjE1NTE0NFoXDTQ1MTAw
-NjE1NTE0NFowSzETMBEGCgmSJomT8ixkARkWA0N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ghJzZXJ2ZXIuZXhhbXBsZS5jb20wDQYJKoZIhvcNAQELBQADggEBAAInl3kqvQgj
-XHOwjeUUEfnXmDZGyJ0apIGELgycnbylWwFri75Lo81XhysWPjJgSk85Mi+nRSaj
-dnBFKwimRQxbw6jeFv/t3OsB2WAcSLDVrFTWNyomODT0Yzv6FTPyg23geHIk7w6e
-yKOPi00CiK08fHwzIFD76H663WbWNocxiFwT5X5V1HMMdC8F5SfBwr8n4gfkjTsh
-HH5zcT7z+EfsE2sS3KXW7TLa1+Rg28lP9Hzl2OF3z6EZ0L/dmYAUH1MtzGyZ9BaN
-Kg60AV4Gumx7dohfq1EmDEiGBkde6MGfyOPCqF14Np+C5o7xzAlV8GLq/EvU7+YE
-iHyOKT7W4eE=
+ghJzZXJ2ZXIuZXhhbXBsZS5jb20wDQYJKoZIhvcNAQELBQADggEBAB94wSkKZiW+
+lYf/FBsDpfXEhVNyKSJUs6OxwDPi94Ye9a9ANImUVbLyQG3vYNyJX23mqh/KR//b
+IfO78aUXvbyyejrR4l55nKlEvd+9gcOhfId/xgYdSF/i0mEVKL2W1Z+pj7WY6Izc
+hHUg9SaLYMLRYhQ7C8mB0Ocu7A1svN8J47YKWunaWkToQgIqXDn6naoE4vbv7JO3
+xZEFeMiBsCc8W3dabGxBznBrrBbOckwb9G858IOpKV7RVCGFbGm5zcpMUN4/8Nyg
+hHcmfCdLL3qojamfJ2YiVrkhXSeoT1MS/5xX9fORgHfO/R1+Iv/jZYgw+qub468V
+TXVlrWigIps=
 -----END CERTIFICATE-----
diff --git a/tls/tests/files/ssl/ca.conf b/tls/tests/files/ssl/ca.conf
index e97c0b09..18f9a217 100644
--- a/tls/tests/files/ssl/ca.conf
+++ b/tls/tests/files/ssl/ca.conf
@@ -1,9 +1,7 @@
 # Root CA
 
 [ req ]
-# Use SHA-1 to verify that it does not affect the trust of trust roots,
-# even if SHA-1 is disallowed for all other certificates.
-default_md              = sha1
+default_md              = sha256
 utf8                    = yes
 string_mask             = utf8only
 prompt                  = no
diff --git a/tls/tests/files/ssl/old-ca.conf b/tls/tests/files/ssl/old-ca.conf
index b1d155a6..a943c568 100644
--- a/tls/tests/files/ssl/old-ca.conf
+++ b/tls/tests/files/ssl/old-ca.conf
@@ -1,7 +1,7 @@
 # Root CA
 
 [ req ]
-default_md              = sha1
+default_md              = sha256
 utf8                    = yes
 string_mask             = utf8only
 prompt                  = no


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