Blame SOURCES/openldap-cbinding-Update-keys-to-RSA-4096.patch

ef2d9b
From 3ab98b2fc98843289c1833891518fb3b5b42dcd8 Mon Sep 17 00:00:00 2001
ef2d9b
From: =?UTF-8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= <ondra@openldap.org>
ef2d9b
Date: Tue, 30 Oct 2018 15:42:35 +0000
ef2d9b
Subject: [PATCH] Update keys to RSA 4096
ef2d9b
ef2d9b
---
ef2d9b
 tests/data/tls/ca/certs/testsuiteCA.crt       | 133 ++++++++++++++++--
ef2d9b
 tests/data/tls/ca/private/testsuiteCA.key     |  64 +++++++--
ef2d9b
 .../tls/certs/bjensen@mailgw.example.com.crt  |  44 ++++--
ef2d9b
 tests/data/tls/certs/localhost.crt            |  44 ++++--
ef2d9b
 tests/data/tls/conf/openssl.cnf               |   2 +-
ef2d9b
 tests/data/tls/create-crt.sh                  |   9 +-
ef2d9b
 .../private/bjensen@mailgw.example.com.key    |  64 +++++++--
ef2d9b
 tests/data/tls/private/localhost.key          |  64 +++++++--
ef2d9b
 8 files changed, 336 insertions(+), 88 deletions(-)
ef2d9b
ef2d9b
diff --git a/tests/data/tls/ca/certs/testsuiteCA.crt b/tests/data/tls/ca/certs/testsuiteCA.crt
ef2d9b
index 7458e7461..62c88acca 100644
ef2d9b
--- a/tests/data/tls/ca/certs/testsuiteCA.crt
ef2d9b
+++ b/tests/data/tls/ca/certs/testsuiteCA.crt
ef2d9b
@@ -1,16 +1,121 @@
ef2d9b
+Certificate:
ef2d9b
+    Data:
ef2d9b
+        Version: 3 (0x2)
ef2d9b
+        Serial Number:
ef2d9b
+            0b:43:f8:e9:ee:d3:38:37:92:db:19:65:d9:94:17:cc:70:45:d4:06
ef2d9b
+        Signature Algorithm: sha256WithRSAEncryption
ef2d9b
+        Issuer: C=US, ST=CA, O=OpenLDAP Foundation, OU=OpenLDAP Test Suite
ef2d9b
+        Validity
ef2d9b
+            Not Before: Oct 30 15:29:02 2018 GMT
ef2d9b
+            Not After : Nov 13 15:29:02 2519 GMT
ef2d9b
+        Subject: C=US, ST=CA, O=OpenLDAP Foundation, OU=OpenLDAP Test Suite
ef2d9b
+        Subject Public Key Info:
ef2d9b
+            Public Key Algorithm: rsaEncryption
ef2d9b
+                RSA Public-Key: (4096 bit)
ef2d9b
+                Modulus:
ef2d9b
+                    00:be:e0:ff:36:89:65:c0:4e:46:e6:24:e8:3d:81:
ef2d9b
+                    97:92:28:4b:11:c6:21:ac:28:14:31:b2:a3:64:24:
ef2d9b
+                    62:61:24:bd:76:7b:9e:7c:3a:50:65:fa:97:f3:c5:
ef2d9b
+                    9d:49:cc:61:3a:31:6f:0d:a4:d8:70:57:73:c8:c6:
ef2d9b
+                    66:06:d0:59:3f:24:3b:56:5d:70:20:e4:51:2b:88:
ef2d9b
+                    5e:f4:78:82:bc:55:b5:d5:5b:f6:e5:55:1f:3a:af:
ef2d9b
+                    59:9f:b7:5d:72:70:fe:b6:a4:dd:4e:f9:d0:38:e8:
ef2d9b
+                    15:14:c7:45:ed:5e:d3:4c:ee:02:34:3a:37:d8:75:
ef2d9b
+                    f1:49:0d:f6:8a:7b:8c:87:39:c9:fb:f2:3a:96:57:
ef2d9b
+                    cd:7c:18:a7:bb:35:de:d3:c4:79:57:20:48:07:b9:
ef2d9b
+                    65:f6:bd:7b:01:5c:99:8a:92:35:7c:b7:e3:96:1c:
ef2d9b
+                    6f:4c:47:42:c1:77:d6:62:49:0e:be:01:8f:c9:f4:
ef2d9b
+                    64:68:4c:b0:ec:10:12:d0:0e:5f:67:0e:e8:a4:bd:
ef2d9b
+                    df:9c:fb:5b:04:6f:3c:2a:35:1b:5a:ca:98:ba:f3:
ef2d9b
+                    61:f4:3a:77:28:be:a3:63:f1:d6:94:0d:fb:a0:87:
ef2d9b
+                    e3:a5:9f:56:b6:a6:6a:90:13:80:2a:2e:ae:fe:af:
ef2d9b
+                    aa:e3:e7:d8:3b:2b:a3:52:4f:73:2d:12:aa:e2:a3:
ef2d9b
+                    0c:aa:fb:11:40:86:68:de:be:2b:9b:36:19:9c:d7:
ef2d9b
+                    d7:5e:13:21:c9:b3:34:6d:09:53:ff:a3:2e:92:f4:
ef2d9b
+                    33:80:de:7a:47:1c:47:57:68:53:2a:db:73:6e:6d:
ef2d9b
+                    fa:40:df:55:25:a1:fc:87:c4:86:ef:6e:16:ec:f8:
ef2d9b
+                    48:35:f5:96:b3:55:ce:56:a9:6e:c1:8c:ea:32:85:
ef2d9b
+                    26:ea:af:0c:92:24:05:e2:49:12:b7:07:8f:06:96:
ef2d9b
+                    be:13:fa:ec:49:f7:d4:49:6f:b9:c7:6c:79:53:39:
ef2d9b
+                    a3:89:c4:4a:92:66:b0:f3:0c:72:6d:50:3c:63:1f:
ef2d9b
+                    f3:76:63:a8:aa:b7:fd:db:ef:98:b4:5b:49:b6:84:
ef2d9b
+                    66:e5:fc:60:0b:c1:f7:b0:f7:84:68:7e:71:5d:ac:
ef2d9b
+                    fc:a9:cb:f6:02:fc:86:d3:a7:c3:42:ef:ba:f4:1a:
ef2d9b
+                    27:71:5d:22:f5:53:e1:a6:f4:a5:dc:31:38:45:0b:
ef2d9b
+                    a1:6d:ab:9c:05:2e:87:8c:31:02:99:80:6d:3f:66:
ef2d9b
+                    e8:8a:d7:64:4f:08:7e:2f:f0:1f:28:ff:85:57:22:
ef2d9b
+                    ee:6a:a7:05:72:f8:cf:5d:07:c6:73:23:82:85:82:
ef2d9b
+                    76:4e:36:8a:ec:ea:f1:53:1e:e0:77:d1:4a:9f:df:
ef2d9b
+                    ec:87:91:0a:56:40:b7:23:19:fa:60:14:d0:f0:32:
ef2d9b
+                    4d:11:39
ef2d9b
+                Exponent: 65537 (0x10001)
ef2d9b
+        X509v3 extensions:
ef2d9b
+            X509v3 Subject Key Identifier: 
ef2d9b
+                90:CF:51:1D:E8:08:D4:4C:34:70:71:6B:D2:0B:00:68:D9:FD:60:50
ef2d9b
+            X509v3 Authority Key Identifier: 
ef2d9b
+                keyid:90:CF:51:1D:E8:08:D4:4C:34:70:71:6B:D2:0B:00:68:D9:FD:60:50
ef2d9b
+
ef2d9b
+            X509v3 Basic Constraints: critical
ef2d9b
+                CA:TRUE
ef2d9b
+    Signature Algorithm: sha256WithRSAEncryption
ef2d9b
+         0f:7f:a0:c5:3c:ac:dc:ed:8f:56:3e:64:89:e6:87:d0:ca:a5:
ef2d9b
+         37:b8:0e:49:aa:93:d3:e5:ac:ff:54:24:91:07:1b:9c:dc:08:
ef2d9b
+         e6:cc:15:53:be:85:4c:51:52:d3:88:d0:d8:c7:b7:98:40:41:
ef2d9b
+         8a:a7:7a:4c:96:85:61:8c:98:76:f6:a3:2c:10:31:a1:d8:e6:
ef2d9b
+         a7:4c:ec:c3:29:ad:04:8b:e3:f2:2d:4c:30:0d:a4:bc:c8:93:
ef2d9b
+         d2:9b:88:1d:a4:25:eb:ff:9f:f2:d9:c5:3b:bf:51:91:71:06:
ef2d9b
+         92:35:96:5c:ca:6d:d6:86:47:63:07:7f:37:35:53:68:e9:4e:
ef2d9b
+         d0:d0:25:42:18:e0:00:9e:ca:f5:bd:b7:94:ee:99:51:44:3a:
ef2d9b
+         0c:44:40:e3:87:e6:ce:6c:2b:3f:c1:01:6c:5c:32:d5:59:b5:
ef2d9b
+         bd:25:a3:1a:ff:85:a5:89:9c:d8:24:4b:fa:59:99:5a:64:ab:
ef2d9b
+         a1:d8:0f:c0:19:28:84:1e:89:c2:a1:15:4e:0f:7e:1f:bf:f8:
ef2d9b
+         92:df:9f:1c:d5:4a:98:40:82:ee:41:1f:de:f7:25:11:fd:76:
ef2d9b
+         0a:cf:37:40:bc:c2:2d:6a:ea:4a:0c:6d:b0:e6:75:37:b5:63:
ef2d9b
+         a8:a1:c5:81:d0:84:c0:f3:e0:c3:5c:c4:9f:ec:3b:9f:8a:74:
ef2d9b
+         ce:f0:cc:e3:e9:15:08:a0:ea:3e:a9:8e:bc:9a:01:00:96:fe:
ef2d9b
+         37:6f:61:b5:2c:4b:1f:5d:d7:24:09:fe:bf:f4:77:47:e4:ee:
ef2d9b
+         7c:ea:6b:67:84:ee:56:4f:5f:b9:b8:e4:db:70:e1:4a:b3:94:
ef2d9b
+         4d:dd:52:45:05:4d:79:d4:7c:8b:9d:9b:6a:0b:73:9e:f3:0e:
ef2d9b
+         d5:d5:46:da:b4:fb:4a:ea:5b:ab:8e:42:68:0e:96:cd:8a:6e:
ef2d9b
+         35:a8:e6:1b:6a:ed:a8:9e:3c:cc:3b:44:54:b8:2d:ba:c7:83:
ef2d9b
+         91:7c:70:40:0c:14:b8:21:7a:12:ac:8c:96:4c:94:a6:ee:fe:
ef2d9b
+         cc:77:34:8e:e3:c3:c0:44:19:51:85:07:6c:d8:d1:2e:69:8d:
ef2d9b
+         b1:0e:42:fb:e6:16:65:86:c6:e3:2f:a7:3f:b4:8e:4f:1c:83:
ef2d9b
+         c4:0a:ae:a0:d9:17:fd:cf:a2:38:a1:9f:70:dc:5c:df:3c:07:
ef2d9b
+         7b:64:01:ff:35:8c:45:43:e8:fa:a4:f6:c4:71:78:17:6e:6a:
ef2d9b
+         7f:d1:6e:66:c6:89:33:3b:28:4a:76:bf:ca:29:05:51:07:98:
ef2d9b
+         ce:63:62:25:61:7f:5e:c6:91:23:02:13:15:4f:fd:24:58:9d:
ef2d9b
+         2d:ac:eb:cb:9a:c2:82:2f:50:5c:5a:16:bb:8c:bf:4d:66:2c:
ef2d9b
+         6f:1c:c4:a9:28:e1:3d:4d
ef2d9b
 -----BEGIN CERTIFICATE-----
ef2d9b
-MIICgjCCAeugAwIBAgIJAJGJtO9oGgLiMA0GCSqGSIb3DQEBCwUAMFkxCzAJBgNV
ef2d9b
-BAYTAlVTMQswCQYDVQQIDAJDQTEcMBoGA1UECgwTT3BlbkxEQVAgRm91bmRhdGlv
ef2d9b
-bjEfMB0GA1UECwwWT3BlbkxEQVAgVGVzdCBTdWl0ZSBDQTAgFw0xNzAxMTkyMDI0
ef2d9b
-NTFaGA8yNTE4MDIwMjIwMjQ1MVowWTELMAkGA1UEBhMCVVMxCzAJBgN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MqlN7gOSaqT0+Ws/1QkkQcbnNwI5swVU76FTFFS
ef2d9b
+04jQ2Me3mEBBiqd6TJaFYYyYdvajLBAxodjmp0zswymtBIvj8i1MMA2kvMiT0puI
ef2d9b
+HaQl6/+f8tnFO79RkXEGkjWWXMpt1oZHYwd/NzVTaOlO0NAlQhjgAJ7K9b23lO6Z
ef2d9b
+UUQ6DERA44fmzmwrP8EBbFwy1Vm1vSWjGv+FpYmc2CRL+lmZWmSrodgPwBkohB6J
ef2d9b
+wqEVTg9+H7/4kt+fHNVKmECC7kEf3vclEf12Cs83QLzCLWrqSgxtsOZ1N7VjqKHF
ef2d9b
+gdCEwPPgw1zEn+w7n4p0zvDM4+kVCKDqPqmOvJoBAJb+N29htSxLH13XJAn+v/R3
ef2d9b
+R+TufOprZ4TuVk9fubjk23DhSrOUTd1SRQVNedR8i52bagtznvMO1dVG2rT7Supb
ef2d9b
+q45CaA6WzYpuNajmG2rtqJ48zDtEVLgtuseDkXxwQAwUuCF6EqyMlkyUpu7+zHc0
ef2d9b
+juPDwEQZUYUHbNjRLmmNsQ5C++YWZYbG4y+nP7SOTxyDxAquoNkX/c+iOKGfcNxc
ef2d9b
+3zwHe2QB/zWMRUPo+qT2xHF4F25qf9FuZsaJMzsoSna/yikFUQeYzmNiJWF/XsaR
ef2d9b
+IwITFU/9JFidLazry5rCgi9QXFoWu4y/TWYsbxzEqSjhPU0=
ef2d9b
 -----END CERTIFICATE-----
ef2d9b
diff --git a/tests/data/tls/ca/private/testsuiteCA.key b/tests/data/tls/ca/private/testsuiteCA.key
ef2d9b
index 2e14d7033..01a6614c1 100644
ef2d9b
--- a/tests/data/tls/ca/private/testsuiteCA.key
ef2d9b
+++ b/tests/data/tls/ca/private/testsuiteCA.key
ef2d9b
@@ -1,16 +1,52 @@
ef2d9b
 -----BEGIN PRIVATE KEY-----
ef2d9b
-MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBALfFwx2u8Q/EjNnQ
ef2d9b
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GBXAHPQxFTdU3G4mR1WcyJCxKIyzP+2M8o9
ef2d9b
+16tpb80QRnc0OLm9Izppe7JUp2hCQt+O6E8izvLE8k2ldOr5ncTNWlxTJ0yx0hEO
ef2d9b
+WTFqhwOM1pEmtxas1gLr8MX0hNsaQR+kjG2f8rPmH+GEZeeAwuhoJY1PcKAOYM5Y
ef2d9b
+yu/1yFXYTrmhD/P0+nJn1DfS5JljCJY=
ef2d9b
 -----END PRIVATE KEY-----
ef2d9b
diff --git a/tests/data/tls/certs/bjensen@mailgw.example.com.crt b/tests/data/tls/certs/bjensen@mailgw.example.com.crt
ef2d9b
index 93e3a0d39..eb0fc693f 100644
ef2d9b
--- a/tests/data/tls/certs/bjensen@mailgw.example.com.crt
ef2d9b
+++ b/tests/data/tls/certs/bjensen@mailgw.example.com.crt
ef2d9b
@@ -1,16 +1,32 @@
ef2d9b
 -----BEGIN CERTIFICATE-----
ef2d9b
-MIICejCCAeOgAwIBAgIBADANBgkqhkiG9w0BAQsFADBZMQswCQYDVQQGEwJVUzEL
ef2d9b
-MAkGA1UECAwCQ0ExHDAaBgNVBAoME09wZW5MREFQIEZvdW5kYXRpb24xHzAdBgNV
ef2d9b
-BAsMFk9wZW5MREFQIFRlc3QgU3VpdGUgQ0EwIBcNMTcwNTEwMjMxNjExWhgPMjUx
ef2d9b
-ODA1MjQyMzE2MTFaMIGbMQswCQYDVQQGEwJVUzELMAkGA1UECAwCQ0ExHDAaBgNV
ef2d9b
-BAoME09wZW5MREFQIEZvdW5kYXRpb24xETAPBgNVBAsMCE9wZW5MREFQMSMwIQYD
ef2d9b
-VQQDDBpiamVuc2VuQG1haWxndy5leGFtcGxlLmNvbTEpMCcGCSqGSIb3DQEJARYa
ef2d9b
-YmplbnNlbkBtYWlsZ3cuZXhhbXBsZS5jb20wgZ8wDQYJKoZIhvcNAQEBBQADgY0A
ef2d9b
-MIGJAoGBAMjb2C5VL+f/B/f2xJyhsdXeaGhWdABWqJlCiupk7QVPotpZphqJ2fKg
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2d9b
+U1eiTDgWO+SsfiL1K4gcTL1eLjnCBFfnHN5gfgAV5w5DaKzvKp7Qu8db4DtH+S4o
ef2d9b
+W/MBKuaHHKWUPGksvFUiGNgE/XyDU4MK34/5ulzbrWmqb24pYAzm1MyjsdzmXObw
ef2d9b
++fzg6EDBB14cWA2hA7mSqnzkiW1pELVym6+uTaIlopSIFr8nNAimwLiY5QJNGYvd
ef2d9b
+hgNNvOyUUO+nON3aHsC/rRMgar3eo7A9AkQJ6qKVvPR2h1317PJLuKaLfjbaCzNw
ef2d9b
+iA3JSQjcwR2ydlSgKKN2d/XXm/G4PZ9tUcBY4Zngn0ViT0/m7MFy9qsiWG97+yaZ
ef2d9b
+nYsN5WfwDZrtG24dTotxVQ==
ef2d9b
 -----END CERTIFICATE-----
ef2d9b
diff --git a/tests/data/tls/certs/localhost.crt b/tests/data/tls/certs/localhost.crt
ef2d9b
index 194cb119d..3aeae3c16 100644
ef2d9b
--- a/tests/data/tls/certs/localhost.crt
ef2d9b
+++ b/tests/data/tls/certs/localhost.crt
ef2d9b
@@ -1,16 +1,32 @@
ef2d9b
 -----BEGIN CERTIFICATE-----
ef2d9b
-MIICgzCCAeygAwIBAgIBADANBgkqhkiG9w0BAQsFADBZMQswCQYDVQQGEwJVUzEL
ef2d9b
-MAkGA1UECAwCQ0ExHDAaBgNVBAoME09wZW5MREFQIEZvdW5kYXRpb24xHzAdBgNV
ef2d9b
-BAsMFk9wZW5MREFQIFRlc3QgU3VpdGUgQ0EwIBcNMTcwNTEwMjMxNjExWhgPMjUx
ef2d9b
-ODA1MjQyMzE2MTFaMGoxCzAJBgNVBAYTAlVTMQswCQYDVQQIDAJDQTEcMBoGA1UE
ef2d9b
-CgwTT3BlbkxEQVAgRm91bmRhdGlvbjEcMBoGA1UECwwTT3BlbkxEQVAgVGVzdCBT
ef2d9b
-dWl0ZTESMBAGA1UEAwwJbG9jYWxob3N0MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB
ef2d9b
-iQKBgQ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oU2gctiGIZ6
ef2d9b
+6KiqBFvCP1Yvm3RSZ5t/Kv/jPMetAnCq+9JAUAodAh2+goBvUCAN9Itr/tEs98jq
ef2d9b
+9d14J7gzIRDdNHKOLrRFmoMrTaDZNtqBe5jiMf0O55tgjv4BqN4w11M51bjY4umd
ef2d9b
+GX+OXoBJG+MK7AZyaHPjHa1NMoLDOUhTvHb4zPNkPiVb8r3lYkQ4VCtre+4qqrEn
ef2d9b
+cEt9KWGpHkoz4GSKn6uidQebdi4waexcGttsHbKPaKZqzYXAJ2bjFZnv85zPtpjO
ef2d9b
+qxzqrMUruiCU7EfjGAdZ8S0lwjdMihznLATjKuwQkJ2mVg2HbLgxZu578FHTBOHW
ef2d9b
+LjVIr/80auF4Ino9ocHpIwL/E4jpYQWP/Uv4KBHwkAktmUOwqyt0iysRaWy4Gp7S
ef2d9b
+keBI9FoGtJ1Mq5M2tVINBzt1ESC3t03KqyY+/9r/IeY7A7yukC0YJnJ+HorfuQFf
ef2d9b
+0//7DOEA58bRswyWTLOAjYMJHilTKOozSQ==
ef2d9b
 -----END CERTIFICATE-----
ef2d9b
diff --git a/tests/data/tls/conf/openssl.cnf b/tests/data/tls/conf/openssl.cnf
ef2d9b
index a3c8ad9f6..632cff11c 100644
ef2d9b
--- a/tests/data/tls/conf/openssl.cnf
ef2d9b
+++ b/tests/data/tls/conf/openssl.cnf
ef2d9b
@@ -51,7 +51,7 @@ commonName              = supplied
ef2d9b
 emailAddress            = optional
ef2d9b
 
ef2d9b
 [ req ]
ef2d9b
-default_bits            = 2048
ef2d9b
+default_bits            = @KEY_BITS@
ef2d9b
 default_keyfile         = privkey.pem
ef2d9b
 distinguished_name      = req_distinguished_name
ef2d9b
 attributes              = req_attributes
ef2d9b
diff --git a/tests/data/tls/create-crt.sh b/tests/data/tls/create-crt.sh
ef2d9b
index 8c33a24fe..739f8eaf1 100755
ef2d9b
--- a/tests/data/tls/create-crt.sh
ef2d9b
+++ b/tests/data/tls/create-crt.sh
ef2d9b
@@ -5,6 +5,9 @@ if [ x"$openssl" = "x" ]; then
ef2d9b
 echo "OpenSSL command line binary not found, skipping..."
ef2d9b
 fi
ef2d9b
 
ef2d9b
+KEY_BITS=4096
ef2d9b
+KEY_TYPE=rsa:$KEY_BITS
ef2d9b
+
ef2d9b
 USAGE="$0 [-s] [-u <user@domain.com>]"
ef2d9b
 SERVER=0
ef2d9b
 USER=0
ef2d9b
@@ -45,13 +48,13 @@ echo "00" > cruft/serial
ef2d9b
 touch cruft/index.txt
ef2d9b
 touch cruft/index.txt.attr
ef2d9b
 hn=$(hostname -f)
ef2d9b
-sed -e "s;@HOSTNAME@;$hn;" conf/openssl.cnf >  ./openssl.cnf
ef2d9b
+sed -e "s;@HOSTNAME@;$hn;" -e "s;@KEY_BITS@;$KEY_BITS;" conf/openssl.cnf >  ./openssl.cnf
ef2d9b
 
ef2d9b
 if [ $SERVER = 1 ]; then
ef2d9b
 	rm -rf private/localhost.key certs/localhost.crt
ef2d9b
 
ef2d9b
 	$openssl req -new -nodes -out localhost.csr -keyout private/localhost.key \
ef2d9b
-		-newkey rsa:1024 -config ./openssl.cnf \
ef2d9b
+		-newkey $KEY_TYPE -config ./openssl.cnf \
ef2d9b
 		-subj "/CN=localhost/OU=OpenLDAP Test Suite/O=OpenLDAP Foundation/ST=CA/C=US" \
ef2d9b
 		-batch > /dev/null 2>&1
ef2d9b
 
ef2d9b
@@ -66,7 +69,7 @@ if [ $USER = 1 ]; then
ef2d9b
 	rm -f certs/$EMAIL.crt private/$EMAIL.key $EMAIL.csr
ef2d9b
 
ef2d9b
 	$openssl req -new -nodes -out $EMAIL.csr -keyout private/$EMAIL.key \
ef2d9b
-		-newkey rsa:1024 -config ./openssl.cnf \
ef2d9b
+		-newkey $KEY_TYPE -config ./openssl.cnf \
ef2d9b
 		-subj "/emailAddress=$EMAIL/CN=$EMAIL/OU=OpenLDAP/O=OpenLDAP Foundation/ST=CA/C=US" \
ef2d9b
 		-batch >/dev/null 2>&1
ef2d9b
 
ef2d9b
diff --git a/tests/data/tls/private/bjensen@mailgw.example.com.key b/tests/data/tls/private/bjensen@mailgw.example.com.key
ef2d9b
index 5f4625fd7..e30e11586 100644
ef2d9b
--- a/tests/data/tls/private/bjensen@mailgw.example.com.key
ef2d9b
+++ b/tests/data/tls/private/bjensen@mailgw.example.com.key
ef2d9b
@@ -1,16 +1,52 @@
ef2d9b
 -----BEGIN PRIVATE KEY-----
ef2d9b
-MIICdQIBADANBgkqhkiG9w0BAQEFAASCAl8wggJbAgEAAoGBAMjb2C5VL+f/B/f2
ef2d9b
-xJyhsdXeaGhWdABWqJlCiupk7QVPotpZphqJ2fKgQbX2w0sPazujt8hG96F2mBv4
ef2d9b
-9pHqzhSrKN70EA/E7b8d6ynjJpBU2P9ZgVlttnmUU++22BSuhthP5VQK7IqNyI7Z
ef2d9b
-yQ4hFzuqb/XrHD1VCDo/Z/JAkw7jAgMBAAECgYEApDgKQadoaZd7nmJlUWJqEV+r
ef2d9b
-oVK9uOEhK1zaUtV9bBA2J6uQQLZgORyJXQqJlT7f/3zVb6uGHr7lkkk03wxIu+3e
ef2d9b
-nIi7or/Cw6KmxhgslsQamf/ujjeqRlij/4pJIpEYByme9SstfzMBFNWU4t+fguPg
ef2d9b
-xXz6lvVZuNiYRWWuXxECQQDwakp31mNczqLPg8fuhdgixz7HCK5g6p4XDw+Cu9Ra
ef2d9b
-EenuOJVlnwXdW+g5jooiV5RWhxbTO6ImtgbcBGoeLSbVAkEA1eEcifIzgSi8XODd
ef2d9b
-9i6dCSMHKk4FgDRk2DJxRePLK2J1kt2bhOz/N1130fTargDWo8QiQAnd7RBOMJO/
ef2d9b
-pGaq1wJAZ2afzrjzlWf+WFgqdmk0k4i0dHBEZ8Sg5/P/TNAyPeb0gRPvFXz2zcUI
ef2d9b
-tTCcMrcOQsTpSUKdtB6YBqsTZRUwXQI/FbjHLTtr/7Ijb0tnP5l8WXE1SRajeGHZ
ef2d9b
-3BtDZdW8zKszRbc8FEP9p6HWiXxUuV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L1lNTeN5U+Ldox228fa6Gt62EpE/Y9aQMbYLBeLsvBXJ0e3DQ1PTW3kbr/v
ef2d9b
+YNOGyY1u73GtQqkbAqY3MxLNxz/loW6BZanoFYoFv+L/5Dsp7ro8vR6pASUWQLzR
ef2d9b
+cl9nAoIBAQCre87G76UXv6FIggT+cKM9MKS69KIE3mzNTYUo90L74vF65hJqlaIa
ef2d9b
+mfEcPpEU+UY+ufZSIHtTDBj/9Rswaf5whJY7RfL42pSGnW2YOMpuwDIKAEvcJedu
ef2d9b
+kZhbthBin4pa28X6L5sNxug+7Wykgesd48PmMLG4pTF+D9u7SgO37Ew5UzylPWNi
ef2d9b
+Lrv9TlX1vv9rNFh/hOCA93DNrJlNNPltIcMDByVVjrq31QmxMJwE7cdvl1V7eoiO
ef2d9b
+NQuGuGyFIEKPtl9dEUaA4SGYZ7fUqPZaZuzzM0Xa5UMpdcIzcuYYNn3G6FvV6vwU
ef2d9b
+dH+lv5X1bTB18GK88ANpC2qLCKRJPCTx
ef2d9b
 -----END PRIVATE KEY-----
ef2d9b
diff --git a/tests/data/tls/private/localhost.key b/tests/data/tls/private/localhost.key
ef2d9b
index 8a24f69f8..99cb512c4 100644
ef2d9b
--- a/tests/data/tls/private/localhost.key
ef2d9b
+++ b/tests/data/tls/private/localhost.key
ef2d9b
@@ -1,16 +1,52 @@
ef2d9b
 -----BEGIN PRIVATE KEY-----
ef2d9b
-MIICdwIBADANBgkqhkiG9w0BAQEFAASCAmEwggJdAgEAAoGBAO62ncZplcZKbuOg
ef2d9b
-ObVNgj52EEC4vX476gmWZkvXQZf+gepzxY2hu+5kYfjsfyZB/vNbAlBbEvzTmgEM
ef2d9b
-w+LadyCFrnJ1pWx/isFkBOnB6OLTi937rvaq1H90aC/xF7kbdkVhbFS/ydv8MmiM
ef2d9b
-brTVXZh78ret/5fBr27hD0QmoiK/AgMBAAECgYEA0gs5tNY/BaWFASGA5bj3u4Ij
ef2d9b
-Nu/XPPX3Lsx54o3bl6RIKEYKNF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