From eec147dccb792a50fb0791ea8f1fd20326a55313 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Fri, 16 Aug 2019 16:21:38 +0300 Subject: [PATCH] tests: Update RSA 3k certificates before the previous ones expire In addition, update the generation script to allow convenient update of the server and user certificates without having to generate new keys. Signed-off-by: Jouni Malinen --- tests/hwsim/auth_serv/ec-ca-openssl.cnf | 2 +- tests/hwsim/auth_serv/rsa3072-generate.sh | 12 +- tests/hwsim/auth_serv/rsa3072-server.pem | 79 +++++------ tests/hwsim/auth_serv/rsa3072-server.req | 22 +++ .../hwsim/auth_serv/rsa3072-user-rsa2048.key | 52 +++---- .../hwsim/auth_serv/rsa3072-user-rsa2048.pem | 131 +++++++++--------- .../hwsim/auth_serv/rsa3072-user-rsa2048.req | 16 +++ tests/hwsim/auth_serv/rsa3072-user.pem | 79 +++++------ tests/hwsim/auth_serv/rsa3072-user.req | 21 +++ 9 files changed, 241 insertions(+), 173 deletions(-) create mode 100644 tests/hwsim/auth_serv/rsa3072-server.req create mode 100644 tests/hwsim/auth_serv/rsa3072-user-rsa2048.req create mode 100644 tests/hwsim/auth_serv/rsa3072-user.req diff --git a/tests/hwsim/auth_serv/ec-ca-openssl.cnf b/tests/hwsim/auth_serv/ec-ca-openssl.cnf index 23467b653..c249ad4c3 100644 --- a/tests/hwsim/auth_serv/ec-ca-openssl.cnf +++ b/tests/hwsim/auth_serv/ec-ca-openssl.cnf @@ -15,7 +15,7 @@ dir = ./ec-ca certs = $dir/certs crl_dir = $dir/crl database = $dir/index.txt -#unique_subject = no +unique_subject = no new_certs_dir = $dir/newcerts certificate = $dir/cacert.pem serial = $dir/serial diff --git a/tests/hwsim/auth_serv/rsa3072-generate.sh b/tests/hwsim/auth_serv/rsa3072-generate.sh index ab3e9179f..2c1c3cbeb 100755 --- a/tests/hwsim/auth_serv/rsa3072-generate.sh +++ b/tests/hwsim/auth_serv/rsa3072-generate.sh @@ -38,7 +38,9 @@ cat ec-ca-openssl.cnf | sed "s/#@ALTNAME@/subjectAltName=critical,DNS:rsa3072.server.w1.fi/" | sed s%\./ec-ca$%./rsa3072-ca% \ > rsa3072-ca-openssl.cnf.tmp -$OPENSSL req -config rsa3072-ca-openssl.cnf.tmp -batch -new -newkey rsa:3072 -nodes -keyout rsa3072-server.key -out rsa3072-server.req -outform PEM -sha384 +if [ ! -r rsa3072-server.req ]; then + $OPENSSL req -config rsa3072-ca-openssl.cnf.tmp -batch -new -newkey rsa:3072 -nodes -keyout rsa3072-server.key -out rsa3072-server.req -outform PEM -sha384 +fi $OPENSSL ca -config rsa3072-ca-openssl.cnf.tmp -batch -keyfile rsa3072-ca.key -cert rsa3072-ca.pem -create_serial -in rsa3072-server.req -out rsa3072-server.pem -extensions ext_server -days 730 -md sha384 rm rsa3072-ca-openssl.cnf.tmp @@ -51,7 +53,9 @@ cat ec-ca-openssl.cnf | sed "s/#@ALTNAME@/subjectAltName=email:user-rsa3072@w1.fi/" | sed s%\./ec-ca$%./rsa3072-ca% \ > rsa3072-ca-openssl.cnf.tmp -$OPENSSL req -config rsa3072-ca-openssl.cnf.tmp -batch -new -newkey rsa:3072 -nodes -keyout rsa3072-user.key -out rsa3072-user.req -outform PEM -extensions ext_client -sha384 +if [ ! -r rsa3072-user.req ]; then + $OPENSSL req -config rsa3072-ca-openssl.cnf.tmp -batch -new -newkey rsa:3072 -nodes -keyout rsa3072-user.key -out rsa3072-user.req -outform PEM -extensions ext_client -sha384 +fi $OPENSSL ca -config rsa3072-ca-openssl.cnf.tmp -batch -keyfile rsa3072-ca.key -cert rsa3072-ca.pem -create_serial -in rsa3072-user.req -out rsa3072-user.pem -extensions ext_client -days 730 -md sha384 rm rsa3072-ca-openssl.cnf.tmp @@ -64,7 +68,9 @@ cat ec-ca-openssl.cnf | sed "s/#@ALTNAME@/subjectAltName=email:user-rsa3072-rsa2048@w1.fi/" | sed s%\./ec-ca$%./rsa3072-ca% \ > rsa3072-ca-openssl.cnf.tmp -$OPENSSL req -config rsa3072-ca-openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -keyout rsa3072-user-rsa2048.key -out rsa3072-user-rsa2048.req -outform PEM -extensions ext_client -sha384 +if [ ! -r rsa3072-user-rsa2048.req ]; then + $OPENSSL req -config rsa3072-ca-openssl.cnf.tmp -batch -new -newkey rsa:2048 -nodes -keyout rsa3072-user-rsa2048.key -out rsa3072-user-rsa2048.req -outform PEM -extensions ext_client -sha384 +fi $OPENSSL ca -config rsa3072-ca-openssl.cnf.tmp -batch -keyfile rsa3072-ca.key -cert rsa3072-ca.pem -create_serial -in rsa3072-user-rsa2048.req -out rsa3072-user-rsa2048.pem -extensions ext_client -days 730 -md sha384 rm rsa3072-ca-openssl.cnf.tmp diff --git a/tests/hwsim/auth_serv/rsa3072-server.pem b/tests/hwsim/auth_serv/rsa3072-server.pem index 30aca5833..546361dff 100644 --- a/tests/hwsim/auth_serv/rsa3072-server.pem +++ b/tests/hwsim/auth_serv/rsa3072-server.pem @@ -1,16 +1,17 @@ Certificate: Data: Version: 3 (0x2) - Serial Number: 12505381161559820488 (0xad8c09e8fba288c8) - Signature Algorithm: sha384WithRSAEncryption + Serial Number: + ad:8c:09:e8:fb:a2:88:cb + Signature Algorithm: sha384WithRSAEncryption Issuer: C=FI, L=Helsinki, O=w1.fi, CN=Suite B RSA 3k Root CA Validity - Not Before: Sep 17 18:16:40 2017 GMT - Not After : Sep 17 18:16:40 2019 GMT + Not Before: Aug 16 13:19:41 2019 GMT + Not After : Aug 15 13:19:41 2021 GMT Subject: C=FI, O=w1.fi, CN=rsa3072.server.w1.fi Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (3072 bit) + RSA Public-Key: (3072 bit) Modulus: 00:fe:a9:5c:59:8f:aa:80:cb:b8:4a:89:f9:3a:e8: 7d:24:51:b8:f2:05:c6:42:e0:68:b5:a4:f1:7e:8a: @@ -54,33 +55,33 @@ Certificate: X509v3 Key Usage: Digital Signature, Key Encipherment Signature Algorithm: sha384WithRSAEncryption - 55:60:59:3f:3b:85:7c:d2:95:9b:c0:00:fb:a8:57:c6:02:41: - 7b:2c:b5:fd:e0:a6:35:1c:18:f8:0f:d6:f7:f4:0c:01:7d:7c: - a4:cc:80:11:73:5b:06:03:f0:25:58:46:0b:2c:50:8e:80:5a: - f4:49:df:69:ca:8a:de:7c:00:5d:3b:5d:45:f8:c9:19:f8:e1: - ab:01:6b:ee:49:1f:c2:e3:3e:f6:a2:fa:4e:5d:b9:6f:93:2b: - cc:b8:77:52:ae:8c:22:a1:53:f2:98:d0:df:b1:9b:27:ea:32: - 76:2d:fb:4c:8a:04:32:4d:aa:07:57:ad:c7:3f:d1:86:c0:71: - 05:35:c4:6e:e3:b8:a0:63:06:6b:e8:0e:50:4b:8c:60:3a:a6: - 84:ae:da:ab:b8:7a:7b:20:7a:c5:74:9b:bf:41:a9:b8:d8:34: - 20:56:35:86:60:d0:43:fa:06:a0:b7:b1:49:f3:02:f1:cf:72: - 20:8d:9a:48:6b:db:14:30:e3:21:a4:6f:87:08:d8:95:66:e3: - b6:7e:15:e8:44:03:f3:92:b8:84:54:ba:af:c6:ce:7d:32:85: - 1f:a7:54:40:86:4e:93:89:73:e5:18:ea:49:4a:9d:80:78:6d: - 2e:d3:bf:9c:a9:75:09:3c:b7:33:36:ce:20:81:df:7e:ca:50: - 0d:c7:b9:91:82:5d:3b:25:d3:0b:ee:bb:a8:84:fc:79:ce:c1: - 1f:af:d3:df:34:f6:a0:50:3d:4b:1c:b4:91:1b:b1:5a:d2:27: - 44:4e:0e:20:f1:b3:8c:7f:08:44:27:c8:56:0a:0b:b9:aa:f7: - 4d:62:5d:35:ef:06:44:a2:2d:35:8a:66:8c:1f:c9:c2:89:cb: - 7d:38:54:84:5c:c4:96:3d:11:d1:2c:d2:98:9d:b7:4f:1c:4f: - e9:37:80:4f:25:6b:3a:29:1c:55:52:56:23:6e:4e:b6:74:d3: - cd:0a:1d:b7:24:f2:41:24:8a:05:ad:e0:d3:8f:fc:c5:bd:a7: - bc:8e:e5:7f:0b:d7 + 39:6b:3b:eb:37:00:5d:71:35:15:bd:9d:59:7b:10:f5:57:51: + bf:e7:40:69:4d:05:f5:64:d0:42:d2:7e:74:12:bf:dc:20:13: + f5:24:1f:84:18:5c:75:18:34:f6:b3:57:a1:32:de:13:ef:d9: + 79:6d:7a:9c:3a:3d:b0:3b:74:44:e8:9e:fc:19:6b:fa:55:74: + c8:e1:a1:2e:a9:ce:73:4c:7f:4d:0b:fd:33:33:10:c3:21:f1: + d1:80:31:ca:33:77:23:91:1d:11:b1:60:c9:ec:51:4c:70:31: + 3c:b6:8a:8e:e3:42:d4:e7:e1:1c:11:a7:13:99:76:3c:25:55: + 04:c2:e6:45:e5:21:39:5d:9f:e1:f2:35:84:ad:dd:3b:69:ab: + ca:f6:88:9a:4c:cc:cf:6a:82:b8:54:5a:60:40:aa:20:05:c3: + 39:c1:46:11:8d:e4:cb:b1:7c:ee:48:cf:31:18:89:7a:5c:f7: + f9:51:18:65:e1:25:28:cb:49:1c:f5:5e:f6:68:d9:8e:c5:01: + cb:4f:da:7e:7a:54:f5:b4:4d:0a:e8:3f:6d:26:a1:72:c8:07: + 50:ee:bf:64:01:8f:12:19:6d:ad:c0:6d:fa:29:ff:ab:31:9c: + fa:d4:55:46:83:a3:3b:53:cc:26:53:3f:b4:85:2f:90:76:6b: + 39:4a:06:22:72:c0:0e:45:0d:3f:80:41:03:d7:65:89:fd:01: + 3a:8c:8f:9c:af:77:93:ec:c0:fb:2e:f2:b0:db:ac:07:ac:e2: + 0f:c8:af:24:0b:57:69:9f:bb:cb:e0:d7:bc:c2:c7:6f:3f:f3: + 30:aa:42:88:7d:45:02:1e:ad:ac:da:89:8b:43:d9:80:0e:ab: + 79:c5:c4:21:97:3b:e0:99:ef:9b:50:4a:86:62:e4:af:18:ed: + 70:5b:e8:f8:87:9e:0c:c4:f0:6a:f4:1e:ce:05:f0:15:3f:68: + 02:33:1d:9d:05:e4:d8:2f:20:38:33:1a:4e:46:7e:4b:10:b2: + 6c:55:04:21:38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- diff --git a/tests/hwsim/auth_serv/rsa3072-server.req b/tests/hwsim/auth_serv/rsa3072-server.req new file mode 100644 index 000000000..b06d8c695 --- /dev/null +++ b/tests/hwsim/auth_serv/rsa3072-server.req @@ -0,0 +1,22 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIIDlDCCAfwCAQAwTzELMAkGA1UEBhMCRkkxETAPBgNVBAcMCEhlbHNpbmtpMQ4w +DAYDVQQKDAV3MS5maTEdMBsGA1UEAwwUcnNhMzA3Mi5zZXJ2ZXIudzEuZmkwggGi +MA0GCSqGSIb3DQEBAQUAA4IBjwAwggGKAoIBgQD+qVxZj6qAy7hKifk66H0kUbjy +BcZC4Gi1pPF+ijGi4AxYxYAgyyDwDsFrTeHX68xFSMmwD4/vgNsbYAKv7+gKKcgE +33CS6fHcakc7Wm8Q5hlNk5LQCo6iTTKfE8g0bBpM7KTtiSoD+xgNfw3ePn/YXSel +4XtiY3FhRVL5RxAdKMJdc/udA2i/baQSEnTH0LiHQ7Nnh85ue1gfLzLrEB/ndFw6 +2YwYyASVa+M7JUwK25nzWbCOet765NtQFZCiMOKKxqkGMOPXKd0mqJVubvXEQtD3 +fkBNPf2tL89A3dTAa4CiNH4FL78yRAvUeG0qEgh8hLRNUVrlhG4XJkOMg2sW81/6 +s5+E0yur8z4sI2W5EXbhhRLOuwM4WYK/THe6O5BRnGd2sB50HkzIsTXWNyncfsOJ +zIaeCDGccOpabIeSU+uZ+zPSMvGBMXigyX1t2WsH+shKZ1csjKbO5X42lfEJvd+/ +yFM9IWf9k8uyerVWYZ4vzmn6+lYKa5xpePdOVHMCAwEAAaAAMA0GCSqGSIb3DQEB +DAUAA4IBgQBMKANR6G6HmsFZkpY1mc3JIKJgZkfuokL8NqpDOw6R+vg/nJhLVObf +jvtQAtUxTeIvLLTpYjOePCl/SxuQ120PEEXlBiwYvo+J4NKYMTprBDfocMACHBvF +X9QljgeZ2z1/fSncyWdSzz6dBq3e5wBSGQi/7GB85SE/3ovm1Cks3fxxSslukwxC +9OfnRECVrlmMPY8KMkU7rM83f0rcxK193VUu7tOuP+s/bNhdto96LZj8qFfAdoSc +622A5TH0VWhvw1c6RKSKIBAmbAJ/fyaENYZ5XQALMoagTRNg626w5DaXd81JwOC1 +TPT2o9oFXGS/W8owTwDzTubXCaRPysQIVF4mq937SIy/UIxcaBw1TzRzpW22lql7 +muWfRSsmUgHOlxhQJH3SrYnkEzm4+0NzOLqM9xoABKH91uTt7MD+3x/rpB9Yjc8I +f0B+PiRZosmS8IiOjkexGJa3Lm1RTGxWrulLc7pY8euNcfNi4HAfQL7fhJlor68T +R9SB/u7pBfo= +-----END CERTIFICATE REQUEST----- diff --git a/tests/hwsim/auth_serv/rsa3072-user-rsa2048.key b/tests/hwsim/auth_serv/rsa3072-user-rsa2048.key index d2140ae34..a20e20ac0 100644 --- a/tests/hwsim/auth_serv/rsa3072-user-rsa2048.key +++ b/tests/hwsim/auth_serv/rsa3072-user-rsa2048.key @@ -1,28 +1,28 @@ -----BEGIN PRIVATE KEY----- -MIIEvwIBADANBgkqhkiG9w0BAQEFAASCBKkwggSlAgEAAoIBAQDQUBuCtEBzXiET -GAIe5ofhmbD1/oSu3876x21OFNXfNiIztQanZUETDadSUVUEVJuogNzMgPqpcLp4 -hjvBx1JGe3JOOQ9DQPa3NAk3zwCUVqVrhsRofEcgRfD8ngM1QpYuEoi3S0uEEZHa -8BY0Th04hJ7i1a/m5Jbbw/dp8VCsR5IdwPbzjxAtU6Fh2KzVUHn9yNHDg8fW+RLP -CND/z9JOz9Ebjqkk+IDlZQ4m6vBxgVigYFuyBL9Bw0tpuOauXh2xGz4dkWm4gjKI -i02I6kecMBAbTNFf7Tgy1oBtK88TwfTXjuAwvykgPdV/FPATavlQone9e8iE0zuO -iSYGf5EdAgMBAAECggEAZehanQWLZiUNbybWmsFShjZG0QETbe2Fdz+qpIEi49C6 -yKrtt2ScgjKywV2ShszRXYy098K9XbkNMDsS7siQ4nQvxj65zb/xMkzdmZTGBsug -n0rNuQPb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+Ei5iP8P4sFFHorZ0byu3d +leo2enR2cAS9JAc3ERrZDl9kS1Y/1jNE3To+tSjtjMecMj/mOOC/9RC3xUytfTQk +FV71TGIxfPECgYBHdrdzWkkiDGoLE7fZL295KKclVupl1M8KmQmTj4ORdShLQRjL +ptq/U5HI1mEY7gRYmG7ZosKgn/l9rhjPhdQaCTUnDxixsJPBeKM7ycPpeFe+CFSX +Ufby1i12ObTFHgRF1JI3HqI1E9Qvw/07GFQ/NEVp1/ngVbUHC3WePfkq6QKBgAkX +vPvhgNnleeDpJZNLXi1XWvq6vXVzh1CPucz9H4AjKspDED2b+wUw0VGKPVee+9rs ++44qXVbMA1+CxH7lMsxIuBWyw9eYnsaytxbrX4baaJv0PE9LAZryWHYqFa1HrDYL +hVCJHWIYnR/KKDOpd1kbIlVxvofbdl3vrSEj5lPBAoGBAMWJPg4YIL7etbE3UAXb +aN9vuzH3Zh/yFCKJ2RHo1/tlqJKYRmW8mJSLSx2vVWg/xGIMfe8Eboj4TnlBJDOC +gUjVCAnk3b9ZBEQqU5TKjB9h91xpJIkfd0Z7OiJJ7N+JWAtnUtFSux3kGgZi2aGP +9rzRN4p1+s80q5+BjOUJrPi0 -----END PRIVATE KEY----- diff --git a/tests/hwsim/auth_serv/rsa3072-user-rsa2048.pem b/tests/hwsim/auth_serv/rsa3072-user-rsa2048.pem index 9a263e7f0..56b4a5994 100644 --- a/tests/hwsim/auth_serv/rsa3072-user-rsa2048.pem +++ b/tests/hwsim/auth_serv/rsa3072-user-rsa2048.pem @@ -1,41 +1,42 @@ Certificate: Data: Version: 3 (0x2) - Serial Number: 17810147094499836298 (0xf72a5a6b951e418a) - Signature Algorithm: sha384WithRSAEncryption + Serial Number: + ad:8c:09:e8:fb:a2:88:cd + Signature Algorithm: sha384WithRSAEncryption Issuer: C=FI, L=Helsinki, O=w1.fi, CN=Suite B RSA 3k Root CA Validity - Not Before: Jan 12 19:10:14 2018 GMT - Not After : Jan 12 19:10:14 2020 GMT + Not Before: Aug 16 13:19:41 2019 GMT + Not After : Aug 15 13:19:41 2021 GMT Subject: C=FI, O=w1.fi, CN=user-rsa3072-rsa2048 Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (2048 bit) + RSA Public-Key: (2048 bit) Modulus: - 00:d0:50:1b:82:b4:40:73:5e:21:13:18:02:1e:e6: - 87:e1:99:b0:f5:fe:84:ae:df:ce:fa:c7:6d:4e:14: - d5:df:36:22:33:b5:06:a7:65:41:13:0d:a7:52:51: - 55:04:54:9b:a8:80:dc:cc:80:fa:a9:70:ba:78:86: - 3b:c1:c7:52:46:7b:72:4e:39:0f:43:40:f6:b7:34: - 09:37:cf:00:94:56:a5:6b:86:c4:68:7c:47:20:45: - f0:fc:9e:03:35:42:96:2e:12:88:b7:4b:4b:84:11: - 91:da:f0:16:34:4e:1d:38:84:9e:e2:d5:af:e6:e4: - 96:db:c3:f7:69:f1:50:ac:47:92:1d:c0:f6:f3:8f: - 10:2d:53:a1:61:d8:ac:d5:50:79:fd:c8:d1:c3:83: - c7:d6:f9:12:cf:08:d0:ff:cf:d2:4e:cf:d1:1b:8e: - a9:24:f8:80:e5:65:0e:26:ea:f0:71:81:58:a0:60: - 5b:b2:04:bf:41:c3:4b:69:b8:e6:ae:5e:1d:b1:1b: - 3e:1d:91:69:b8:82:32:88:8b:4d:88:ea:47:9c:30: - 10:1b:4c:d1:5f:ed:38:32:d6:80:6d:2b:cf:13:c1: - f4:d7:8e:e0:30:bf:29:20:3d:d5:7f:14:f0:13:6a: - f9:50:a2:77:bd:7b:c8:84:d3:3b:8e:89:26:06:7f: - 91:1d + 00:db:66:ff:8b:95:66:96:2e:4a:74:02:80:43:fc: + 09:fa:b6:41:78:09:f8:e9:bf:6b:41:fd:5b:bf:cc: + 66:d8:07:c3:0d:ec:48:97:8d:2c:4f:58:f5:b5:27: + 07:ee:48:7c:6b:98:a2:76:e8:8b:94:11:77:68:36: + 43:1f:2c:88:9f:d6:40:df:ec:27:16:63:ae:34:1c: + d5:ec:26:c5:d9:ad:77:a9:73:14:86:a3:a4:2e:67: + 63:fd:e8:d7:dd:c7:18:67:0a:d3:af:bf:7d:20:9a: + 67:fd:5c:c0:7c:6e:cc:d8:ab:3d:2b:8e:ae:09:0c: + b5:23:d9:b4:f9:fb:e2:69:e3:69:05:28:5d:ee:37: + 1b:c7:c0:ba:83:ce:e1:30:62:1f:a9:dd:ab:9e:d4: + dd:8c:e4:a4:e0:1f:a5:dc:95:48:02:a0:9f:f4:a5: + a8:71:c8:8f:06:be:4c:4e:41:8c:7f:91:47:a8:06: + 6d:46:c3:49:b8:af:c5:27:46:41:e2:2c:b6:6d:68: + 66:da:c0:0c:84:be:df:61:ca:49:47:f7:19:66:36: + 09:05:1b:27:9b:80:43:f0:55:41:b4:4e:0f:25:71: + e5:ba:b8:dc:72:b0:b5:49:a8:95:02:49:a8:67:2a: + 78:f3:b4:0e:ab:69:05:e9:d9:30:ad:b0:bd:26:f0: + 8d:33 Exponent: 65537 (0x10001) X509v3 extensions: X509v3 Basic Constraints: CA:FALSE X509v3 Subject Key Identifier: - DB:BE:D5:98:AD:BC:11:FA:AC:C7:EE:5A:B7:F6:82:D2:A6:7B:05:8A + CC:85:AA:3D:E4:37:51:3E:70:46:96:8E:00:65:C3:81:20:E0:E4:87 X509v3 Authority Key Identifier: keyid:21:F7:EF:DA:C3:34:3A:ED:CD:D5:50:C0:B3:BA:09:EE:3F:80:D7:70 @@ -46,50 +47,50 @@ Certificate: X509v3 Key Usage: Digital Signature, Key Encipherment Signature Algorithm: sha384WithRSAEncryption - ab:f4:bf:67:e3:e9:ef:cd:bd:86:9d:77:6f:75:ac:4d:f0:b6: - d2:9c:ec:62:87:3a:78:04:57:2e:79:51:61:35:e7:cb:8d:ed: - 42:17:63:02:0e:9f:cf:75:40:ae:c4:7e:8e:62:dc:b7:b2:75: - e2:b2:eb:3d:5c:f9:1e:0a:81:5b:0b:7b:d0:cf:08:8c:59:bf: - 87:44:a1:e8:2f:a4:09:20:52:44:8a:20:ee:66:4c:2c:ec:0e: - be:73:a0:5c:02:e3:06:13:a8:60:5d:ef:b9:ff:c2:c4:b2:68: - 8d:ab:ed:99:89:e8:f2:37:21:f5:5c:f7:24:83:c1:e0:52:fb: - c7:21:47:60:d1:e6:b5:e7:34:a9:cd:d3:48:94:36:b6:03:0d: - 1a:be:82:3e:e2:26:60:f6:fe:fd:77:8d:d2:92:8a:4d:9d:03: - ba:f1:88:16:16:19:89:fc:dd:75:71:6e:b1:9f:63:5c:79:aa: - 3c:ec:3b:e8:83:5c:5f:fb:db:98:bb:54:9a:de:8d:95:c7:c1: - 71:dc:3b:c5:ed:fe:7e:ec:ab:6e:3f:77:a9:82:4f:28:ff:e3: - c9:b2:cf:57:b5:b9:5b:4e:f2:09:d8:6a:2f:76:3d:e3:8c:98: - 06:4e:05:6c:c2:c0:4a:0e:2d:bf:35:ec:31:70:ba:11:12:ae: - 03:d9:1f:fe:01:cf:86:4b:0e:87:99:0a:57:11:0c:0e:21:de: - 87:65:87:ea:c5:16:b2:c0:bd:91:52:f4:7b:90:66:0f:7c:93: - 10:f0:8c:40:e6:c7:4f:f5:22:37:6e:db:c3:93:ad:a6:d8:bf: - e5:45:44:ff:9a:54:50:7e:59:ae:71:25:ae:96:41:da:45:d7: - f7:80:9a:b5:5e:8a:f0:5f:0c:22:b0:2a:f0:1f:ba:96:3b:7f: - f6:f0:52:55:cd:5d:94:2f:af:5f:18:49:03:3b:b1:1b:26:68: - 3e:d4:ea:7f:16:c8:73:6e:85:1f:7e:75:fd:98:fa:26:69:78: - 9c:86:c7:45:0d:39 + 56:58:31:e4:90:41:01:ca:19:97:06:e0:5a:74:a4:a6:1d:1d: + e4:71:bf:dc:cd:94:99:5c:20:24:73:7f:42:6e:1e:d0:4b:89: + 6f:e3:1e:fa:16:7d:1e:b6:92:5f:e2:f8:66:3f:9f:fe:4b:0c: + 39:c0:c1:bf:e3:8b:e9:cd:25:39:f6:50:4f:2a:a0:8c:1d:0c: + 26:6a:3a:65:42:ee:4e:2a:23:5d:54:79:ca:9e:57:9b:c0:c0: + 04:55:d4:ad:4f:06:88:71:f7:d8:6f:cd:7d:8e:92:a9:85:aa: + a0:3c:0d:47:af:f9:cd:db:d6:41:f7:e1:a2:2d:b6:4d:70:78: + 9f:08:07:dd:9b:27:bf:cb:85:07:55:0d:bc:55:1c:84:04:84: + 98:9e:62:80:ca:93:b8:16:5b:74:fe:a1:cf:d7:59:99:be:23: + f4:e3:a3:5f:2b:22:a5:38:09:c0:04:89:2e:f4:64:fe:b9:90: + 17:38:02:2c:6b:ae:ca:36:f1:3a:e0:e1:db:47:99:78:59:ed: + 98:b7:95:f9:06:5a:37:03:9f:96:bd:87:cd:8d:f9:5c:3b:22: + b2:ca:f6:b0:e6:b9:70:4e:70:ea:ab:25:bd:f7:4f:1a:5d:7b: + d2:36:aa:30:c1:95:cb:e5:71:3a:51:6e:e5:b4:b6:e2:19:55: + 05:50:e5:4d:88:8d:fd:0e:0e:e3:5b:86:61:cf:10:b7:dd:7f: + 12:01:b8:bf:2c:a6:86:7b:86:ff:b3:cc:b0:c7:ca:2a:c6:33: + 2e:81:f8:bc:19:e0:da:b4:d5:6a:69:dd:cb:c6:5d:41:7b:d0: + d1:02:67:7f:c0:39:e2:7c:60:9a:8b:ce:c9:1f:2a:0c:69:04: + 22:36:4d:50:20:bc:cd:6a:fa:5e:c2:96:ef:d0:82:55:ea:2c: + 64:87:59:36:f3:db:06:80:41:1b:8d:75:6e:db:bc:66:d5:15: + a3:72:89:d0:ee:ed:e4:37:b1:68:40:7c:9e:da:5d:01:12:91: + f3:bb:39:45:57:26 -----BEGIN CERTIFICATE----- -MIIEKDCCApCgAwIBAgIJAPcqWmuVHkGKMA0GCSqGSIb3DQEBDAUAMFExCzAJBgNV +MIIEKDCCApCgAwIBAgIJAK2MCej7oojNMA0GCSqGSIb3DQEBDAUAMFExCzAJBgNV BAYTAkZJMREwDwYDVQQHDAhIZWxzaW5raTEOMAwGA1UECgwFdzEuZmkxHzAdBgNV -BAM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uBZbdP6hz9dZmb4j9OOjXysipTgJwASJLvRk/rmQ +FzgCLGuuyjbxOuDh20eZeFntmLeV+QZaNwOflr2HzY35XDsissr2sOa5cE5w6qsl +vfdPGl170jaqMMGVy+VxOlFu5bS24hlVBVDlTYiN/Q4O41uGYc8Qt91/EgG4vyym +hnuG/7PMsMfKKsYzLoH4vBng2rTVamndy8ZdQXvQ0QJnf8A54nxgmovOyR8qDGkE +IjZNUCC8zWr6XsKW79CCVeosZIdZNvPbBoBBG411btu8ZtUVo3KJ0O7t5DexaEB8 +ntpdARKR87s5RVcm -----END CERTIFICATE----- diff --git a/tests/hwsim/auth_serv/rsa3072-user-rsa2048.req b/tests/hwsim/auth_serv/rsa3072-user-rsa2048.req new file mode 100644 index 000000000..5dc231bc0 --- /dev/null +++ b/tests/hwsim/auth_serv/rsa3072-user-rsa2048.req @@ -0,0 +1,16 @@ +-----BEGIN CERTIFICATE REQUEST----- +MIIClDCCAXwCAQAwTzELMAkGA1UEBhMCRkkxETAPBgNVBAcMCEhlbHNpbmtpMQ4w +DAYDVQQKDAV3MS5maTEdMBsGA1UEAwwUdXNlci1yc2EzMDcyLXJzYTIwNDgwggEi +MA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQDbZv+LlWaWLkp0AoBD/An6tkF4 +Cfjpv2tB/Vu/zGbYB8MN7EiXjSxPWPW1JwfuSHxrmKJ26IuUEXdoNkMfLIif1kDf +7CcWY640HNXsJsXZrXepcxSGo6QuZ2P96NfdxxhnCtOvv30gmmf9XMB8bszYqz0r +jq4JDLUj2bT5++Jp42kFKF3uNxvHwLqDzuEwYh+p3aue1N2M5KTgH6XclUgCoJ/0 +pahxyI8GvkxOQYx/kUeoBm1Gw0m4r8UnRkHiLLZtaGbawAyEvt9hyklH9xlmNgkF +GyebgEPwVUG0Tg8lceW6uNxysLVJqJUCSahnKnjztA6raQXp2TCtsL0m8I0zAgMB +AAGgADANBgkqhkiG9w0BAQwFAAOCAQEAIymC4XT/XzkwrdIS/gE7QOu144FJiy4Y +gA+udw+z4n1e59j9nNTVcaVliSWl4J33XYdUAAiSq78gRUW8xzhrjri1QkNyYg9M +/ZkjkFN0vqFLr/ts8SX6x8VuqHGSzP1DCOKcYGLRXZWvzA8LMz4ZmxVdzEGEAL3Z +UQwfAPXvervh2jKtesi2UeCM3PyJmterxCuPyujybK4WvRVvxMSsCOiIT4LzxKfD +MuRZ/7UbGoVOBXwrlYfrr+UmVLc9HJG86GvOKCgnQh0s/QaM69PPLRajXIh4eJdj +v7YnrfnxEV8wmTUg9QjMOdnlDCmPZcAyGBEubNYSzJAzE8aOQOi0bA== +-----END CERTIFICATE REQUEST----- diff --git a/tests/hwsim/auth_serv/rsa3072-user.pem b/tests/hwsim/auth_serv/rsa3072-user.pem index f26039a0c..fef367b07 100644 --- a/tests/hwsim/auth_serv/rsa3072-user.pem +++ b/tests/hwsim/auth_serv/rsa3072-user.pem @@ -1,16 +1,17 @@ Certificate: Data: Version: 3 (0x2) - Serial Number: 12505381161559820489 (0xad8c09e8fba288c9) - Signature Algorithm: sha384WithRSAEncryption + Serial Number: + ad:8c:09:e8:fb:a2:88:cc + Signature Algorithm: sha384WithRSAEncryption Issuer: C=FI, L=Helsinki, O=w1.fi, CN=Suite B RSA 3k Root CA Validity - Not Before: Sep 17 18:16:40 2017 GMT - Not After : Sep 17 18:16:40 2019 GMT + Not Before: Aug 16 13:19:41 2019 GMT + Not After : Aug 15 13:19:41 2021 GMT Subject: C=FI, O=w1.fi, CN=user-rsa3072 Subject Public Key Info: Public Key Algorithm: rsaEncryption - Public-Key: (3072 bit) + RSA Public-Key: (3072 bit) Modulus: 00:92:77:67:8e:44:34:83:a8:37:f9:a9:c4:72:5c: 71:72:9d:35:1d:3d:8c:34:22:5c:24:f8:87:81:de: @@ -54,33 +55,33 @@ Certificate: X509v3 Key Usage: Digital Signature, Key Encipherment Signature Algorithm: sha384WithRSAEncryption - 82:14:fb:75:bc:ee:a9:e9:9d:fa:bf:af:19:ef:d5:80:2d:c7: - 47:52:bd:a5:68:f3:38:5b:47:45:a0:54:53:48:14:1a:28:af: - 10:f7:a5:a8:4e:b6:86:12:15:b0:3f:5e:df:03:c8:d8:ae:f0: - eb:67:7e:ad:6f:93:8a:bd:16:a2:5f:70:ba:4c:61:62:d5:23: - f5:bc:a6:a6:84:25:05:f9:15:54:54:05:22:c7:28:18:df:76: - 18:f8:87:fe:50:81:7f:22:9b:4e:2e:34:62:f1:10:8a:df:78: - f8:b7:0e:e7:fe:86:46:e7:52:e4:88:85:48:d3:c9:70:7e:77: - db:1f:d1:ab:b9:34:d5:54:17:9a:f5:6b:6a:2c:1d:71:e6:ee: - 17:76:ed:6f:af:1e:47:48:33:38:43:9f:c5:3d:ab:c6:8b:03: - ec:bb:30:9f:a3:32:69:38:3f:74:76:bd:4b:39:15:5e:22:c6: - f6:e7:fb:2b:8f:f9:8a:60:00:6f:08:04:a8:a9:6f:78:ba:16: - a5:5f:82:82:cf:a9:9a:d3:b8:8e:44:71:09:3f:ae:0f:0f:f9: - a6:68:20:e9:65:a7:5a:16:b7:4b:12:53:77:77:f8:cf:34:e7: - 49:cb:1d:e8:ee:82:70:50:3a:30:1a:fe:71:ae:b2:13:95:6e: - 3c:c2:f9:49:1c:34:15:86:a2:b4:fa:4d:08:4a:92:40:66:bc: - db:76:84:d2:5e:03:4c:9e:62:78:9d:01:60:db:35:be:e3:3a: - 29:15:87:64:44:0d:8f:78:c4:ce:cc:c6:68:8d:c3:ea:42:86: - 14:de:26:26:25:1d:02:fb:e5:b9:be:8d:44:7c:75:a4:fe:13: - 63:cb:94:8f:5a:8c:86:e5:4c:fd:05:d1:3b:2f:91:9b:bb:03: - 13:71:f0:d7:b8:7f:a1:ee:4e:5b:a2:1c:22:d4:38:7a:16:62: - 50:11:5e:ab:23:14:a7:a7:5e:24:4a:0c:20:54:8b:05:56:4f: - d0:8c:c0:2d:12:ca + b8:51:21:70:fc:ce:a2:a6:43:db:b1:54:c6:51:ee:a9:77:dd: + ad:3f:75:fc:23:0c:be:a5:e7:ec:f4:2d:33:04:08:48:45:58: + 5d:1f:83:57:57:43:b0:be:81:69:d7:51:65:f8:24:97:8e:3c: + 01:60:a3:b3:0a:11:43:94:2c:68:f0:a1:28:63:e4:ce:a8:27: + 2d:74:6f:8f:e4:10:8e:9a:56:91:72:61:fd:85:82:8a:48:dd: + d6:f3:40:97:de:6d:8b:51:ef:e8:a0:a5:65:45:96:aa:85:d1: + b6:86:8e:53:68:2d:d0:c3:6b:11:ba:8e:15:3c:a4:b7:38:fe: + 9f:1c:57:b8:58:a3:f6:ff:31:e4:95:f9:d8:52:80:66:b1:c4: + f9:ce:95:01:30:89:7b:e7:ec:86:b5:c6:95:46:55:5f:ce:36: + 43:8f:9c:ca:48:86:20:d0:60:89:c8:03:d0:25:1e:38:25:bb: + d8:b1:e1:72:9a:f5:f3:97:e6:76:41:80:0e:00:47:06:59:46: + 2b:37:57:07:77:e4:5e:9c:38:0e:80:81:61:ab:89:ef:43:99: + 7a:2c:24:b5:60:c2:5e:a8:2b:59:03:1d:e3:ab:b9:0b:02:3f: + 16:90:57:70:56:d7:40:42:70:0e:de:27:9e:f1:27:30:e0:2c: + 56:5c:bf:56:43:db:fb:a6:14:ba:0a:ef:87:d5:a4:00:73:59: + 8b:a0:10:1d:b1:8a:31:a8:ef:ae:c7:c5:25:65:b5:05:a0:df: + 16:63:0e:58:f4:0e:5f:9c:e8:95:ea:b5:18:63:6e:ae:5a:dc: + c5:d5:95:c7:f9:23:46:76:96:d6:d2:ec:a0:63:01:3c:63:f1: + 99:6e:b1:f2:3c:e7:08:ff:67:53:dd:b7:6e:83:91:cb:32:e9: + 5e:64:8b:5f:46:6c:80:02:a8:37:3c:a3:17:ad:33:5f:dc:75: + e6:41:dc:db:19:26:c0:34:76:5d:19:a5:10:89:ad:59:5e:5d: + 69:41:2d:3f:64:d0 -----BEGIN CERTIFICATE----- -MIIEmDCCAwCgAwIBAgIJAK2MCej7oojJMA0GCSqGSIb3DQEBDAUAMFExC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+d9sf0au5NNVUF5r1a2osHXHm7hd27W+vHkdIMzhDn8U9q8aLA+y7 -MJ+jMmk4P3R2vUs5FV4ixvbn+yuP+YpgAG8IBKipb3i6FqVfgoLPqZrTuI5EcQk/ -rg8P+aZoIOllp1oWt0sSU3d3+M8050nLHejugnBQOjAa/nGushOVbjzC+UkcNBWG -orT6TQhKkkBmvNt2hNJeA0yeYnidAWDbNb7jOikVh2REDY94xM7MxmiNw+pChhTe -JiYlHQL75bm+jUR8daT+E2PLlI9ajIblTP0F0TsvkZu7AxNx8Ne4f6HuTluiHCLU -OHoWYlARXqsjFKenXiRKDCBUiwVWT9CMwC0Syg== +HQ8EBAMCBaAwDQYJKoZIhvcNAQEMBQADggGBALhRIXD8zqKmQ9uxVMZR7ql33a0/ +dfwjDL6l5+z0LTMECEhFWF0fg1dXQ7C+gWnXUWX4JJeOPAFgo7MKEUOULGjwoShj +5M6oJy10b4/kEI6aVpFyYf2FgopI3dbzQJfebYtR7+igpWVFlqqF0baGjlNoLdDD +axG6jhU8pLc4/p8cV7hYo/b/MeSV+dhSgGaxxPnOlQEwiXvn7Ia1xpVGVV/ONkOP +nMpIhiDQYInIA9AlHjglu9ix4XKa9fOX5nZBgA4ARwZZRis3Vwd35F6cOA6AgWGr +ie9DmXosJLVgwl6oK1kDHeOruQsCPxaQV3BW10BCcA7eJ57xJzDgLFZcv1ZD2/um +FLoK74fVpABzWYugEB2xijGo767HxSVltQWg3xZjDlj0Dl+c6JXqtRhjbq5a3MXV +lcf5I0Z2ltbS7KBjATxj8ZlusfI85wj/Z1Pdt26Dkcsy6V5ki19GbIACqDc8oxet +M1/cdeZB3NsZJsA0dl0ZpRCJrVleXWlBLT9k0A== -----END CERTIFICATE----- diff --git a/tests/hwsim/auth_serv/rsa3072-user.req b/tests/hwsim/auth_serv/rsa3072-user.req new file mode 100644 index 000000000..c3d197411 --- /dev/null +++ b/tests/hwsim/auth_serv/rsa3072-user.req @@ -0,0 +1,21 @@ +-----BEGIN CERTIFIC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