diff --git a/certs/ca-cert.der b/certs/ca-cert.der index dbe39d2a..bdb2f876 100644 Binary files a/certs/ca-cert.der and b/certs/ca-cert.der differ diff --git a/certs/ca-cert.pem b/certs/ca-cert.pem index 5c280581..33d90791 100644 --- a/certs/ca-cert.pem +++ b/certs/ca-cert.pem @@ -2,12 +2,12 @@ Certificate: Data: Version: 3 (0x2) Serial Number: - 7d:94:70:88:ba:07:42:8d:aa:af:4f:be:c2:1a:48:f0:d1:40:e6:42 + 33:44:1a:a8:6c:01:ec:f6:60:f2:70:51:0a:4c:d1:14:fa:bc:e9:44 Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:24 2021 GMT - Not After : Sep 15 23:07:24 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: rsaEncryption @@ -38,7 +38,7 @@ Certificate: X509v3 Authority Key Identifier: keyid:27:8E:67:11:74:C3:26:1D:3F:ED:33:63:B3:A4:D8:1D:30:E5:E8:D5 DirName:/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com - serial:7D:94:70:88:BA:07:42:8D:AA:AF:4F:BE:C2:1A:48:F0:D1:40:E6:42 + serial:33:44:1A:A8:6C:01:EC:F6:60:F2:70:51:0A:4C:D1:14:FA:BC:E9:44 X509v3 Basic Constraints: CA:TRUE @@ -47,27 +47,27 @@ Certificate: X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication Signature Algorithm: sha256WithRSAEncryption - b0:71:bb:ba:45:5a:80:25:02:a4:7e:88:0b:a9:7b:fd:b0:bb: - f6:46:b5:ba:f4:c7:e3:61:20:8c:03:15:66:f5:e4:54:82:ef: - 13:80:97:22:67:c1:d1:88:5d:e2:2d:57:f6:e0:9f:69:d6:b1: - 5c:b6:e8:e0:98:89:c8:14:12:d6:b6:89:8d:6c:b9:a0:59:4f: - 92:ee:11:53:6b:7d:93:4a:69:0a:85:d9:d5:d2:62:e8:c9:b5: - c6:4e:17:f5:0a:e8:f3:2d:86:61:0b:eb:c4:c4:c6:67:75:ed: - 9a:9f:53:a0:71:1e:a0:90:0d:f9:03:b4:bc:86:19:6e:f0:3b: - 4f:e8:ed:68:f6:e7:23:43:3b:36:83:83:4b:46:a0:9a:01:d0: - c7:85:bb:7d:94:a0:21:3d:7e:3c:6a:3d:81:db:41:7b:46:d8: - 15:62:d5:8f:4d:3d:c0:db:9a:c5:81:a8:ac:da:87:99:c7:dd: - b9:f1:14:af:d1:93:e3:f3:42:d7:a2:04:51:21:54:29:c3:45: - f6:be:5c:fa:cd:db:bf:2f:79:81:42:e5:8f:47:0b:d4:54:01: - b5:c2:4a:46:d6:a8:31:2e:64:80:3f:48:61:91:29:f3:aa:43: - 5c:69:6e:f1:01:b9:df:63:71:3d:b9:5a:fb:36:c0:11:a2:c3: - 30:9d:95:c3 + 2d:fc:f9:32:5a:be:d6:9d:42:8b:86:4e:67:22:c3:50:2d:cb: + 14:27:1d:94:f3:cd:88:42:da:41:1c:39:24:67:a7:92:4d:27: + ea:56:82:19:bf:11:b2:43:a4:8d:5d:87:b2:27:64:66:82:81: + df:c4:fd:5b:62:b0:c2:4d:9d:29:f2:41:32:cc:2e:b5:da:38: + 06:1b:e8:7f:8c:6e:3d:80:1e:00:56:49:bf:39:e0:da:68:2f: + c4:fd:00:e6:d1:81:1a:d1:4a:bb:76:52:ce:4d:24:9d:c4:a3: + a7:f1:65:14:2f:1f:a8:2d:c6:cb:ce:b1:a7:89:74:26:27:c3: + f3:a3:84:4c:34:01:14:03:7d:16:3a:c8:8b:25:2e:7b:90:cc: + 46:b1:52:34:ba:93:6e:ef:fe:43:a3:ad:c6:6f:51:fb:ba:ea: + 38:e3:6f:d6:ee:63:62:36:ea:5e:08:b4:e2:2a:46:89:e3:ae: + b3:b4:06:ef:63:7a:6e:5d:dd:c9:ec:02:4f:f7:64:c0:27:07: + b4:6f:4a:18:72:5b:34:74:7c:d0:a9:04:8f:40:8b:6a:39:d2: + 6b:1a:01:f2:01:a8:81:34:3a:e5:b0:55:d1:3c:95:ca:b0:82: + d6:ed:98:28:15:59:7e:95:a7:69:c7:b5:7b:ec:01:a7:4d:e6: + b9:a2:fe:35 -----BEGIN CERTIFICATE----- -MIIE/zCCA+egAwIBAgIUfZRwiLoHQo2qr0++whpI8NFA5kIwDQYJKoZIhvcNAQEL +MIIE/zCCA+egAwIBAgIUM0QaqGwB7PZg8nBRCkzRFPq86UQwDQYJKoZIhvcNAQEL BQAwgZQxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdNb250YW5hMRAwDgYDVQQHDAdC b3plbWFuMREwDwYDVQQKDAhTYXd0b290aDETMBEGA1UECwwKQ29uc3VsdGluZzEY MBYGA1UEAwwPd3d3LndvbGZzc2wuY29tMR8wHQYJKoZIhvcNAQkBFhBpbmZvQHdv -bGZzc2wuY29tMB4XDTIxMTIyMDIzMDcyNFoXDTI0MDkxNTIzMDcyNFowgZQxCzAJ +bGZzc2wuY29tMB4XDTIzMTIxMzIyMTkyOFoXDTI2MDkwODIyMTkyOFowgZQxCzAJ BgNVBAYTAlVTMRAwDgYDVQQIDAdNb250YW5hMRAwDgYDVQQHDAdCb3plbWFuMREw DwYDVQQKDAhTYXd0b290aDETMBEGA1UECwwKQ29uc3VsdGluZzEYMBYGA1UEAwwP d3d3LndvbGZzc2wuY29tMR8wHQYJKoZIhvcNAQkBFhBpbmZvQHdvbGZzc2wuY29t @@ -82,12 +82,12 @@ BgNVHSMEgcwwgcmAFCeOZxF0wyYdP+0zY7Ok2B0w5ejVoYGapIGXMIGUMQswCQYD VQQGEwJVUzEQMA4GA1UECAwHTW9udGFuYTEQMA4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Vp2nHtXvsAadN5rmi/jU= -----END CERTIFICATE----- diff --git a/certs/ca-ecc-cert.pem b/certs/ca-ecc-cert.pem index 326d0396..d088d30a 100644 --- a/certs/ca-ecc-cert.pem +++ b/certs/ca-ecc-cert.pem @@ -2,12 +2,12 @@ Certificate: Data: Version: 3 (0x2) Serial Number: - 2f:c0:2c:fe:1f:6a:5a:0b:dd:f6:08:63:99:42:7e:19:92:fa:dc:32 + 0f:17:46:70:fd:c2:70:d1:f9:42:49:9c:1a:c3:5d:dd:30:c8:5f:85 Signature Algorithm: ecdsa-with-SHA256 Issuer: C = US, ST = Washington, L = Seattle, O = wolfSSL, OU = Development, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:24 2021 GMT - Not After : Sep 15 23:07:24 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Washington, L = Seattle, O = wolfSSL, OU = Development, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: id-ecPublicKey @@ -31,16 +31,16 @@ Certificate: X509v3 Key Usage: critical Digital Signature, Certificate Sign, CRL Sign Signature Algorithm: ecdsa-with-SHA256 - 30:45:02:21:00:f2:a0:7a:0f:66:05:ec:81:a2:94:6a:31:e0: - 0d:ee:8f:6a:ed:63:33:0e:27:31:b3:cf:c8:a0:0e:5b:88:51: - fa:02:20:51:0f:26:46:95:37:8e:49:4e:b0:4d:cd:b1:65:fe: - 2d:43:ab:20:c7:83:70:44:11:13:86:a5:9b:3b:34:24:f2 + 30:45:02:21:00:c8:64:7f:ee:4b:be:83:48:13:ea:92:f8:1a: + 82:1e:85:b1:5a:a4:1c:e3:e8:ea:25:44:6f:e7:70:fd:eb:f3: + 76:02:20:44:02:a2:ec:c5:a1:ae:e2:a4:8a:d9:13:95:2b:a6: + 5b:09:57:86:61:42:96:97:f0:95:62:0c:03:e6:53:04:25 -----BEGIN CERTIFICATE----- -MII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SM49BAMCA0gAMEUCIQDIZH/uS76DSBPqkvgagh6FsVqkHOPo6iVE +b+dw/evzdgIgRAKi7MWhruKkitkTlSumWwlXhmFClpfwlWIMA+ZTBCU= -----END CERTIFICATE----- diff --git a/certs/crl-chain.pem b/certs/crl-chain.pem index e783f539..eafd1daa 100644 --- a/certs/crl-chain.pem +++ b/certs/crl-chain.pem @@ -2,53 +2,53 @@ Certificate Revocation List (CRL): Version 2 (0x1) Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com - Last Update: Dec 20 23:07:25 2021 GMT - Next Update: Sep 15 23:07:25 2024 GMT + Last Update: Jan 9 00:34:30 2024 GMT + Next Update: Oct 5 00:34:30 2026 GMT CRL extensions: X509v3 CRL Number: 2 Revoked Certificates: Serial Number: 02 - Revocation Date: Dec 20 23:07:25 2021 GMT + Revocation Date: Jan 9 00:34:30 2024 GMT Signature Algorithm: sha256WithRSAEncryption - 8b:c0:b8:cb:03:5c:8c:d1:53:b2:c5:b1:4d:f3:b3:e8:13:bf: - 5f:a7:1a:cc:74:e8:06:66:c1:cb:89:c3:e3:b3:fb:68:4e:8f: - d0:5b:33:d8:ed:5e:14:b3:21:c8:c0:06:66:97:6d:69:96:78: - bd:a9:d1:59:85:0f:13:29:2d:2f:49:87:94:84:14:94:38:74: - 04:16:94:10:ea:f2:31:d8:34:b7:65:e8:5e:52:4f:96:ac:bf: - 5f:4f:6c:ee:5d:04:2a:26:b2:29:7c:9d:06:82:b3:b5:e6:5b: - d5:11:72:56:d5:34:75:82:5e:2a:f3:c6:67:72:94:c6:02:83: - e8:58:85:2d:73:db:55:30:a2:c2:b1:bb:4c:bf:f6:a2:d8:b3: - fc:1b:bd:51:97:4e:f4:c2:04:4f:04:ee:61:e7:51:4b:4f:09: - fe:10:5c:3c:1e:e0:cb:51:1f:54:f4:38:3f:6c:58:ee:4e:f8: - ca:34:cd:37:ee:bb:06:53:14:c7:60:a4:89:ac:9a:50:4a:b5: - 9e:b3:59:97:9b:27:5e:5c:fa:14:74:3d:a2:76:62:63:ae:e8: - d2:f9:b7:ad:0c:3f:07:40:50:5c:e4:fb:95:3c:3d:df:2e:81: - f2:6a:9e:01:69:c3:a2:1e:d7:00:2b:6d:6c:67:f0:fb:13:ce: - f1:a5:08:d6 + b3:6f:ed:72:d2:73:6a:77:bf:3a:55:bc:54:18:6a:71:bc:6a: + cc:cd:5d:90:f5:64:8d:1b:f0:e0:48:7b:f2:7b:06:86:53:63: + 9b:d8:24:15:10:b1:19:96:9b:d2:75:a8:25:a2:35:a9:14:d6: + d5:5e:53:e3:34:9d:f2:8b:07:19:9b:1f:f1:02:0f:04:46:e8: + b8:b6:f2:8d:c7:c0:15:3e:3e:8e:96:73:15:1e:62:f6:4e:2a: + f7:aa:a0:91:80:12:7f:81:0c:65:cc:38:be:58:6c:14:a5:21: + a1:8d:f7:8a:b9:24:f4:2d:ca:c0:67:43:0b:c8:1c:b4:7d:12: + 7f:a2:1b:19:0e:94:cf:7b:9f:75:a0:08:9a:67:3f:87:89:3e: + f8:58:a5:8a:1b:2d:da:9b:d0:1b:18:92:c3:d2:6a:d7:1c:fc: + 45:69:77:c3:57:65:75:99:9e:47:2a:20:25:ef:90:f2:5f:3b: + 7d:9c:7d:00:ea:92:54:eb:0b:e7:17:af:24:1a:f9:7c:83:50: + 68:1d:dc:5b:60:12:a7:52:78:d9:a9:b0:1f:59:48:36:c7:a6: + 97:34:c7:87:3f:ae:fd:a9:56:5d:48:cc:89:7a:79:60:8f:9b: + 2b:63:3c:b3:04:1d:5f:f7:20:d2:fd:f2:51:b1:96:93:13:5b: + ab:74:82:8b -----BEGIN X509 CRL----- MIICBDCB7QIBATANBgkqhkiG9w0BAQsFADCBlDELMAkGA1UEBhMCVVMxEDAOBgNV BAgMB01vbnRhbmExEDAOBgNVBAcMB0JvemVtYW4xETAPBgNVBAoMCFNhd3Rvb3Ro MRMwEQYDV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----END X509 CRL----- Certificate: Data: Version: 3 (0x2) Serial Number: - 7d:94:70:88:ba:07:42:8d:aa:af:4f:be:c2:1a:48:f0:d1:40:e6:42 + 33:44:1a:a8:6c:01:ec:f6:60:f2:70:51:0a:4c:d1:14:fa:bc:e9:44 Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:24 2021 GMT - Not After : Sep 15 23:07:24 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: rsaEncryption @@ -79,7 +79,7 @@ Certificate: X509v3 Authority Key Identifier: keyid:27:8E:67:11:74:C3:26:1D:3F:ED:33:63:B3:A4:D8:1D:30:E5:E8:D5 DirName:/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com - serial:7D:94:70:88:BA:07:42:8D:AA:AF:4F:BE:C2:1A:48:F0:D1:40:E6:42 + serial:33:44:1A:A8:6C:01:EC:F6:60:F2:70:51:0A:4C:D1:14:FA:BC:E9:44 X509v3 Basic Constraints: CA:TRUE @@ -88,27 +88,27 @@ Certificate: X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication Signature Algorithm: sha256WithRSAEncryption - b0:71:bb:ba:45:5a:80:25:02:a4:7e:88:0b:a9:7b:fd:b0:bb: - f6:46:b5:ba:f4:c7:e3:61:20:8c:03:15:66:f5:e4:54:82:ef: - 13:80:97:22:67:c1:d1:88:5d:e2:2d:57:f6:e0:9f:69:d6:b1: - 5c:b6:e8:e0:98:89:c8:14:12:d6:b6:89:8d:6c:b9:a0:59:4f: - 92:ee:11:53:6b:7d:93:4a:69:0a:85:d9:d5:d2:62:e8:c9:b5: - c6:4e:17:f5:0a:e8:f3:2d:86:61:0b:eb:c4:c4:c6:67:75:ed: - 9a:9f:53:a0:71:1e:a0:90:0d:f9:03:b4:bc:86:19:6e:f0:3b: - 4f:e8:ed:68:f6:e7:23:43:3b:36:83:83:4b:46:a0:9a:01:d0: - c7:85:bb:7d:94:a0:21:3d:7e:3c:6a:3d:81:db:41:7b:46:d8: - 15:62:d5:8f:4d:3d:c0:db:9a:c5:81:a8:ac:da:87:99:c7:dd: - b9:f1:14:af:d1:93:e3:f3:42:d7:a2:04:51:21:54:29:c3:45: - f6:be:5c:fa:cd:db:bf:2f:79:81:42:e5:8f:47:0b:d4:54:01: - b5:c2:4a:46:d6:a8:31:2e:64:80:3f:48:61:91:29:f3:aa:43: - 5c:69:6e:f1:01:b9:df:63:71:3d:b9:5a:fb:36:c0:11:a2:c3: - 30:9d:95:c3 + 2d:fc:f9:32:5a:be:d6:9d:42:8b:86:4e:67:22:c3:50:2d:cb: + 14:27:1d:94:f3:cd:88:42:da:41:1c:39:24:67:a7:92:4d:27: + ea:56:82:19:bf:11:b2:43:a4:8d:5d:87:b2:27:64:66:82:81: + df:c4:fd:5b:62:b0:c2:4d:9d:29:f2:41:32:cc:2e:b5:da:38: + 06:1b:e8:7f:8c:6e:3d:80:1e:00:56:49:bf:39:e0:da:68:2f: + c4:fd:00:e6:d1:81:1a:d1:4a:bb:76:52:ce:4d:24:9d:c4:a3: + a7:f1:65:14:2f:1f:a8:2d:c6:cb:ce:b1:a7:89:74:26:27:c3: + f3:a3:84:4c:34:01:14:03:7d:16:3a:c8:8b:25:2e:7b:90:cc: + 46:b1:52:34:ba:93:6e:ef:fe:43:a3:ad:c6:6f:51:fb:ba:ea: + 38:e3:6f:d6:ee:63:62:36:ea:5e:08:b4:e2:2a:46:89:e3:ae: + b3:b4:06:ef:63:7a:6e:5d:dd:c9:ec:02:4f:f7:64:c0:27:07: + b4:6f:4a:18:72:5b:34:74:7c:d0:a9:04:8f:40:8b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2qr0++whpI8NFA5kIwDAYDVR0TBAUwAwEB/zAcBgNVHREEFTATggtl +M0QaqGwB7PZg8nBRCkzRFPq86UQwDAYDVR0TBAUwAwEB/zAcBgNVHREEFTATggtl eGFtcGxlLmNvbYcEfwAAATAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw -DQYJKoZIhvcNAQELBQADggEBALBxu7pFWoAlAqR+iAupe/2wu/ZGtbr0x+NhIIwD -FWb15FSC7xOAlyJnwdGIXeItV/bgn2nWsVy26OCYicgUEta2iY1suaBZT5LuEVNr -fZNKaQqF2dXSYujJtcZOF/UK6PMthmEL68TExmd17ZqfU6BxHqCQDfkDtLyGGW7w -O0/o7Wj25yNDOzaDg0tGoJoB0MeFu32UoCE9fjxqPYHbQXtG2BVi1Y9NPcDbmsWB -qKzah5nH3bnxFK/Rk+PzQteiBFEhVCnDRfa+XPrN278veYFC5Y9HC9RUAbXCSkbW -qDEuZIA/SGGRKfOqQ1xpbvEBud9jcT25Wvs2wBGiwzCdlcM= +DQYJKoZIhvcNAQELBQADggEBAC38+TJavtadQouGTmciw1AtyxQnHZTzzYhC2kEc +OSRnp5JNJ+pWghm/EbJDpI1dh7InZGaCgd/E/VtisMJNnSnyQTLMLrXaOAYb6H+M +bj2AHgBWSb854NpoL8T9AObRgRrRSrt2Us5NJJ3Eo6fxZRQvH6gtxsvOsaeJdCYn +w/OjhEw0ARQDfRY6yIslLnuQzEaxUjS6k27v/kOjrcZvUfu66jjjb9buY2I26l4I +tOIqRonjrrO0Bu9jem5d3cnsAk/3ZMAnB7RvShhyWzR0fNCpBI9Ai2o50msaAfIB +qIE0OuWwVdE8lcqwgtbtmCgVWX6Vp2nHtXvsAadN5rmi/jU= -----END CERTIFICATE----- diff --git a/certs/crl.der b/certs/crl.der index 548d7aa9..7ce490cd 100644 Binary files a/certs/crl.der and b/certs/crl.der differ diff --git a/certs/crl.der.enc b/certs/crl.der.enc index 324ae673..8f27465f 100644 Binary files a/certs/crl.der.enc and b/certs/crl.der.enc differ diff --git a/certs/crl.der.enc.base64 b/certs/crl.der.enc.base64 index 672156e5..edfac053 100644 --- a/certs/crl.der.enc.base64 +++ b/certs/crl.der.enc.base64 @@ -1,11 +1,11 @@ rdz214HJCcgKTpTb5i37CrI8Qmk/wPUAzfOrlYObR2dDcG2Im3103Mu7uCbL+wa+ X/v3aJ3snFInqjDJsYcMmcXasjwRsbIFqRcyVdK499ASzLpnQXhb7OhzKpL7bML/ RPYCpoWwTyaJYp4UleOqtjGJ3feL20h2kKljHsLMFhcxxDA+4wyzF5F0LEsqZVgH -P2FH0KVgYSERVnM+cY+CqRHub3vS7j1Q+Bza3caV/+86d6bMOjs90SU0g9+B+abK -VFtjFtTzXApaPC/Y+o0ghk12En3DXapcO7aZjSP1j7P5Vf62hsSmXueulX6o2K38 -JwxTVINvlmuHTxhoqE9r1AdV1YzEtaaeLTwNy2AgBG7fprb17z1VYqIBjUbeXKRd -otfS38/8yzs2GPTdlBH6W8RgDT430SIogpW/Ev/nhu42qkP/FQrZEXpsa3TQDhKp -BrAqn5+3I+G7wQjIlbGezuxKldC7lQVEbI1eAkYS2rB7XLix17YkGi0A2IPuzkh4 -lQXOnj3QdRhi83UvXYDLjG/NtiZG/3MqjHexXNwJOFJbYqaUzmJvhRaTYZCJQPX3 -NSS7irYLoFCLYpIue2N26lSpEISIDaKeLBVblSVmhs763DNpmeDf0hA4kHzpnZ4K -Y/g5jjsLD1ce9ce3eyqwXYa3BPvfmO8Qfmka6WyaoxuzQk/xdMd+KVMwPukOnO0M +P2FH0KVgYSERVnM+cY+CqRHub3vS7j1Q+Bza3caV/+98xoCmaq02EkYX1dk2YN1w +PT2Tjyz9buBFIMkxOAFiKfx7D0OT45pTY3ZNEqxXfJmHAfLpb6qJsMb34zvGWjXe +lplbCsxhP9dKkbd2o8YensQ1Y8BaKz/8eeRqGARisIlEzyjamjPapQ3ECdQPJSBh +pLgYHOsW32Exes7OP7+r65dVhZCqBH0IXlcLxXiWwzX4APu91Cm+t2eA7Ezvp8T3 +vTtA1bOzNwUvpsOSCOTFwQMNSls0/0MIgfdL7A7LfzWCEARfqDubet+Tr8hzY2UL +4LK+cAkVo7A0Zx1NQmYCdiWNRpI70qYGheaqJuUUoUH/eRVrj+a2kEq2zad8Swoa +j6rv/1aEb0ONt9H7E7ipTnxcm04wuMrF5uhWeNgfcJUiUiC8WGF1on2Cb2k+hJLs +BbJqt24cVbo+byKq6CgMLdBb41DUhKp5Z0wrOhJQGpUAYXBjArmRa4EWr+FAQNnj diff --git a/certs/crl.pem b/certs/crl.pem index 4c6f2cc9..58312874 100644 --- a/certs/crl.pem +++ b/certs/crl.pem @@ -2,40 +2,40 @@ Certificate Revocation List (CRL): Version 2 (0x1) Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com - Last Update: Dec 20 23:07:25 2021 GMT - Next Update: Sep 15 23:07:25 2024 GMT + Last Update: Jan 9 00:34:30 2024 GMT + Next Update: Oct 5 00:34:30 2026 GMT CRL extensions: X509v3 CRL Number: 2 Revoked Certificates: Serial Number: 02 - Revocation Date: Dec 20 23:07:25 2021 GMT + Revocation Date: Jan 9 00:34:30 2024 GMT Signature Algorithm: sha256WithRSAEncryption - 8b:c0:b8:cb:03:5c:8c:d1:53:b2:c5:b1:4d:f3:b3:e8:13:bf: - 5f:a7:1a:cc:74:e8:06:66:c1:cb:89:c3:e3:b3:fb:68:4e:8f: - d0:5b:33:d8:ed:5e:14:b3:21:c8:c0:06:66:97:6d:69:96:78: - bd:a9:d1:59:85:0f:13:29:2d:2f:49:87:94:84:14:94:38:74: - 04:16:94:10:ea:f2:31:d8:34:b7:65:e8:5e:52:4f:96:ac:bf: - 5f:4f:6c:ee:5d:04:2a:26:b2:29:7c:9d:06:82:b3:b5:e6:5b: - d5:11:72:56:d5:34:75:82:5e:2a:f3:c6:67:72:94:c6:02:83: - e8:58:85:2d:73:db:55:30:a2:c2:b1:bb:4c:bf:f6:a2:d8:b3: - fc:1b:bd:51:97:4e:f4:c2:04:4f:04:ee:61:e7:51:4b:4f:09: - fe:10:5c:3c:1e:e0:cb:51:1f:54:f4:38:3f:6c:58:ee:4e:f8: - ca:34:cd:37:ee:bb:06:53:14:c7:60:a4:89:ac:9a:50:4a:b5: - 9e:b3:59:97:9b:27:5e:5c:fa:14:74:3d:a2:76:62:63:ae:e8: - d2:f9:b7:ad:0c:3f:07:40:50:5c:e4:fb:95:3c:3d:df:2e:81: - f2:6a:9e:01:69:c3:a2:1e:d7:00:2b:6d:6c:67:f0:fb:13:ce: - f1:a5:08:d6 + b3:6f:ed:72:d2:73:6a:77:bf:3a:55:bc:54:18:6a:71:bc:6a: + cc:cd:5d:90:f5:64:8d:1b:f0:e0:48:7b:f2:7b:06:86:53:63: + 9b:d8:24:15:10:b1:19:96:9b:d2:75:a8:25:a2:35:a9:14:d6: + d5:5e:53:e3:34:9d:f2:8b:07:19:9b:1f:f1:02:0f:04:46:e8: + b8:b6:f2:8d:c7:c0:15:3e:3e:8e:96:73:15:1e:62:f6:4e:2a: + f7:aa:a0:91:80:12:7f:81:0c:65:cc:38:be:58:6c:14:a5:21: + a1:8d:f7:8a:b9:24:f4:2d:ca:c0:67:43:0b:c8:1c:b4:7d:12: + 7f:a2:1b:19:0e:94:cf:7b:9f:75:a0:08:9a:67:3f:87:89:3e: + f8:58:a5:8a:1b:2d:da:9b:d0:1b:18:92:c3:d2:6a:d7:1c:fc: + 45:69:77:c3:57:65:75:99:9e:47:2a:20:25:ef:90:f2:5f:3b: + 7d:9c:7d:00:ea:92:54:eb:0b:e7:17:af:24:1a:f9:7c:83:50: + 68:1d:dc:5b:60:12:a7:52:78:d9:a9:b0:1f:59:48:36:c7:a6: + 97:34:c7:87:3f:ae:fd:a9:56:5d:48:cc:89:7a:79:60:8f:9b: + 2b:63:3c:b3:04:1d:5f:f7:20:d2:fd:f2:51:b1:96:93:13:5b: + ab:74:82:8b -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k++Filihst2pvQGxiSw9Jq1xz8RWl3w1dl +dZmeRyogJe+Q8l87fZx9AOqSVOsL5xevJBr5fINQaB3cW2ASp1J42amwH1lINsem +lzTHhz+u/alWXUjMiXp5YI+bK2M8swQdX/cg0v3yUbGWkxNbq3SCiw== -----END X509 CRL----- diff --git a/certs/renew.sh b/certs/renew.sh index 69edb1bd..a2a3753d 100755 --- a/certs/renew.sh +++ b/certs/renew.sh @@ -40,5 +40,35 @@ echo "Additional update of client example source code" cp $CERTS_DIR/../examples/client/client.c ../src/client/client.c sed -i '' "s/examples\/client\//wolfclu\//" ../src/client/client.c +echo "Recreate expected encrypted data with new files" +openssl enc -aes-256-cbc -nosalt -in ./crl.der -out ./crl.der.enc -k "" +openssl enc -base64 -aes-256-cbc -nosalt -in ./crl.der -out ./crl.der.enc.base64 -k "" + +echo "Recreating expected hash values" +cat ./ca-cert.pem | openssl dgst -sha1 -r | awk '{print $1}' > ../tests/hash/sha-expect.hex +cat ./ca-cert.pem | openssl dgst -sha256 -r | awk '{print $1}' > ../tests/hash/sha256-expect.hex +cat ./ca-cert.pem | openssl dgst -sha384 -r | awk '{print $1}' > ../tests/hash/sha384-expect.hex +cat ./ca-cert.pem | openssl dgst -sha512 -r | awk '{print $1}' > ../tests/hash/sha512-expect.hex +cat ./ca-cert.pem | openssl dgst -md5 -r | awk '{print $1}' > ../tests/hash/md5-expect.hex + +echo "Recreating expected cert values" +openssl x509 -in ./server-cert.pem -modulus -noout > ../tests/x509/expect-modulus.txt +openssl x509 -in ./server-cert.pem -subject -noout -nameopt compat | sed 's/^subject=//' > ../tests/x509/expect-subject.txt +openssl x509 -in ./server-cert.pem -issuer -noout -nameopt compat | sed 's/^issuer=//' > ../tests/x509/expect-issuer.txt +openssl x509 -in ./ca-cert.pem -serial -noout > ../tests/x509/expect-ca-serial.txt +openssl x509 -in ./server-cert.pem -serial -noout > ../tests/x509/expect-server-serial.txt +openssl x509 -in ./server-cert.pem -dates -noout > ../tests/x509/expect-dates.txt +openssl x509 -in ./server-cert.pem -email -noout > ../tests/x509/expect-email.txt +openssl x509 -in ./server-cert.pem -fingerprint -noout | sed 's/^SHA1 Fingerprint=//' | tr -d ':' > ../tests/x509/expect-fingerprint.txt +openssl x509 -in ./server-cert.pem -hash -noout > ../tests/x509/expect-hash.txt + +#Simply cannot make openssl purpose match wolfssl purpose programatically +../wolfssl x509 -in ./server-cert.pem -purpose -noout > ../tests/x509/expect-purpose.txt + +echo "Recreate test signatures with new files, may take some time..." +cd ../tests/dgst/ +./create-test-sigs.sh +cd ../../certs + echo "Done" exit 0 diff --git a/certs/server-cert.pem b/certs/server-cert.pem index 9e5186ec..c0e639fe 100644 --- a/certs/server-cert.pem +++ b/certs/server-cert.pem @@ -5,8 +5,8 @@ Certificate: Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:25 2021 GMT - Not After : Sep 15 23:07:25 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Montana, L = Bozeman, O = wolfSSL, OU = Support, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: rsaEncryption @@ -37,7 +37,7 @@ Certificate: X509v3 Authority Key Identifier: keyid:27:8E:67:11:74:C3:26:1D:3F:ED:33:63:B3:A4:D8:1D:30:E5:E8:D5 DirName:/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com - serial:7D:94:70:88:BA:07:42:8D:AA:AF:4F:BE:C2:1A:48:F0:D1:40:E6:42 + serial:33:44:1A:A8:6C:01:EC:F6:60:F2:70:51:0A:4C:D1:14:FA:BC:E9:44 X509v3 Basic Constraints: CA:TRUE @@ -46,27 +46,27 @@ Certificate: X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication Signature Algorithm: sha256WithRSAEncryption - 73:59:6f:55:94:e1:38:e7:20:5a:11:46:47:a8:29:11:17:06: - 19:16:78:22:af:54:f8:d9:32:61:26:3f:39:ab:a4:df:ef:ae: - d0:0b:cc:2b:af:95:70:90:97:53:cc:19:6d:f2:4d:4c:fa:e4: - 9d:7c:54:e0:5b:3b:1f:1e:52:46:7f:d9:ba:a0:90:ba:6d:df: - 3d:67:f0:9f:52:44:c3:e1:66:36:dc:61:58:11:ba:4c:0c:c2: - 29:da:f7:13:45:60:b2:11:79:91:ed:7c:9f:b7:7f:5c:e2:29: - c6:1e:bf:78:da:bf:d1:bd:9c:f7:4e:23:e0:c3:ef:6f:b6:67: - 7c:d7:4c:02:d5:bd:67:ee:7e:0c:e3:89:db:79:61:1e:d0:5f: - f5:e8:66:48:3a:55:54:d5:16:12:30:00:c9:86:75:e0:c9:ff: - 38:74:ce:c8:c7:fd:ef:96:d8:55:96:71:35:62:db:34:c5:2f: - 07:84:8a:aa:1b:1e:77:50:0a:20:3b:21:4b:06:14:af:78:11: - a2:41:c6:5d:0c:70:e0:52:b4:9e:4c:86:ab:5b:a3:e0:8f:a2: - c2:1a:69:70:80:3b:bd:50:23:26:72:4f:fa:fd:df:ed:85:32: - 2c:e4:ab:3e:f3:a6:d0:1d:db:33:6b:69:8d:99:b9:b4:34:4b: - 79:a8:16:68 + 4a:ff:b9:e5:85:9b:da:53:66:7f:07:22:bf:b6:19:ea:42:eb: + a4:11:07:62:ff:39:5f:33:37:3a:87:26:71:3d:13:b2:ca:b8: + 64:38:7b:8a:99:48:0e:a5:a4:6b:b1:99:6e:e0:46:51:bd:19: + 52:ad:bc:a6:7e:2a:7a:7c:23:a7:cc:db:5e:43:7d:6b:04:c8: + b7:dd:95:ad:f0:91:80:59:c5:19:91:26:27:91:b8:48:1c:eb: + 55:b6:aa:7d:a4:38:f1:03:bc:6c:8b:aa:94:d6:3c:05:7a:96: + c5:06:f1:26:14:2e:75:fb:dd:e5:35:b3:01:2c:b3:ad:62:5a: + 21:9a:08:be:56:fc:f9:a2:42:87:86:e5:a9:c5:99:cf:ae:14: + be:e0:b9:08:24:0d:1d:5c:d6:14:e1:4c:9f:40:b3:a9:e9:2d: + 52:8b:4c:bf:ac:44:31:67:c1:8d:06:85:ec:0f:e4:99:d7:4b: + 7b:21:06:66:d4:e4:f5:9d:ff:8e:f0:86:39:58:1d:a4:5b:e2: + 63:ef:7c:c9:18:87:a8:02:25:10:3e:87:28:f9:f5:ef:47:9e: + a5:80:08:11:90:68:fe:d1:a3:a8:51:b9:37:ff:d5:ca:7c:87: + 7f:6b:bc:2c:12:c8:c5:85:8b:fc:0c:c6:b9:86:b8:c9:04:c3: + 51:37:d2:4f -----BEGIN CERTIFICATE----- MIIE6DCCA9CgAwIBAgIBATANBgkqhkiG9w0BAQsFADCBlDELMAkGA1UEBhMCVVMx EDAOBgNVBAgMB01vbnRhbmExEDAOBgNVBAcMB0JvemVtYW4xETAPBgNVBAoMCFNh d3Rvb3RoMRMwEQYDVQQLDApDb25zdWx0aW5nMRgwFgYDVQQDDA93d3cud29sZnNz -bC5jb20xHzAdBgkqhkiG9w0BCQEWEGluZm9Ad29sZnNzbC5jb20wHhcNMjExMjIw -MjMwNzI1WhcNMjQwOTE1MjMwNzI1WjCBkDELMAkGA1UEBhMCVVMxEDAOBgNVBAgM +bC5jb20xHzAdBgkqhkiG9w0BCQEWEGluZm9Ad29sZnNzbC5jb20wHhcNMjMxMjEz +MjIxOTI4WhcNMjYwOTA4MjIxOTI4WjCBkDELMAkGA1UEBhMCVVMxEDAOBgNVBAgM B01vbnRhbmExEDAOBgNVBAcMB0JvemVtYW4xEDAOBgNVBAoMB3dvbGZTU0wxEDAO BgNVBAsMB1N1cHBvcnQxGDAWBgNVBAMMD3d3dy53b2xmc3NsLmNvbTEfMB0GCSqG SIb3DQEJARYQaW5mb0B3b2xmc3NsLmNvbTCCASIwDQYJKoZIhvcNAQEBBQADggEP @@ -80,26 +80,26 @@ BBSzETLJkpiE4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OtYlohmgi+Vvz5okKHhuWpxZnPrhS+4LkI +JA0dXNYU4UyfQLOp6S1Si0y/rEQxZ8GNBoXsD+SZ10t7IQZm1OT1nf+O8IY5WB2k +W+Jj73zJGIeoAiUQPoco+fXvR56lgAgRkGj+0aOoUbk3/9XKfId/a7wsEsjFhYv8 +DMa5hrjJBMNRN9JP -----END CERTIFICATE----- Certificate: Data: Version: 3 (0x2) Serial Number: - 7d:94:70:88:ba:07:42:8d:aa:af:4f:be:c2:1a:48:f0:d1:40:e6:42 + 33:44:1a:a8:6c:01:ec:f6:60:f2:70:51:0a:4c:d1:14:fa:bc:e9:44 Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:24 2021 GMT - Not After : Sep 15 23:07:24 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: rsaEncryption @@ -130,7 +130,7 @@ Certificate: X509v3 Authority Key Identifier: keyid:27:8E:67:11:74:C3:26:1D:3F:ED:33:63:B3:A4:D8:1D:30:E5:E8:D5 DirName:/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com - serial:7D:94:70:88:BA:07:42:8D:AA:AF:4F:BE:C2:1A:48:F0:D1:40:E6:42 + serial:33:44:1A:A8:6C:01:EC:F6:60:F2:70:51:0A:4C:D1:14:FA:BC:E9:44 X509v3 Basic Constraints: CA:TRUE @@ -139,27 +139,27 @@ Certificate: X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication Signature Algorithm: sha256WithRSAEncryption - b0:71:bb:ba:45:5a:80:25:02:a4:7e:88:0b:a9:7b:fd:b0:bb: - f6:46:b5:ba:f4:c7:e3:61:20:8c:03:15:66:f5:e4:54:82:ef: - 13:80:97:22:67:c1:d1:88:5d:e2:2d:57:f6:e0:9f:69:d6:b1: - 5c:b6:e8:e0:98:89:c8:14:12:d6:b6:89:8d:6c:b9:a0:59:4f: - 92:ee:11:53:6b:7d:93:4a:69:0a:85:d9:d5:d2:62:e8:c9:b5: - c6:4e:17:f5:0a:e8:f3:2d:86:61:0b:eb:c4:c4:c6:67:75:ed: - 9a:9f:53:a0:71:1e:a0:90:0d:f9:03:b4:bc:86:19:6e:f0:3b: - 4f:e8:ed:68:f6:e7:23:43:3b:36:83:83:4b:46:a0:9a:01:d0: - c7:85:bb:7d:94:a0:21:3d:7e:3c:6a:3d:81:db:41:7b:46:d8: - 15:62:d5:8f:4d:3d:c0:db:9a:c5:81:a8:ac:da:87:99:c7:dd: - b9:f1:14:af:d1:93:e3:f3:42:d7:a2:04:51:21:54:29:c3:45: - f6:be:5c:fa:cd:db:bf:2f:79:81:42:e5:8f:47:0b:d4:54:01: - b5:c2:4a:46:d6:a8:31:2e:64:80:3f:48:61:91:29:f3:aa:43: - 5c:69:6e:f1:01:b9:df:63:71:3d:b9:5a:fb:36:c0:11:a2:c3: - 30:9d:95:c3 + 2d:fc:f9:32:5a:be:d6:9d:42:8b:86:4e:67:22:c3:50:2d:cb: + 14:27:1d:94:f3:cd:88:42:da:41:1c:39:24:67:a7:92:4d:27: + ea:56:82:19:bf:11:b2:43:a4:8d:5d:87:b2:27:64:66:82:81: + df:c4:fd:5b:62:b0:c2:4d:9d:29:f2:41:32:cc:2e:b5:da:38: + 06:1b:e8:7f:8c:6e:3d:80:1e:00:56:49:bf:39:e0:da:68:2f: + c4:fd:00:e6:d1:81:1a:d1:4a:bb:76:52:ce:4d:24:9d:c4:a3: + a7:f1:65:14:2f:1f:a8:2d:c6:cb:ce:b1:a7:89:74:26:27:c3: + f3:a3:84:4c:34:01:14:03:7d:16:3a:c8:8b:25:2e:7b:90:cc: + 46:b1:52:34:ba:93:6e:ef:fe:43:a3:ad:c6:6f:51:fb:ba:ea: + 38:e3:6f:d6:ee:63:62:36:ea:5e:08:b4:e2:2a:46:89:e3:ae: + b3:b4:06:ef:63:7a:6e:5d:dd:c9:ec:02:4f:f7:64:c0:27:07: + b4:6f:4a:18:72:5b:34:74:7c:d0:a9:04:8f:40:8b:6a:39:d2: + 6b:1a:01:f2:01:a8:81:34:3a:e5:b0:55:d1:3c:95:ca:b0:82: + d6:ed:98:28:15:59:7e:95:a7:69:c7:b5:7b:ec:01:a7:4d:e6: + b9:a2:fe:35 -----BEGIN CERTIFICATE----- -MIIE/zCCA+egAwIBAgIUfZRwiLoHQo2qr0++whpI8NFA5kIwDQYJKoZIhvcNAQEL +MIIE/zCCA+egAwIBAgIUM0QaqGwB7PZg8nBRCkzRFPq86UQwDQYJKoZIhvcNAQEL BQAwgZQxCzAJBgNVBAYTAlVTMRAwDgYDVQQIDAdNb250YW5hMRAwDgYDVQQHDAdC b3plbWFuMREwDwYDVQQKDAhTYXd0b290aDETMBEGA1UECwwKQ29uc3VsdGluZzEY MBYGA1UEAwwPd3d3LndvbGZzc2wuY29tMR8wHQYJKoZIhvcNAQkBFhBpbmZvQHdv -bGZzc2wuY29tMB4XDTIxMTIyMDIzMDcyNFoXDTI0MDkxNTIzMDcyNFowgZQxCzAJ +bGZzc2wuY29tMB4XDTIzMTIxMzIyMTkyOFoXDTI2MDkwODIyMTkyOFowgZQxCzAJ BgNVBAYTAlVTMRAwDgYDVQQIDAdNb250YW5hMRAwDgYDVQQHDAdCb3plbWFuMREw DwYDVQQKDAhTYXd0b290aDETMBEGA1UECwwKQ29uc3VsdGluZzEYMBYGA1UEAwwP d3d3LndvbGZzc2wuY29tMR8wHQYJKoZIhvcNAQkBFhBpbmZvQHdvbGZzc2wuY29t @@ -174,12 +174,12 @@ BgNVHSMEgcwwgcmAFCeOZxF0wyYdP+0zY7Ok2B0w5ejVoYGapIGXMIGUMQswCQYD VQQGEwJVUzEQMA4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uWwVdE8lcqwgtbtmCgVWX6Vp2nHtXvsAadN5rmi/jU= -----END CERTIFICATE----- diff --git a/certs/server-ecc.pem b/certs/server-ecc.pem index 444644b0..94978a55 100644 --- a/certs/server-ecc.pem +++ b/certs/server-ecc.pem @@ -5,9 +5,9 @@ Certificate: Signature Algorithm: ecdsa-with-SHA256 Issuer: C = US, ST = Washington, L = Seattle, O = wolfSSL, OU = Development, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:25 2021 GMT - Not After : Sep 15 23:07:25 2024 GMT - Subject: C = US, ST = Washington, L = Seattle, O = Eliptic, OU = ECC, CN = www.wolfssl.com, emailAddress = info@wolfssl.com + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT + Subject: C = US, ST = Washington, L = Seattle, O = Elliptic, OU = ECC, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: id-ecPublicKey Public-Key: (256 bit) @@ -34,24 +34,24 @@ Certificate: Netscape Cert Type: SSL Server Signature Algorithm: ecdsa-with-SHA256 - 30:44:02:20:5a:67:b9:ee:02:34:27:1b:d4:c4:35:7b:ed:59: - 8e:63:c4:8a:b7:e9:92:c1:8a:76:b0:8b:cd:24:49:78:ba:ef: - 02:20:29:b8:b6:5f:83:f7:56:6a:f1:4d:d9:9f:52:2a:f9:8f: - 53:14:49:8b:5f:5e:87:af:7f:ca:2e:e0:d8:e7:75:0c + 30:45:02:21:00:86:bd:87:16:d2:9c:66:e7:5e:5c:28:0e:5f: + ef:94:61:2f:d4:21:6d:8e:c3:94:0a:1e:b5:6a:1d:c6:04:87: + c6:02:20:66:46:c4:29:d9:8e:eb:0b:f7:5b:32:13:eb:0a:ea: + 47:99:4b:74:56:ba:21:97:b1:67:75:5c:f3:f3:c0:88:aa -----BEGIN CERTIFICATE----- -MIICoDCCAkegAwIBAgIBAzAKBggqhkjOPQQDAjCBlzELMAkGA1UEBhMCVVMxEzAR +M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24xEDAOBgNVBAcMB1NlYXR0bGUxETAPBgNVBAoMCEVsbGlwdGlj +MQwwCgYDVQQLDANFQ0MxGDAWBgNVBAMMD3d3dy53b2xmc3NsLmNvbTEfMB0GCSqG +SIb3DQEJARYQaW5mb0B3b2xmc3NsLmNvbTBZMBMGByqGSM49AgEGCCqGSM49AwEH +A0IABLszrEwnUErGSqUEwzzenzbbci3OlOor+ssgCTksFuhhAumvTdMCk5oxW5eS +IX/wzxjakRECNIboIFgzC4A0idijgYkwgYYwHQYDVR0OBBYEFF1dJu+sfjb5m3YV +K0olAiPvsokwMB8GA1UdIwQYMBaAFFaOmsPwQt4YuUVVbvmTz+rD86UhMAwGA1Ud +EwEB/wQCMAAwDgYDVR0PAQH/BAQDAgOoMBMGA1UdJQQMMAoGCCsGAQUFBwMBMBEG +CWCGSAGG+EIBAQQEAwIGQDAKBggqhkjOPQQDAgNIADBFAiEAhr2HFtKcZudeXCgO +X++UYS/UIW2Ow5QKHrVqHcYEh8YCIGZGxCnZjusL91syE+sK6keZS3RWuiGXsWd1 +XPPzwIiq -----END CERTIFICATE----- diff --git a/certs/server-keyPub.pem b/certs/server-keyPub.pem index c90f5c4f..0707336a 100644 --- a/certs/server-keyPub.pem +++ b/certs/server-keyPub.pem @@ -1,4 +1,4 @@ ------BEGIN RSA PUBLIC KEY----- +-----BEGIN PUBLIC KEY----- MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAwJUI4VdB8nFtt9JFQScB ZcZFrvK8JDC4lc4vTtb2HIi8fJ/7qGd//lycUXX3isoH5zUvj+G9e8AvfKtkqBf8 yl17uuAh5XIuby6G2JVz2qwbU7lfP9cZDSVP4WNjUYsLZD+tQ7ilHFw0s64AoGPF @@ -6,4 +6,4 @@ yl17uuAh5XIuby6G2JVz2qwbU7lfP9cZDSVP4WNjUYsLZD+tQ7ilHFw0s64AoGPF UQy9VLPhbV8cvCNz0QkDiRTSELlkwyrQoZZKvOHUGlvHoMDBY3gPRDcwMpaAMiOV oXe6E9KXc+JdJclqDcM5YKS0sGlCQgnp2Ai8MyCzWCKnquvE4eZhg8XSlt/Z0E+t 1wIDAQAB ------END RSA PUBLIC KEY----- +-----END PUBLIC KEY----- diff --git a/certs/server-revoked-cert.pem b/certs/server-revoked-cert.pem index 000810f3..45629737 100644 --- a/certs/server-revoked-cert.pem +++ b/certs/server-revoked-cert.pem @@ -5,8 +5,8 @@ Certificate: Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:25 2021 GMT - Not After : Sep 15 23:07:25 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Montana, L = Bozeman, O = wolfSSL_revoked, OU = Support_revoked, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: rsaEncryption @@ -37,7 +37,7 @@ Certificate: X509v3 Authority Key Identifier: keyid:27:8E:67:11:74:C3:26:1D:3F:ED:33:63:B3:A4:D8:1D:30:E5:E8:D5 DirName:/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com - serial:7D:94:70:88:BA:07:42:8D:AA:AF:4F:BE:C2:1A:48:F0:D1:40:E6:42 + serial:33:44:1A:A8:6C:01:EC:F6:60:F2:70:51:0A:4C:D1:14:FA:BC:E9:44 X509v3 Basic Constraints: CA:TRUE @@ -46,27 +46,27 @@ Certificate: X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication Signature Algorithm: sha256WithRSAEncryption - 48:1c:0d:ff:b1:2b:ef:94:14:a8:26:89:0a:f7:ef:08:9f:21: - 1e:de:56:28:b3:d8:9b:dc:80:10:6f:f6:47:e9:2b:a1:04:ed: - 07:43:6d:91:19:f5:c5:7f:57:7d:a8:dd:01:8c:76:7f:ed:c1: - a4:3e:ea:34:c0:89:5e:63:9e:b4:f2:0f:d3:2f:d9:da:56:72: - 13:6e:dc:fb:0f:bb:ed:84:b7:ef:08:94:ac:94:41:db:de:6b: - 4e:b0:d5:2e:19:37:7f:db:88:4a:8b:95:1c:f7:a6:7f:e6:83: - 3a:ac:23:89:a7:bf:db:6c:e6:85:9a:77:39:62:57:e5:5d:2c: - bd:b6:e8:e1:61:22:dc:7b:8b:dd:e4:41:44:1d:10:e8:5a:19: - cd:3b:74:5d:f7:0d:64:2f:1d:ae:51:ac:76:1a:d5:aa:e1:21: - 07:78:ef:1a:5b:be:5c:69:6d:4e:65:2f:a7:9e:da:16:31:6d: - 50:98:f2:78:d5:5b:f7:60:b6:40:8d:db:48:a0:90:63:12:6d: - ce:5b:b8:b9:37:20:9f:80:f3:0a:cb:f6:72:5d:cd:0b:04:59: - 76:1e:52:64:83:6f:6a:97:74:8a:55:2e:ce:e1:b5:93:46:c8: - 91:8c:63:26:96:1e:1c:53:26:40:6d:4f:49:b1:48:9e:48:95: - 54:bb:ec:38 + 5c:ae:98:a1:97:b7:b7:57:1b:47:32:9d:86:df:aa:5a:95:03: + 8f:de:04:9f:27:1f:b3:bc:6d:50:63:53:6a:02:83:3d:5b:f6: + 16:04:4a:04:84:65:d4:68:7c:f3:1d:8f:dc:ff:76:e1:b0:ce: + 88:b1:31:57:c9:5c:14:bf:ae:b9:ee:82:a0:b0:c3:25:bb:5f: + 0f:a7:00:fc:dd:73:27:8b:b8:dd:72:63:00:47:38:cb:09:66: + 7a:0e:fb:8f:c3:6e:de:23:23:47:cd:7f:f0:4c:fa:31:fa:f5: + 28:cb:2e:1c:3e:0a:92:8a:b2:c7:bd:37:21:39:d2:f6:ee:c4: + 9c:28:7a:0a:88:8c:ca:ce:7d:e8:c3:a7:3f:bc:44:52:fb:e0: + 68:95:f2:46:30:0f:1b:fa:ea:92:4c:86:c2:fe:62:48:91:5a: + ea:5a:9a:76:8a:23:dd:56:37:27:d8:91:2f:eb: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S7xwOvwdom8Tv6vUPJ4G +rjttAwlB4AewhSIJwV050lkEkJ1GIAskgoLDNg== -----END CERTIFICATE----- Certificate: Data: Version: 3 (0x2) Serial Number: - 7d:94:70:88:ba:07:42:8d:aa:af:4f:be:c2:1a:48:f0:d1:40:e6:42 + 33:44:1a:a8:6c:01:ec:f6:60:f2:70:51:0a:4c:d1:14:fa:bc:e9:44 Signature Algorithm: sha256WithRSAEncryption Issuer: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Validity - Not Before: Dec 20 23:07:24 2021 GMT - Not After : Sep 15 23:07:24 2024 GMT + Not Before: Dec 13 22:19:28 2023 GMT + Not After : Sep 8 22:19:28 2026 GMT Subject: C = US, ST = Montana, L = Bozeman, O = Sawtooth, OU = Consulting, CN = www.wolfssl.com, emailAddress = info@wolfssl.com Subject Public Key Info: Public Key Algorithm: rsaEncryption @@ -130,7 +130,7 @@ Certificate: X509v3 Authority Key Identifier: keyid:27:8E:67:11:74:C3:26:1D:3F:ED:33:63:B3:A4:D8:1D:30:E5:E8:D5 DirName:/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com - serial:7D:94:70:88:BA:07:42:8D:AA:AF:4F:BE:C2:1A:48:F0:D1:40:E6:42 + serial:33:44:1A:A8:6C:01:EC:F6:60:F2:70:51:0A:4C:D1:14:FA:BC:E9:44 X509v3 Basic Constraints: CA:TRUE @@ -139,27 +139,27 @@ Certificate: X509v3 Extended Key Usage: TLS Web Server Authentication, TLS Web Client Authentication Signature Algorithm: sha256WithRSAEncryption - b0:71:bb:ba:45:5a:80:25:02:a4:7e:88:0b:a9:7b:fd:b0:bb: - f6:46:b5:ba:f4:c7:e3:61:20:8c:03:15:66:f5:e4:54:82:ef: - 13:80:97:22:67:c1:d1:88:5d:e2:2d:57:f6:e0:9f:69:d6:b1: - 5c:b6:e8:e0:98:89:c8:14:12:d6:b6:89:8d:6c:b9:a0:59:4f: - 92:ee:11:53:6b:7d:93:4a:69:0a:85:d9:d5:d2:62:e8:c9:b5: - c6:4e:17:f5:0a:e8:f3:2d:86:61:0b:eb:c4:c4:c6:67:75:ed: - 9a:9f:53:a0:71:1e:a0:90:0d:f9:03:b4:bc:86:19:6e:f0:3b: - 4f:e8:ed:68:f6:e7:23:43:3b:36:83:83:4b:46:a0:9a:01:d0: - c7:85:bb:7d:94:a0:21:3d:7e:3c:6a:3d:81:db:41:7b:46:d8: - 15:62:d5:8f:4d:3d:c0:db:9a:c5:81:a8:ac:da:87:99:c7:dd: - b9:f1:14:af:d1:93:e3:f3:42:d7:a2:04:51:21:54:29:c3:45: - f6:be:5c:fa:cd:db:bf:2f:79:81:42:e5:8f:47:0b:d4:54:01: - b5:c2:4a:46:d6:a8:31:2e:64:80:3f:48:61:91:29:f3:aa:43: - 5c:69:6e:f1:01:b9:df:63:71:3d:b9:5a:fb:36:c0:11:a2:c3: - 30:9d:95:c3 + 2d:fc:f9:32:5a:be:d6:9d:42:8b:86:4e:67:22:c3:50:2d:cb: + 14:27:1d:94:f3:cd:88:42:da:41:1c:39:24:67:a7:92:4d:27: + ea:56:82:19:bf:11:b2:43:a4:8d:5d:87:b2:27:64:66:82:81: + df:c4:fd:5b:62:b0:c2:4d:9d:29:f2:41:32:cc:2e:b5:da:38: + 06:1b:e8:7f:8c:6e:3d:80:1e:00:56:49:bf:39:e0:da:68:2f: + c4:fd:00:e6:d1:81:1a:d1:4a:bb:76:52:ce:4d:24:9d:c4:a3: + a7:f1:65:14:2f:1f:a8:2d:c6:cb:ce:b1:a7:89:74:26:27:c3: + f3:a3:84:4c:34:01:14:03:7d:16:3a:c8:8b:25:2e:7b:90:cc: + 46:b1:52:34:ba:93:6e:ef:fe:43:a3:ad:c6:6f:51:fb:ba:ea: + 38:e3:6f:d6:ee:63:62:36:ea:5e:08:b4:e2:2a:46:89:e3:ae: + b3:b4:06:ef:63:7a:6e:5d:dd:c9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NvbTEfMB0GCSqGSIb3DQEJARYQaW5mb0B3b2xmc3NsLmNvbYIU -fZRwiLoHQo2qr0++whpI8NFA5kIwDAYDVR0TBAUwAwEB/zAcBgNVHREEFTATggtl +M0QaqGwB7PZg8nBRCkzRFPq86UQwDAYDVR0TBAUwAwEB/zAcBgNVHREEFTATggtl eGFtcGxlLmNvbYcEfwAAATAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw -DQYJKoZIhvcNAQELBQADggEBALBxu7pFWoAlAqR+iAupe/2wu/ZGtbr0x+NhIIwD -FWb15FSC7xOAlyJnwdGIXeItV/bgn2nWsVy26OCYicgUEta2iY1suaBZT5LuEVNr -fZNKaQqF2dXSYujJtcZOF/UK6PMthmEL68TExmd17ZqfU6BxHqCQDfkDtLyGGW7w -O0/o7Wj25yNDOzaDg0tGoJoB0MeFu32UoCE9fjxqPYHbQXtG2BVi1Y9NPcDbmsWB -qKzah5nH3bnxFK/Rk+PzQteiBFEhVCnDRfa+XPrN278veYFC5Y9HC9RUAbXCSkbW -qDEuZIA/SGGRKfOqQ1xpbvEBud9jcT25Wvs2wBGiwzCdlcM= +DQYJKoZIhvcNAQELBQADggEBAC38+TJavtadQouGTmciw1AtyxQnHZTzzYhC2kEc +OSRnp5JNJ+pWghm/EbJDpI1dh7InZGaCgd/E/VtisMJNnSnyQTLMLrXaOAYb6H+M +bj2AHgBWSb854NpoL8T9AObRgRrRSrt2Us5NJJ3Eo6fxZRQvH6gtxsvOsaeJdCYn +w/OjhEw0ARQDfRY6yIslLnuQzEaxUjS6k27v/kOjrcZvUfu66jjjb9buY2I26l4I +tOIqRonjrrO0Bu9jem5d3cnsAk/3ZMAnB7RvShhyWzR0fNCpBI9Ai2o50msaAfIB +qIE0OuWwVdE8lcqwgtbtmCgVWX6Vp2nHtXvsAadN5rmi/jU= -----END CERTIFICATE----- diff --git a/certs/test-servercert.p12 b/certs/test-servercert.p12 index 596d129f..64ccb104 100644 Binary files a/certs/test-servercert.p12 and b/certs/test-servercert.p12 differ diff --git a/tests/dgst/sha256-ecc.sig b/tests/dgst/sha256-ecc.sig index 361ba3e3..942e1a43 100644 Binary files a/tests/dgst/sha256-ecc.sig and b/tests/dgst/sha256-ecc.sig differ diff --git a/tests/encrypt/enc-test.sh b/tests/encrypt/enc-test.sh index 77b311d2..21ee04cf 100755 --- a/tests/encrypt/enc-test.sh +++ b/tests/encrypt/enc-test.sh @@ -32,7 +32,7 @@ run_fail() { run "enc -d -aes-256-cbc -nosalt -in certs/crl.der.enc -out test-dec.der" "" diff "./certs/crl.der" "./test-dec.der" &> /dev/null if [ $? != 0 ]; then - echo "issue with decryption" + echo "issue with decryption 1" exit 99 fi rm -f test-dec.der @@ -40,7 +40,7 @@ rm -f test-dec.der run "enc -base64 -d -aes-256-cbc -nosalt -in certs/crl.der.enc.base64 -out test-dec.der" "" diff "./certs/crl.der" "./test-dec.der" &> /dev/null if [ $? != 0 ]; then - echo "issue with decryption" + echo "issue with decryption 2" exit 99 fi rm -f test-dec.der @@ -56,7 +56,7 @@ run_fail "enc -base64 -d -aes-256-cbc -in test-enc.der -out test-dec.der" "bad p run "enc -base64 -d -aes-256-cbc -in test-enc.der -out test-dec.der" "test password" diff "./certs/crl.der" "./test-dec.der" &> /dev/null if [ $? != 0 ]; then - echo "issue with decryption" + echo "issue with decryption 3" exit 99 fi rm -f test-dec.der diff --git a/tests/hash/hash-test.sh b/tests/hash/hash-test.sh index b7a06d47..3756c0e5 100755 --- a/tests/hash/hash-test.sh +++ b/tests/hash/hash-test.sh @@ -29,31 +29,31 @@ run_fail() { } run_success "-hash sha -in certs/ca-cert.pem -base64enc" -EXPECTED="46060ebc47f6f5486addd5658a7a2eb5ef7a9913" +EXPECTED=`cat tests/hash/sha-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then - echo "found unexpected output" + echo "found unexpected output 1" exit 99 fi run_success "-hash sha256 -in certs/ca-cert.pem" -EXPECTED="c68d5b8d17f551e3a9881968c2fe281bf8af9e6a16a1ecc97740a76d23858053" +EXPECTED=`cat tests/hash/sha256-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then - echo "found unexpected output" + echo "found unexpected output 2" exit 99 fi run_success "-hash sha384 -in certs/ca-cert.pem" -EXPECTED="55c6dabf204a2795a71b4b62594ed89348333821a87b160a08a5ed47ddc52373038792d605aa365762e4028d51c11972" +EXPECTED=`cat tests/hash/sha384-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then - echo "found unexpected output" + echo "found unexpected output 3" exit 99 fi run_success "-hash sha512 -in certs/ca-cert.pem" -EXPECTED="4eb961036db9c181d9e48f5bc0ff631e4753eac74209d6a199f99305fb614483a1e1a55922d54c17fac1b472eac6a7ffe2eb9be48dd87670be6264d25aa4493a" +EXPECTED=`cat tests/hash/sha512-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then echo "found unexpected output" @@ -62,7 +62,7 @@ fi run_success "md5 certs/ca-cert.pem" -EXPECTED="21ea0398596253752e6cd2195e7abf3c" +EXPECTED=`cat tests/hash/md5-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then echo "found unexpected output" @@ -70,7 +70,7 @@ then fi run_success "sha256 certs/ca-cert.pem" -EXPECTED="c68d5b8d17f551e3a9881968c2fe281bf8af9e6a16a1ecc97740a76d23858053" +EXPECTED=`cat tests/hash/sha256-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then echo "found unexpected output" @@ -78,7 +78,7 @@ then fi run_success "sha384 certs/ca-cert.pem" -EXPECTED="55c6dabf204a2795a71b4b62594ed89348333821a87b160a08a5ed47ddc52373038792d605aa365762e4028d51c11972" +EXPECTED=`cat tests/hash/sha384-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then echo "found unexpected output" @@ -86,7 +86,7 @@ then fi run_success "sha512 certs/ca-cert.pem" -EXPECTED="4eb961036db9c181d9e48f5bc0ff631e4753eac74209d6a199f99305fb614483a1e1a55922d54c17fac1b472eac6a7ffe2eb9be48dd87670be6264d25aa4493a" +EXPECTED=`cat tests/hash/sha512-expect.hex` if [ "$RESULT" != "$EXPECTED" ] then echo "found unexpected output" diff --git a/tests/x509/x509-process-test.sh b/tests/x509/x509-process-test.sh index 99a80e30..b20d3958 100755 --- a/tests/x509/x509-process-test.sh +++ b/tests/x509/x509-process-test.sh @@ -176,7 +176,7 @@ run1() { exit 99 fi - MODULUS=`./wolfssl x509 -in certs/server-cert.pem -modulus -noout` + MODULUS=`cat tests/x509/expect-modulus.txt` if [ "$MODULUS" != "Modulus=C09508E15741F2716DB7D24541270165C645AEF2BC2430B895CE2F4ED6F61C88BC7C9FFBA8677FFE5C9C5175F78ACA07E7352F8FE1BD7BC02F7CAB64A817FCCA5D7BBAE021E5722E6F2E86D89573DAAC1B53B95F3FD7190D254FE16363518B0B643FAD43B8A51C5C34B3AE00A063C5F67F0B59687873A68C18A9026DAFC319012EB810E3C6CC40B469A3463369876EC4BB17A6F3E8DDAD73BC7B2F21B5FD66510CBD54B3E16D5F1CBC2373D109038914D210B964C32AD0A1964ABCE1D41A5BC7A0C0C163780F443730329680322395A177BA13D29773E25D25C96A0DC33960A4B4B069424209E9D808BC3320B35822A7AAEBC4E1E66183C5D296DFD9D04FADD7" ] then echo "found unexpected Modulus : $MODULUS" @@ -246,7 +246,7 @@ run3() { rm -f x509_test.pem x509_tmp.pem x509_test.der x509_tmp.der echo "TEST 3.c" test_case "-in certs/server-cert.pem -subject -noout" - EXPECTED="/C=US/ST=Montana/L=Bozeman/O=wolfSSL/OU=Support/CN=www.wolfssl.com/emailAddress=info@wolfssl.com" + EXPECTED=`cat tests/x509/expect-subject.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -254,7 +254,7 @@ run3() { fi echo "TEST 3.d" test_case "-in certs/server-cert.pem -issuer -noout" - EXPECTED="/C=US/ST=Montana/L=Bozeman/O=Sawtooth/OU=Consulting/CN=www.wolfssl.com/emailAddress=info@wolfssl.com" + EXPECTED=`cat tests/x509/expect-issuer.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -262,7 +262,7 @@ run3() { fi echo "TEST 3.e" test_case "-in certs/ca-cert.pem -serial -noout" - EXPECTED="serial=7D947088BA07428DAAAF4FBEC21A48F0D140E642" + EXPECTED=`cat tests/x509/expect-ca-serial.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -270,7 +270,7 @@ run3() { fi echo "TEST 3.f" test_case "-in certs/server-cert.pem -serial -noout" - EXPECTED="serial=01" + EXPECTED=`cat tests/x509/expect-server-serial.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -278,8 +278,7 @@ run3() { fi echo "TEST 3.g" test_case "-in certs/server-cert.pem -dates -noout" - EXPECTED="notBefore=Dec 20 23:07:25 2021 GMT -notAfter=Sep 15 23:07:25 2024 GMT" + EXPECTED=`cat tests/x509/expect-dates.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -287,7 +286,7 @@ notAfter=Sep 15 23:07:25 2024 GMT" fi echo "TEST 3.h" test_case "-in certs/server-cert.pem -email -noout" - EXPECTED="info@wolfssl.com" + EXPECTED=`cat tests/x509/expect-email.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -295,7 +294,8 @@ notAfter=Sep 15 23:07:25 2024 GMT" fi echo "TEST 3.i" test_case "-in certs/server-cert.pem -fingerprint -noout" - EXPECTED="SHA1 of cert. DER : 52686B24F54652F04B0D87BA9F591B393C86C407" + EXPECTED=`cat tests/x509/expect-fingerprint.txt` + OUTPUT=`echo $OUTPUT | sed 's/^SHA1 of cert. DER : //'` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -303,13 +303,7 @@ notAfter=Sep 15 23:07:25 2024 GMT" fi echo "TEST 3.j" test_case "-in certs/server-cert.pem -purpose -noout" - EXPECTED="Certificate Purpose: -Any Extended Key Usage : YES -TLS Web Server Authentication : YES -TLS Web Client Authentication : NO -OCSP Signing : YES -Email Protect : YES -Time Stamp Signing : YES" + EXPECTED=`cat tests/x509/expect-purpose.txt` if [ "$OUTPUT" != "$EXPECTED" ]; then echo "found unexpected $OUTPUT" echo "expected $EXPECTED" @@ -317,7 +311,7 @@ Time Stamp Signing : YES" fi echo "TEST 3.k" test_case "-in certs/server-cert.pem -hash -noout" - EXPECTED="137dc03f" + EXPECTED=`cat tests/x509/expect-hash.txt` OLD_EXPECTED="f6cf410e" #was fixed to match OpenSSL after release 5.1.1 if [ "$OUTPUT" != "$EXPECTED" ] && [ "$OUTPUT" != "$OLD_EXPECTED" ]; then echo "found unexpected $OUTPUT"