diff options
Diffstat (limited to 'tests/certs')
-rw-r--r-- | tests/certs/client.crt | 148 | ||||
-rw-r--r-- | tests/certs/client.key | 51 | ||||
-rw-r--r-- | tests/certs/expired.crt | 149 | ||||
-rw-r--r-- | tests/certs/expired.key | 51 | ||||
-rw-r--r-- | tests/certs/interca.conf | 64 | ||||
-rw-r--r-- | tests/certs/interca.conf.in | 64 | ||||
-rw-r--r-- | tests/certs/interca.crt | 41 | ||||
-rw-r--r-- | tests/certs/interca.key | 51 | ||||
-rw-r--r-- | tests/certs/invalid.crt | 149 | ||||
-rw-r--r-- | tests/certs/invalid.key | 51 | ||||
-rw-r--r-- | tests/certs/revoked.crt | 41 | ||||
-rw-r--r-- | tests/certs/revoked.key | 51 | ||||
-rw-r--r-- | tests/certs/revokedcrl.pem | 19 | ||||
-rw-r--r-- | tests/certs/rootca.conf | 64 | ||||
-rw-r--r-- | tests/certs/rootca.conf.in | 64 | ||||
-rw-r--r-- | tests/certs/selfsigned.crt | 33 | ||||
-rw-r--r-- | tests/certs/selfsigned.key | 52 | ||||
-rw-r--r-- | tests/certs/server.crt | 28 | ||||
-rw-r--r-- | tests/certs/server.key | 27 | ||||
-rw-r--r-- | tests/certs/test-ca-cert.pem | 35 | ||||
-rw-r--r-- | tests/certs/test-ca-key.pem | 58 | ||||
-rw-r--r-- | tests/certs/user.crt | 148 | ||||
-rw-r--r-- | tests/certs/user.key | 51 | ||||
-rw-r--r-- | tests/certs/wgethosts | 1 | ||||
-rw-r--r-- | tests/certs/wotca.pem | 78 |
25 files changed, 1569 insertions, 0 deletions
diff --git a/tests/certs/client.crt b/tests/certs/client.crt new file mode 100644 index 0000000..a2b58a9 --- /dev/null +++ b/tests/certs/client.crt @@ -0,0 +1,148 @@ +Certificate: + Data: + Version: 3 (0x2) + Serial Number: 4386 (0x1122) + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=US, ST=CA, L=San Jose, O=Wget Testing Department, OU=Testing, CN=WgetTesting/emailAddress=bugs-wget@gnu.org + Validity + Not Before: May 9 21:08:52 2017 GMT + Not After : May 9 21:08:52 2019 GMT + Subject: CN=., ST=CA, C=US, O=Client + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + Public-Key: (4096 bit) + Modulus: + 00:c8:e0:0f:fd:d5:96:99:1d:f5:8e:4a:d7:84:85: + fc:48:8b:e4:cf:78:27:22:ea:1b:b4:4e:f0:a2:05: + 29:78:37:43:42:17:fe:8d:98:4b:4b:8a:f6:b2:92: + 23:2c:f2:af:c8:9d:36:57:03:90:82:00:02:0c:f8: + 33:14:f2:5c:5f:cc:8f:f8:14:b5:df:a8:e3:0d:d1: + bf:5a:f2:8d:24:37:66:1a:31:99:7e:f7:8d:8e:86: + fd:ea:a6:73:60:84:dc:1c:d9:28:87:92:9f:cf:c4: + 8e:9f:2b:ce:c3:8a:20:ce:8d:5b:66:fe:78:f1:bd: + 7b:57:b1:ad:bc:db:8c:0a:a8:92:c1:92:5d:6f:b9: + 5f:7f:c7:62:4d:59:60:48:8e:1f:a3:02:2f:79:26: + 68:6f:ed:0a:95:07:c8:e5:9a:93:ba:cb:af:c7:a9: + 06:a7:99:b4:ce:1f:26:b7:d5:f6:bd:b4:b2:ad:14: + fe:df:8c:41:94:d4:d2:41:18:43:fe:19:0e:43:67: + 10:8a:ac:f1:47:1c:5a:71:ed:d7:76:aa:67:81:67: + 1d:6f:77:db:c1:93:ee:36:ec:34:6f:c8:97:73:57: + 09:dc:9a:b8:54:35:ae:a3:91:2a:5d:f3:e4:70:77: + 7c:bc:0d:d8:f5:a2:f0:2d:b2:ba:3e:b6:ce:8a:30: + 16:ea:6d:20:b8:ac:dd:eb:3c:a5:62:c5:7d:3a:ef: + df:64:83:a7:ab:a1:c3:65:7a:54:fc:a4:26:0f:64: + a5:83:ed:29:8f:05:ef:aa:2f:98:af:87:98:87:34: + a7:31:55:09:75:37:7d:70:c3:44:14:c4:05:b2:f8: + 6b:6b:25:b4:55:d5:fe:29:3f:ab:f0:d1:e6:3f:dc: + e9:c6:83:5d:f5:4a:ca:34:e0:3d:52:a4:dd:86:09: + e5:3e:b3:9e:f3:79:99:af:b1:6b:7e:6e:c8:0d:04: + 28:fa:38:59:94:71:3c:d2:39:84:a5:56:41:ae:8c: + 63:2d:5c:9b:79:ce:f0:a6:69:6c:74:b7:36:e9:87: + 67:ad:5b:61:6f:d2:53:d4:7a:94:e1:26:29:d0:56: + 02:f5:6e:15:dc:a9:0b:e6:37:2a:32:9c:35:f3:72: + 2d:3d:e2:d4:25:48:a9:d0:c9:7b:cb:1a:4d:c1:44: + 5c:57:ab:75:65:ae:06:b2:40:b6:55:a8:2e:fb:fa: + 6e:0b:75:eb:86:02:ea:63:fe:9a:74:9d:02:4b:60: + 95:ef:53:04:13:87:07:6a:52:64:ba:e6:40:09:ab: + a9:50:a3:12:ce:75:51:35:af:37:34:60:6a:e9:d7: + 3c:00:2b:4a:92:75:48:f3:4a:26:13:08:04:d0:47: + 05:a1:07 + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: critical + CA:TRUE + X509v3 Subject Key Identifier: + 41:CD:E0:FB:C1:87:D6:77:38:B5:A3:94:8A:D0:5B:5C:87:70:32:E9 + X509v3 Authority Key Identifier: + keyid:17:ED:93:43:8F:A7:A6:00:75:D4:E8:B6:82:0D:88:37:7E:C0:6D:08 + + X509v3 Key Usage: + Digital Signature, Key Encipherment, Certificate Sign, CRL Sign + X509v3 Extended Key Usage: + TLS Web Server Authentication + X509v3 CRL Distribution Points: + + Full Name: + URI:http://test.wgettest.org/Bogus.crl + + Full Name: + URI:http://test.wgettest.org/Bogus.crl + + X509v3 Subject Alternative Name: + DNS:WgetTestingServer + Authority Information Access: + CA Issuers - URI:http://test.wgettest.com/Bogus.crt + CA Issuers - URI:http://test.wgettest.com/Bogus.crt + OCSP - URI:http://test.wgettest.com/ocsp/ + OCSP - URI:http://test.wgettest.com/ocsp/ + + Signature Algorithm: sha1WithRSAEncryption + 46:a4:f3:c2:63:cf:c3:76:84:aa:a3:ba:27:32:25:15:54:e6: + 69:d2:2f:7c:c9:68:88:01:10:8c:0d:4e:f7:3c:cc:e5:7f:e6: + 87:55:e9:80:69:e0:05:cb:40:84:65:cc:4d:35:f3:a0:6a:95: + 28:08:cb:95:16:9c:2b:d2:15:5b:d7:43:81:e1:ff:7e:e0:0f: + d7:25:01:f5:3d:d5:0f:88:15:1b:59:5f:6f:31:75:03:19:2b: + 24:5a:d4:b4:e8:1a:19:81:c9:c6:b9:e2:b2:cb:dc:fd:b3:fc: + 18:ec:76:68:2d:9e:78:41:31:0b:c0:f2:ca:70:93:66:6b:97: + cf:b8:8e:69:3e:86:63:7b:12:40:8f:1b:de:25:2a:a7:97:83: + 4f:a1:7e:0b:07:15:bb:42:e9:a0:a8:80:17:c2:75:a9:35:e6: + 57:bf:09:83:71:b5:51:3b:95:37:79:d6:8b:4e:96:86:22:d3: + 54:53:ac:af:ea:ec:0c:58:4c:18:11:4d:77:35:ae:40:7c:6d: + 5d:c5:36:46:19:fa:d9:83:76:cf:e6:70:69:3a:32:a3:0c:4f: + 6f:28:18:0d:6a:d3:47:b4:e8:e3:77:a8:90:0d:74:08:f1:4e: + 68:45:27:fc:22:57:ad:63:92:7c:fd:bf:44:ad:ec:be:12:42: + 49:b9:e0:23:2c:95:98:f2:d3:07:a3:00:6a:4f:eb:3d:8b:6d: + c6:0a:ef:1e:c8:71:1b:d2:3b:2e:81:86:5b:36:05:6a:f4:3f: + 25:cc:4a:d1:a4:d9:f6:8e:6d:a2:db:54:1e:c5:1b:dd:44:e3: + fc:0b:8b:8c:84:7d:e0:bf:1b:d4:53:3e:ab:31:fd:f4:25:1f: + 29:b9:55:f0:92:0e:fe:ab:46:cc:a1:50:96:10:6a:d9:c0:cd: + 6d:c1:e9:86:77:7e:ef:93:bf:be:03:21:87:d9:dc:36:53:41: + f6:a6:6c:f2:23:ee:be:34:4a:2e:95:29:09:7d:8f:1a:10:d2: + ff:a5:6b:26:93:e1:83:da:be:22:fd:7f:14:f2:1c:03:f5:64: + f8:75:00:f0:da:5e:78:e3:07:90:a0:4a:16:1c:31:70:09:b5: + 46:4d:71:42:64:19:b0:53:ce:27:f7:9a:34:5d:c4:df:7d:06: + bf:af:8e:c2:9a:19:c1:f9:90:36:eb:41:0c:2c:3d:51:22:bb: + 18:eb:ed:0b:5c:92:15:60:79:42:be:c1:f6:f1:46:29:c9:6c: + 0a:ba:f9:4c:46:44:1e:32:7d:83:df:55:b1:31:1f:c2:db:22: + a4:bd:2d:79:d1:ca:a1:80:12:ce:5a:26:68:54:8b:d3:f4:8b: + cf:45:d3:57:92:70:b6:7c +-----BEGIN CERTIFICATE----- +MIIHDjCCBPagAwIBAgICESIwDQYJKoZIhvcNAQEFBQAwgZkxCzAJBgNVBAYTAlVT +MQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU2FuIEpvc2UxIDAeBgNVBAoMF1dnZXQg +VGVzdGluZyBEZXBhcnRtZW50MRAwDgYDVQQLDAdUZXN0aW5nMRQwEgYDVQQDDAtX +Z2V0VGVzdGluZzEgMB4GCSqGSIb3DQEJARYRYnVncy13Z2V0QGdudS5vcmcwHhcN +MTcwNTA5MjEwODUyWhcNMTkwNTA5MjEwODUyWjA3MQowCAYDVQQDDAEuMQswCQYD +VQQIDAJDQTELMAkGA1UEBhMCVVMxDzANBgNVBAoMBkNsaWVudDCCAiIwDQYJKoZI +hvcNAQEBBQADggIPADCCAgoCggIBAMjgD/3Vlpkd9Y5K14SF/EiL5M94JyLqG7RO +8KIFKXg3Q0IX/o2YS0uK9rKSIyzyr8idNlcDkIIAAgz4MxTyXF/Mj/gUtd+o4w3R +v1ryjSQ3ZhoxmX73jY6G/eqmc2CE3BzZKIeSn8/Ejp8rzsOKIM6NW2b+ePG9e1ex +rbzbjAqoksGSXW+5X3/HYk1ZYEiOH6MCL3kmaG/tCpUHyOWak7rLr8epBqeZtM4f +JrfV9r20sq0U/t+MQZTU0kEYQ/4ZDkNnEIqs8UccWnHt13aqZ4FnHW9328GT7jbs +NG/Il3NXC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iUVVOZp0i98yWiIARCMDU73PMzlf+aHVemAaeAFy0CE +ZcxNNfOgapUoCMuVFpwr0hVb10OB4f9+4A/XJQH1PdUPiBUbWV9vMXUDGSskWtS0 +6BoZgcnGueKyy9z9s/wY7HZoLZ54QTELwPLKcJNma5fPuI5pPoZjexJAjxveJSqn +l4NPoX4LBxW7QumgqIAXwnWpNeZXvwmDcbVRO5U3edaLTpaGItNUU6yv6uwMWEwY +EU13Na5AfG1dxTZGGfrZg3bP5nBpOjKjDE9vKBgNatNHtOjjd6iQDXQI8U5oRSf8 +IletY5J8/b9Erey+EkJJueAjLJWY8tMHowBqT+s9i23GCu8eyHEb0jsugYZbNgVq +9D8lzErRpNn2jm2i21QexRvdROP8C4uMhH3gvxvUUz6rMf30JR8puVXwkg7+q0bM +oVCWEGrZwM1twemGd37vk7++AyGH2dw2U0H2pmzyI+6+NEoulSkJfY8aENL/pWsm +k+GD2r4i/X8U8hwD9WT4dQDw2l544weQoEoWHDFwCbVGTXFCZBmwU84n95o0XcTf +fQa/r47CmhnB+ZA260EMLD1RIrsY6+0LXJIVYHlCvsH28UYpyWwKuvlMRkQeMn2D +31WxMR/C2yKkvS150cqhgBLOWiZoVIvT9IvPRdNXknC2fA== +-----END CERTIFICATE----- diff --git a/tests/certs/client.key b/tests/certs/client.key new file mode 100644 index 0000000..31d556b --- /dev/null +++ b/tests/certs/client.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKQIBAAKCAgEAyOAP/dWWmR31jkrXhIX8SIvkz3gnIuobtE7wogUpeDdDQhf+ +jZhLS4r2spIjLPKvyJ02VwOQggACDPgzFPJcX8yP+BS136jjDdG/WvKNJDdmGjGZ +fveNjob96qZzYITcHNkoh5Kfz8SOnyvOw4ogzo1bZv548b17V7GtvNuMCqiSwZJd +b7lff8diTVlgSI4fowIveSZob+0KlQfI5ZqTusuvx6kGp5m0zh8mt9X2vbSyrRT+ +34xBlNTSQRhD/hkOQ2cQiqzxRxxace3Xd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B/eKRiQoNgGEjhho+L9wzQ +tFaO5QKCAQEAmYvCh5PQZ/FOBXYmIlu9/eeHlEFZFEzQavgzz0a5X1u273lPUYDl +xj13dDzcCUhlay22T3TFmQ6JN/75FD/mk+rJPyHtFaGkU4U7srLj+tijIIZAEWJK +C39RtfHwPJ7NroUqgY4VjyttXwT+/LwZpJ/GSHUzozgZ9/zFab2qcXkpstKJcMi6 +u8ZYjxHTcdXaCiQ7zyjGntjkeKE1O5i5OyxUWV91FayZGBBbiMMXDDCyePz++PsH +2RGlxf7N1PjSLzYMRSCEx/CKpTC7j/CN1D6oQrMGvxV3R7j/3uYGJFp25fWNCEE2 +Uhq0b1GDHP+oqtV4z86iux+jB937+ZZ0KQKCAQBetr8pywp3jftYVhGU9+VZxYc/ +2vM5+WEdOqJAoHwXed5AMHReycKUmbDilWbswXyiBDGmIokoMKP09JMXfCbHMTkX +LZCsxFGUpzAGg7sHI1NLTqWGU+fOmtzg7SJ77tZqJj1zzmgLX54oQ9qx53V6StWV +Zw7YxkRbnLQ+LZU0HyYb11v5oh1CnWUoGINMkV6Bhv+jPCzUP/vs4/JgOFqhwjlN +GVX0ewFGykinTK34ia9TI1Updgb3FWt3i9+twwAis1nnnuHt19tdi22BPwAuyFPx +hsf5t4Kcm8xibjeHzQMLqP4v2arW09zsg5kDTQHoQDcUajJ+cdbpY2PeosfN +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/expired.crt b/tests/certs/expired.crt new file mode 100644 index 0000000..b624e77 --- /dev/null +++ b/tests/certs/expired.crt @@ -0,0 +1,149 @@ +Certificate: + Data: + Version: 3 (0x2) + Serial Number: 1 (0x1) + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=US, ST=CA, L=San Jose, O=Wget Testing Department, OU=Testing, CN=WgetTesting/emailAddress=bugs-wget@gnu.org + Validity + Not Before: May 14 09:05:02 2017 GMT + Not After : May 8 16:03:42 2017 GMT + Subject: CN=WgetTestingServer, ST=CA, C=US/emailAddress=ExpiredTester, O=Dis + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + Public-Key: (4096 bit) + Modulus: + 00:d8:ed:cc:9c:e5:35:42:f2:1b:d8:30:36:40:a5: + 01:8e:0f:c2:3c:5b:f0:d1:09:a0:aa:63:07:44:b9: + 2e:20:20:47:5e:43:f3:bc:3b:df:88:f9:26:e6:07: + d9:9c:4c:67:53:46:3a:78:c5:0a:90:0c:f2:e9:a1: + e0:d9:f3:52:bc:51:07:32:ac:9b:d3:ac:f9:25:7d: + 52:8b:2f:fa:06:6e:2d:c4:d4:2e:c7:38:81:f3:30: + 4e:b5:d6:7b:2e:fe:4c:12:84:db:f4:7f:22:91:4d: + 45:37:bb:01:96:61:59:62:af:2e:de:21:70:fa:3e: + 29:97:9d:3c:bf:41:5c:cd:2a:b4:f7:4f:6f:78:a1: + b3:d5:79:53:4e:68:7b:cf:0e:78:87:47:9c:3f:3f: + da:50:27:08:7d:12:c7:e2:da:cc:6f:a4:63:12:ca: + 28:a0:7d:f8:a8:ac:a3:72:77:ab:18:52:83:b1:2e: + 44:49:1a:0c:25:bc:21:bd:40:09:96:6b:60:04:e4: + f2:3f:bc:c4:1e:3c:43:55:1d:fa:40:18:cd:70:91: + 24:03:1a:b8:95:e0:b2:70:3f:1e:05:a8:21:37:b1: + d0:ff:54:36:65:9f:a7:ba:2d:c2:ef:e2:a9:a4:c4: + 72:c5:4c:82:8e:46:3e:b6:d9:aa:62:14:07:1d:53: + 19:08:9b:88:6d:b9:20:88:7c:bc:89:95:02:d5:54: + 96:7b:b0:a8:14:fd:30:ce:5f:41:b7:bf:e2:75:9a: + a3:fa:20:43:2f:c8:80:cd:97:f7:57:37:5d:11:9b: + fe:bf:aa:56:0e:2f:cd:47:7e:0f:db:2d:f7:71:44: + c5:21:7d:c6:b3:50:5d:30:b0:4c:54:8f:7e:05:82: + e6:5e:3b:62:d7:1b:5a:f5:de:57:76:2a:90:b0:d4: + ec:72:8e:ab:64:f1:6f:12:21:80:7c:64:8a:5c:da: + c1:86:12:ff:a9:e9:93:2f:2c:70:59:84:a4:5c:13: + e0:02:d4:9a:72:0e:40:c3:db:99:1b:60:85:c0:94: + 1d:15:24:5b:8b:f6:6f:2c:d1:b5:95:50:e2:53:76: + 4f:cf:57:8e:d5:8b:c1:f5:3f:ad:07:aa:7b:84:32: + dd:32:b5:59:a5:1b:d4:a2:b6:3b:6c:07:cc:4b:e8: + fc:6a:d8:42:e8:08:dc:f1:f1:91:74:cf:9f:5f:57: + 6e:ab:93:5b:5e:af:7d:1c:b7:d3:eb:08:4c:a9:a7: + b5:aa:d6:46:a8:a0:63:68:7b:44:cf:5c:21:42:3c: + 98:ff:42:31:77:94:4f:85:d2:7a:da:56:b1:c4:3c: + b9:2d:e9:d6:88:f3:6c:ff:7b:39:19:83:80:ab:31: + ab:19:6b + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: critical + CA:TRUE + X509v3 Subject Key Identifier: + E6:C0:06:2E:89:41:44:32:AE:B6:C5:62:B6:7E:B5:DA:3B:75:D4:04 + X509v3 Authority Key Identifier: + keyid:17:ED:93:43:8F:A7:A6:00:75:D4:E8:B6:82:0D:88:37:7E:C0:6D:08 + + X509v3 Key Usage: + Digital Signature, Key Encipherment, Certificate Sign, CRL Sign + X509v3 Extended Key Usage: + TLS Web Server Authentication + X509v3 CRL Distribution Points: + + Full Name: + URI:http://test.wgettest.org/Bogus.crl + + Full Name: + URI:http://test.wgettest.org/Bogus.crl + + X509v3 Subject Alternative Name: + DNS:WgetTestingServer + Authority Information Access: + CA Issuers - URI:http://test.wgettest.com/Bogus.crt + CA Issuers - URI:http://test.wgettest.com/Bogus.crt + OCSP - URI:http://test.wgettest.com/ocsp/ + OCSP - URI:http://test.wgettest.com/ocsp/ + + Signature Algorithm: sha1WithRSAEncryption + 41:03:d8:91:54:f2:5c:e5:15:80:cd:96:a2:89:94:df:8c:d4: + ce:99:1a:f6:69:03:1d:aa:a8:3d:7f:8a:65:bd:b2:3a:f0:46: + 00:6d:c7:cc:7a:18:44:cb:b4:17:f1:40:83:b1:17:90:64:ba: + 22:2e:18:7e:35:29:20:4c:8f:34:14:86:34:1f:42:6e:a6:e7: + d7:18:a3:11:77:3d:ec:b1:39:59:7b:12:3f:55:b0:86:4a:9f: + 6a:1c:b6:9e:03:3d:39:bf:f6:34:f5:d7:6f:44:bd:9a:54:e5: + f9:d9:14:85:01:d9:3d:0e:18:89:d0:bf:27:df:9a:4f:39:7c: + ec:46:92:e5:3e:9e:e5:10:4a:ed:03:aa:3b:93:02:e9:f3:18: + c1:5f:e8:cb:16:e0:54:9f:8b:0a:c9:65:48:32:93:90:91:2e: + 84:26:14:28:b5:5c:61:38:39:28:3e:8e:74:dd:08:07:67:41: + 9a:82:67:48:ba:3b:c1:66:76:27:7a:9c:c5:95:45:b5:9c:4d: + 94:9b:f5:e2:93:39:2c:d8:15:31:27:82:56:9b:1a:73:e5:f2: + 6a:9a:cd:47:0a:2b:ff:6e:5f:b2:f8:53:4f:fc:c3:1c:b7:25: + 00:30:77:21:87:9b:88:d4:87:f7:30:79:f7:bd:a2:df:42:c4: + 95:c4:e3:3c:94:4a:87:96:94:54:de:fe:80:13:e6:ec:37:dd: + 33:a2:e4:f7:15:e7:a8:08:c6:3d:3b:65:34:96:5f:46:c8:41: + 7f:ce:c5:ca:3a:44:d2:fb:9c:3c:c7:2c:da:12:b3:1f:62:40: + 38:12:cb:36:b7:5c:e7:32:5c:e3:2a:af:b5:36:e8:83:d3:8e: + da:4c:b5:52:5f:f4:d6:54:b7:3b:9d:62:86:5a:26:f1:58:a8: + 2e:f6:46:9c:6f:98:76:e1:bb:9c:27:73:0f:78:11:60:b9:ac: + 13:6e:d9:ec:24:5f:64:e9:59:14:36:02:f1:f0:57:97:ce:31: + 0a:80:1e:d0:c0:c0:77:62:24:c5:d9:61:e9:d9:57:76:64:e1: + 1c:c7:5a:55:e2:58:ab:2f:58:6f:42:91:03:aa:6f:1c:9b:fc: + 0a:c5:ee:14:1d:07:a1:b3:ec:97:6f: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vbI68EYAbcfMehhEy7QX8UCDsReQ +ZLoiLhh+NSkgTI80FIY0H0JupufXGKMRdz3ssTlZexI/VbCGSp9qHLaeAz05v/Y0 +9ddvRL2aVOX52RSFAdk9DhiJ0L8n35pPOXzsRpLlPp7lEErtA6o7kwLp8xjBX+jL +FuBUn4sKyWVIMpOQkS6EJhQotVxhODkoPo503QgHZ0GagmdIujvBZnYnepzFlUW1 +nE2Um/Xikzks2BUxJ4JWmxpz5fJqms1HCiv/bl+y+FNP/MMctyUAMHchh5uI1If3 +MHn3vaLfQsSVxOM8lEqHlpRU3v6AE+bsN90zouT3FeeoCMY9O2U0ll9GyEF/zsXK +OkTS+5w8xyzaErMfYkA4Ess2t1znMlzjKq+1NuiD047aTLVSX/TWVLc7nWKGWibx +WKgu9kacb5h24bucJ3MPeBFguawTbtnsJF9k6VkUNgLx8FeXzjEKgB7QwMB3YiTF +2WHp2Vd2ZOEcx1pV4lirL1hvQpEDqm8cm/wKxe4UHQehs+yXb6wvhX/qiBh4hKyv +2Om3I1yjFKuO7pVbDWzkJb53BFkZVx734Fry/DMSVygRLh8Fa0Nij8DDSpf5anMd +3cBv1KIjCtKGaN+9rHVhz9g/mtGO6TNZvROaJw== +-----END CERTIFICATE----- diff --git a/tests/certs/expired.key b/tests/certs/expired.key new file mode 100644 index 0000000..72951ce --- /dev/null +++ b/tests/certs/expired.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKAIBAAKCAgEA2O3MnOU1QvIb2DA2QKUBjg/CPFvw0QmgqmMHRLkuICBHXkPz +vDvfiPkm5gfZnExnU0Y6eMUKkAzy6aHg2fNSvFEHMqyb06z5JX1Siy/6Bm4txNQu +xziB8zBOtdZ7Lv5MEoTb9H8ikU1FN7sBlmFZYq8u3iFw+j4pl508v0FczSq0909v +eKGz1XlTTmh7zw54h0ecPz/aUCcIfRLH4trMb6RjEsoooH34qKyjcnerGFKDsS5E +SRoMJbwhvUAJlmtgBOTyP7zEHjxDVR36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b5yo00uVF1lbyVUCHGGoJclUJxVMstOB +1KJ/AoIBAFCOvmNxvc/Y2ZWjXnTWsgO537a1U88eUK6bgRwe/E7rmEPLLs0P0fwj +TPGx/prkRUZ8+gIMcJ0ht33tzie1SCWGbQjFkwe7KLzouw+gYqEynKuDY+uFi+wK +QnGGojKv4K85NRcFGch1av2VIFj+tnw/oUBBE+u8B6S17f4hWRuxLR4xwkkiT26Q +wq+CvPU2avTIkoESnOi49HKRod47RVvOtx2VCGX15ICrZwoXECrbNSAWKRYoRB/2 +GkLhbwcOprV1YcPw6UV0wMPGjSYQ4rmNukQSK7LGXKmLjfu7hagUHKOZla8rtuk2 +DxjfjThF8aSBBOXncdxikTutfqklliECggEBANGHBID63eBukoc16NOIRenrRNSJ +Oa2W0VhQ/iI9Di9fjZuQutPq2UqR+N0tW5V7qiGm7vb7lRlrnB/jt3pNqGj3qSdC +CEp7IEH0kJ/hp9KwA7MxVzmk5hbDbSrtzxYFYjYNEybKndPmKt+J9AZS3u21WGwU +MaaX2WS2JHLwnSJ0qgp/rg+uoYIXzPLn/1k7H0s8s6lMhY40nZSaxx9dEEe5RWSz +HY9ajmcRUqEbdFNmu+J9yR5q5mku++CLRGU921XomoIf/R3dBvMFFRtiymiVV0qt ++fueaAfibaLDFRSutkfLCyOl2EFyvsSk5TJmutAIe8ba5d1CdCkm4w9SsBI= +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/interca.conf b/tests/certs/interca.conf new file mode 100644 index 0000000..2d522e7 --- /dev/null +++ b/tests/certs/interca.conf @@ -0,0 +1,64 @@ +[ ca ] +default_ca = myca + +[ crl_ext ] +issuerAltName=issuer:copy +authorityKeyIdentifier=keyid:always + + [ myca ] + dir = /usr/oms/src/wget1.x/tests/certs + new_certs_dir = ./ + unique_subject = no + certificate = interca.crt + database = certindex + private_key = interca.key + serial = certserial + default_days = 730 + default_md = sha1 + policy = myca_policy + x509_extensions = myca_extensions + crlnumber = crlnumber + default_crl_days = 730 + + [ myca_policy ] + commonName = supplied + stateOrProvinceName = supplied + countryName = optional + emailAddress = optional + organizationName = supplied + organizationalUnitName = optional + + [ myca_extensions ] + basicConstraints = critical,CA:TRUE + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [ v3_ca ] + basicConstraints = critical,CA:TRUE,pathlen:0 + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [alt_names] + DNS.0 = WgetTestingServer + + [crl_section] + URI.0 = http://intertest.wgettest.org/Bogus.crl + URI.1 = http://intertest.wgettest.org/Bogus.crl + + [ocsp_section] + caIssuers;URI.0 = http://intertest.wgettest.com/Bogus.crt + caIssuers;URI.1 = http://intertest.wgettest.com/Bogus.crt + OCSP;URI.0 = http://intertest.wgettest.com/ocsp/ + OCSP;URI.1 = http://intertest.wgettest.com/ocsp/ diff --git a/tests/certs/interca.conf.in b/tests/certs/interca.conf.in new file mode 100644 index 0000000..5bf28fd --- /dev/null +++ b/tests/certs/interca.conf.in @@ -0,0 +1,64 @@ +[ ca ] +default_ca = myca + +[ crl_ext ] +issuerAltName=issuer:copy +authorityKeyIdentifier=keyid:always + + [ myca ] + dir = @abs_srcdir@ + new_certs_dir = ./ + unique_subject = no + certificate = interca.crt + database = certindex + private_key = interca.key + serial = certserial + default_days = 730 + default_md = sha1 + policy = myca_policy + x509_extensions = myca_extensions + crlnumber = crlnumber + default_crl_days = 730 + + [ myca_policy ] + commonName = supplied + stateOrProvinceName = supplied + countryName = optional + emailAddress = optional + organizationName = supplied + organizationalUnitName = optional + + [ myca_extensions ] + basicConstraints = critical,CA:TRUE + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [ v3_ca ] + basicConstraints = critical,CA:TRUE,pathlen:0 + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [alt_names] + DNS.0 = WgetTestingServer + + [crl_section] + URI.0 = http://intertest.wgettest.org/Bogus.crl + URI.1 = http://intertest.wgettest.org/Bogus.crl + + [ocsp_section] + caIssuers;URI.0 = http://intertest.wgettest.com/Bogus.crt + caIssuers;URI.1 = http://intertest.wgettest.com/Bogus.crt + OCSP;URI.0 = http://intertest.wgettest.com/ocsp/ + OCSP;URI.1 = http://intertest.wgettest.com/ocsp/ diff --git a/tests/certs/interca.crt b/tests/certs/interca.crt new file mode 100644 index 0000000..6cbf0ce --- /dev/null +++ b/tests/certs/interca.crt @@ -0,0 +1,41 @@ +-----BEGIN CERTIFICATE----- +MIIHOTCCBSGgAwIBAgICESMwDQYJKoZIhvcNAQEFBQAwgZkxCzAJBgNVBAYTAlVT +MQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU2FuIEpvc2UxIDAeBgNVBAoMF1dnZXQg +VGVzdGluZyBEZXBhcnRtZW50MRAwDgYDVQQLDAdUZXN0aW5nMRQwEgYDVQQDDAtX +Z2V0VGVzdGluZzEgMB4GCSqGSIb3DQEJARYRYnVncy13Z2V0QGdudS5vcmcwHhcN +MTcwNTA5MjEyNDMwWhcNMTkwNTA5MjEyNDMwWjBiMR4wHAYDVQQDDBVpY2Etd2dl +dFRlc3RpbmdTZXJ2ZXIxCzAJBgNVBAgMAkNBMQswCQYDVQQGEwJVUzEYMBYGCSqG +SIb3DQEJARYJaWNhdGVzdGVyMQwwCg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interca.key b/tests/certs/interca.key new file mode 100644 index 0000000..7a27172 --- /dev/null +++ b/tests/certs/interca.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKAIBAAKCAgEAqRXOZWa2iCD/D1VW58EqxNdadpI1YMwz8CCf2w2BnetFRDHN +noVTjLY95RWwFLuJ2+o+yGwBgeG1KoOAVFX0aHb3dn9VrHwH4X9wFJ6SNHPsrSvB +7l0n797OOPv4kCX7SxNJEwA2X/YlfxsXRG4cEFwVpLtMVP5sUR+M8QxsGeoLq0Pe +jHeg1VIJ2bJ0YK7pEIpK/QuXvHGyo+xRy2YKvRPjZRqaZiovKhk1Fytey3CwRD9O +IJTpzLkUCgekgiKF/lQosN94VmH8yIlwyhanI9JYmADci2zPU4hSExsk4ya/jXtS +2nNB5TXfLzXj+iDwY1YjWfCMNxmJctYvJYuEx86PFaVwZCZcDixGEqvR62SdEM1G +8s1Uy3YZQgYRZnte2fT8UMga/tgNC6fq/6Cna/inzGGTd7c1d2KM0sOXeuLldjc/ +aVQpi40fFAFenCaiSCwMQkEVbOELOyqN5hlilot0+ccbxcvIEKzR4O/iDYPtDobC +JHx0xrH1u1hrpBoX5orKYurI62zQAUcLPFZa+yXFTRUuLruB93FQmd0XXvSHbjWL +NIKrLOEmDAMSgM9PzOzgmPGfaG4e8yHbBtQNktO3L/TjLI4D4S4jv4uBxUa4kLWE +ebFmSpJmYJkuvGibofyS4o5Rf5thy2yOYEpYMLkgLSlI9guvJk612Sd15SMCAwEA +AQKCAgA4Wi4pmWvoPqcDIzwNjVGFvQhHUD89/ZCpzRW52eyDBzBUpAyVcnYABZTn +Tq0am848XvuBrI1sDh9lBeK1ONh2IIAlHBcfn065FtHx7U9o7+HHbTf7C00OIsG0 +ODYFRMNVqB3ImV+F5/FjRVIh2li8ExSbjFjKUukiuFMu2ycEE/7Dm6EGS7BsqCTk +SxeCSYkfnBeV8lEl2vbgrxgro9ycW46D2bPvrMt/SltpV2kGgI4ekMKnFTo+o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MAV+ZhxtLs/sWOwcJk/rwhvRsbadzKhEiZPDYDDZ10oWWsCdeawp0VZEk= +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/invalid.crt b/tests/certs/invalid.crt new file mode 100644 index 0000000..0ab8ff1 --- /dev/null +++ b/tests/certs/invalid.crt @@ -0,0 +1,149 @@ +Certificate: + Data: + Version: 3 (0x2) + Serial Number: 1 (0x1) + Signature Algorithm: sha1WithRSAEncryption + Issuer: C=US, ST=CA, L=San Jose, O=Wget Testing Department, OU=Testing, CN=WgetTesting/emailAddress=bugs-wget@gnu.org + Validity + Not Before: May 15 15:28:03 2037 GMT + Not After : May 15 13:28:04 2019 GMT + Subject: CN=WgetTestingServer, ST=CA, C=US/emailAddress=ServerTester, O=Dis + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + Public-Key: (4096 bit) + Modulus: + 00:b4:d4:0b:fe:35:25:05:a2:ec:28:c3:6a:d8:13: + f7:57:7f:f6:f2:4b:87:64:59:29:cb:81:93:c0:3d: + f5:2b:30:d4:30:4b:ab:e1:0e:5a:57:e9:ac:d0:ef: + 62:f6:a3:f2:d7:24:f6:8b:e3:54:98:68:75:bc:f8: + 34:4c:2f:96:6c:dc:1d:af:72:f9:c6:5a:6e:0f:03: + 4c:45:ed:0a:17:9b:ba:2e:f3:8d:7d:6e:e9:4b:3d: + 36:d9:7a:18:2e:24:72:5b:98:84:5b:09:6f:a5:f2: + 87:b3:0d:d7:93:92:2e:6f:68:4f:db:5d:78:77:c6: + 63:04:c6:29:67:42:3a:6f:0f:c0:e2:cb:1e:52:f3: + 11:0b:c3:80:4a:3f:b5:5e:1f:43:0c:04:c4:b4:f1: + 95:98:e4:b7:b0:4b:14:fe:1c:99:70:f4:1c:91:1e: + e3:9a:a2:ff:48:54:fa:3d:01:e7:48:6f:0b:3f:4f: + a5:45:b1:1b:98:0d:57:6f:15:a6:75:bb:45:0a:52: + 66:e6:1b:77:29:ba:c5:13:41:91:8b:0b:a0:6a:44: + fa:8e:60:46:8c:c6:43:de:67:46:1d:30:c5:ce:77: + f2:4a:53:c2:27:85:1f:48:69:c8:27:df:b1:71:09: + 42:10:2e:7f:b8:fe:85:fe:bd:39:2c:84:2a:10:a5: + 80:00:79:42:a8:6f:3b:55:08:f2:98:c7:44:e7:a0: + b4:dc:c5:c1:3e:75:30:cb:a9:7a:44:a8:a1:03:8a: + 44:cb:dd:04:74:54:91:91:11:2d:32:ce:67:2b:af: + 23:a9:69:35:39:8c:7e:4a:fe:d9:b4:86:c9:ff:f8: + 09:86:2b:ad:eb:12:74:2c:6a:25:29:8c:ab:13:68: + 9a:26:8f:12:2d:ac:36:23:99:91:7f:5f:22:3e:f3: + 6c:a3:a1:5b:fa:64:da:dd:80:81:8f:8d:36:5b:e7: + 8f:0a:0f:84:c7:6a:fb:f4:6d:4d:3f:ce:ff:f4:1e: + c2:62:d7:95:e7:af:f4:57:c2:b8:e4:ba:d2:18:1f: + 2c:47:ef:6b:b8:7f:e3:92:4d:6d:b2:86:70:fe:fd: + 54:42:0e:88:cf:9c:02:7d:a5:11:72:ef:6e:63:05: + 81:1a:00:fc:cb:b7:91:af:3c:7c:53:da:7a:54:d8: + 3b:98:e7:de:bc:1e:10:7b:fb:60:89:e6:40:13:da: + da:d7:d6:7c:f6:61:b9:82:33:1c:c6:62:06:6e:ae: + 5c:99:ab:1d:44:a7:10:7e:03:51:dd:59:97:0a:da: + ab:c8:85:28:bd:e0:5d:12:5d:aa:02:3c:1d:a6:0e: + 6e:43:18:b6:ac:4e:7f:f3:4a:2f:67:84:dc:7c:0c: + c0:9f:bf + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: critical + CA:TRUE + X509v3 Subject Key Identifier: + EA:FC:B3:3E:7E:5E:68:61:80:61:59:4C:D5:B7:A0:9D:1D:86:E5:97 + X509v3 Authority Key Identifier: + keyid:17:ED:93:43:8F:A7:A6:00:75:D4:E8:B6:82:0D:88:37:7E:C0:6D:08 + + X509v3 Key Usage: + Digital Signature, Key Encipherment, Certificate Sign, CRL Sign + X509v3 Extended Key Usage: + TLS Web Server Authentication + X509v3 CRL Distribution Points: + + Full Name: + URI:http://test.wgettest.org/Bogus.crl + + Full Name: + URI:http://test.wgettest.org/Bogus.crl + + X509v3 Subject Alternative Name: + DNS:WgetTestingServer + Authority Information Access: + CA Issuers - URI:http://test.wgettest.com/Bogus.crt + CA Issuers - URI:http://test.wgettest.com/Bogus.crt + OCSP - URI:http://test.wgettest.com/ocsp/ + OCSP - URI:http://test.wgettest.com/ocsp/ + + Signature Algorithm: sha1WithRSAEncryption + 3d:8d:a9:7a:8c:32:7e:7a:9c:c5:d6:14:d4:05:3e:49:50:d3: + 11:a4:61:df:82:91:c3:87:26:9d:fb:3f:2f:b5:10:86:22:f0: + 4e:c5:54:6d:09:33:17:3c:0d:aa:87:43:2a:89:62:c6:28:b5: + 4e:41:17:7d:57:ad:76:f5:3e:c6:e7:b5:3b:21:16:79:7b:a0: + 42:ee:59:88:16:92:4e:3d:8d:ec:8e:87:07:3b:8a:dd:55:1d: + 0a:f2:ea:aa:e7:20:6b:0e:4e:f5:33:46:34:16:8c:be:61:b1: + 6c:47:52:03:cc:df:8a:3e:cd:01:92:6d:1a:39:5a:d0:75:38: + 71:f2:b2:78:65:26:5c:c9:72:c6:26:dc:09:ee:b6:e8:b5:60: + d6:e8:09:d0:db:ea:c5:80:8a:86:c0:f9:97:1d:44:94:33:c7: + 73:39:d0:5e:62:e7:90:d8:1f:23:09:98:18:c6:da:28:b4:30: + e0:d0:6f:20:a7:a4:06:4e:ee:b4:ef:3e:18:16:0b:f7:46:f0: + c7:d0:6d:41:1e:cf:c7:08:78:f7:22:b6:a7:c5:40:be:09:61: + 5a:65:71:c5:37:33:f5:c1:8c:b0:c3:1a:d8:9e:a2:98:71:10: + a3:39:c5:d2:57:5d:24:62:dc:48:58:2d:1e:f1:29:54:a2:e7: + dd:86:09:1b:a6:b4:27:27:e1:7f:04:98:92:2e:e1:68:48:51: + 38:44:59:9a:3e:3d:e9:d1:69:db:eb:4d:27:d6:9f:a4:d0:4a: + 58:10:ca:b4:60:dc:52:5d:63:a0:73:9c:74:89:aa:92:40:81: + 91:0a:b1:ad:ea:d2:f6:bf:9c:49:ab:ce:d9:47:ae:86:8f:da: + 41:ad:ec:0f:2a:cb:f6:ce:0e:67:09:0b:75:60:16:99:cd:4a: + 2b:d1:b8:be:9b:37:58:4d:78:c5:67:69:5c:c7:48:31:50:83: + dd:10:40:b7:80:fe:d7:a4:a9:59:32:c4:3c:80:ad:6b:7c:9c: + 47:14:e8:74:18:e8:f9:ad:b4:dc:e9:f6:38:21:90:0b:58:60: + 48:a2:95:2b:a1:58:0a:52:5a:ba:5d:8e:4a:96:22:a7:8e:cc: + f1:db:5e:15:cd:e2:77:db:25:1f:83:ad:d6:10:98:1b:0a:b0: + 43:23:8c:14:65:72:8e:c4:b8:81:f8:a2:27:55:69:37:e6:fa: + 4a:74:30:fc:d0:31:e8:9a:67:cf:b0:59:e3:82:92:37:2e:f1: + 77:7f:ec:41:2d:9c:6e:46:11:65:b7:5f:b6:8b:90:fa:a7:2c: + 4e:3e:fd:18:c7:5c:6c:b6:f3:f4:07:13:66:48:43:b4:30:ec: + b6:ca:f1:3d:03:57:c1:38 +-----BEGIN CERTIFICATE----- +MIIHNzCCBR+gAwIBAgIBATANBgkqhkiG9w0BAQUFADCBmTELMAkGA1UEBhMCVVMx +CzAJBgNVBAgMAkNBMREwDwYDVQQHDAhTYW4gSm9zZTEgMB4GA1UECgwXV2dldCBU +ZXN0aW5nIERlcGFydG1lbnQxEDAOBgNVBAsMB1Rlc3RpbmcxFDASBgNVBAMMC1dn +ZXRUZXN0aW5nMSAwHgYJKoZIhvcNAQkBFhFidWdzLXdnZXRAZ251Lm9yZzAeFw0z +NzA1MTUxNTI4MDNaFw0xOTA1MTUxMzI4MDRaMGExGjAYBgNVBAMMEVdnZXRUZXN0 +aW5nU2VydmVyMQswCQYDVQQIDAJDQTELMAkGA1UEBhMCVVMxGzAZBgkqhki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/certs/invalid.key b/tests/certs/invalid.key new file mode 100644 index 0000000..426a2ef --- /dev/null +++ b/tests/certs/invalid.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKAIBAAKCAgEAtNQL/jUlBaLsKMNq2BP3V3/28kuHZFkpy4GTwD31KzDUMEur +4Q5aV+ms0O9i9qPy1yT2i+NUmGh1vPg0TC+WbNwdr3L5xlpuDwNMRe0KF5u6LvON +fW7pSz022XoYLiRyW5iEWwlvpfKHsw3Xk5Iub2hP2114d8ZjBMYpZ0I6bw/A4sse +UvMRC8OASj+1Xh9DDATEtPGVmOS3sEsU/hyZcPQckR7jmqL/SFT6PQHnSG8LP0+l +RbEbmA1XbxWmdbtFClJm5ht3KbrFE0GRiwugakT6jmBGjMZD3mdGHTDFznfySlPC +J4UfSGnIJ9+xcQlCEC5/uP6F/r05LIQqEKWAAHlCqG87VQjymMdE56C03MXBPnUw +y6l6RKihA4pEy90EdFSRkREtMs5nK68jqWk1OYx+Sv7ZtIbJ//gJhiut6xJ0LGol +KYyrE2iaJo8SLaw2I5mRf18iPvNso6Fb+mTa3YCBj402W+ePCg+Ex2r79G1NP87/ +9B7CYteV56/0V8K45LrSGB8sR+9ruH/jkk1tsoZw/v1UQg6Iz5wCfaURcu9uYwWB +GgD8y7eRrzx8U9p6VNg7mOfevB4Qe/tgieZAE9ra19Z89mG5gjMcxmIGbq5cmasd +RKcQfgNR3VmXCtqryIUoveBdEl2qAjwdpg5uQxi2rE5/80ovZ4TcfAzAn78CAwEA +AQKCAgAZRMBgR4Di5r9letlFVJTtrz4M4a0LwsHqZDMHXCEUZgBgt1JPYrgRLOAv +WiRUHtjiY5HoPl4l5gL94xk7xDKbB69GQyTQKPbUNjvEUbllTyeXRAVzj7od/3HY +tg0G9aTdU9S6+/iUEe4QgVCsmHLQspzmJIufASP5GM/UVBbiSitEBeo44SpyoGEe +/wQTIP83gLsUJeYntV5NzlAiqlBuzk3noY9gnoJZ0zYcrFVrc8j4keKg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Bix/tM5aSIcvb +G4I/tnbAb23NFmgLNxsUEg5zE0NklQx6ogt+OdEHmjTbDFCAnPFYEZ3Romc= +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/revoked.crt b/tests/certs/revoked.crt new file mode 100644 index 0000000..6884513 --- /dev/null +++ b/tests/certs/revoked.crt @@ -0,0 +1,41 @@ +-----BEGIN CERTIFICATE----- +MIIHOTCCBSGgAwIBAgICESUwDQYJKoZIhvcNAQEFBQAwgZkxCzAJBgNVBAYTAlVT +MQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU2FuIEpvc2UxIDAeBgNVBAoMF1dnZXQg +VGVzdGluZyBEZXBhcnRtZW50MRAwDgYDVQQLDAdUZXN0aW5nMRQwEgYDVQQDDAtX +Z2V0VGVzdGluZzEgMB4GCSqGSIb3DQEJARYRYnVncy13Z2V0QGdudS5vcmcwHhcN +MTcwNTA5MjIzMDE5WhcNMTkwNTA5MjIzMDE5WjBiMRowGAYDVQQDDBFXZ2V0VGVz +dGluZ1NlcnZlcjELMAkGA1UECAwCQ0ExCzAJBgNVBAYTAlVTMRswGQYJKoZIhvcN +AQkBFgxzZXJ2ZXJ0ZXN0ZXIxDTALBgNVBAoMBFNlcnYwggIiMA0GCSqGSIb3DQEB +AQUAA4ICDwAwggIKAoICAQDOQ+DNimL/GtTaZZotU21lLk4tZnbLrgJkBjlIWQvU +N91vhjrQqJDK7pwojk5kKZ4RL+ZBPdd0dYgXMNaDflv9mlwlzTIwy0nveY7/APML +R4p+PtbmKVP3YXe8kLmgkJklWntu6iCVhESO8PJ/It2KUS6bgr/M2zXN6HiPlgns +IyH1Mo+Nxtvs7Hz+Qc+37rctmgtSR25qfQtqK4MmzeAGcMIG3JRlVT6B1cjlOmIJ +23+KCd24tng3+G0+4u1FnIQS0Z25yrPWSvRSZJE678zQDDxzd6gGsuQbG/fniTIt +Csj/9SV+6C12ZIl/j5snzdNJtb72s5BlcTVIiTXXwOxx+1/IKvTRCpGUDF+7jLHF +68jIIzbP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pw2A/D+CbPECaPEWGXII8dh9WlomxpjpZABZ/cmeG2SM7BxVwjIjACscXogJ +A/Gm7I0hhvYSZ/G+kFbYbSf/Pj7Rz/4KW6WSwwQK23ab00MXBM6jWEueAeWebzeW +rzWgyyy+GiqgLqQAKQrYtD51uF5Co+S0e2wazORLakvdF/USCBQwX+Pla09Wyf+b +0HBqNjuxQc278/69Xp0mg8k67oUrWt3zgJ8kDhNIGvLnCB+0595G/z+7+mxdEztc +BavKAMEDWTSCClwxO6lBQR7+oiNWdaaqHP1SS8sckjtt2jTbmjmRzWWkU+xSIlt2 +waIXS/BYRbyhLuWfxivvRjS7eQogeSP0rtZj/upBwM4xKVPF0bal/LMyEfrY3qV5 +8YXXFhnoVr7q3t0YaioIZXY35QcA5aR+P4XyLnzCTVuKUi172BS8KJBXMijEXxta +rRQxtHLQeYB5eP/MaC2qMJH/OMR3A9Z7sXYbp/YuE+V/MxcGwAoHWKxMeKtdF420 +HGeKfzMla6uJQk26VEFAt+TYV2KUriPWyL/IPDzAjrSPMF9ZDIMhqELjFYCRGPwc +X6txpIEgZCGdJWK0H3et8ZSe469AED6oqTfn44w= +-----END CERTIFICATE----- diff --git a/tests/certs/revoked.key b/tests/certs/revoked.key new file mode 100644 index 0000000..2f41605 --- /dev/null +++ b/tests/certs/revoked.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJJwIBAAKCAgEAzkPgzYpi/xrU2mWaLVNtZS5OLWZ2y64CZAY5SFkL1Dfdb4Y6 +0KiQyu6cKI5OZCmeES/mQT3XdHWIFzDWg35b/ZpcJc0yMMtJ73mO/wDzC0eKfj7W +5ilT92F3vJC5oJCZJVp7buoglYREjvDyfyLdilEum4K/zNs1zeh4j5YJ7CMh9TKP +jcbb7Ox8/kHPt+63LZoLUkduan0LaiuDJs3gBnDCBtyUZVU+gdXI5TpiCdt/ignd +uLZ4N/htPuLtRZyEEtGducqz1kr0UmSROu/M0Aw8c3eoBrLkGxv354kyLQrI//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n2QNPM5soMs +bTApAoIBAAZnMaxphWdNX1uvLsrbxx7Y2n7l5FNHxfy0CRLx0iu21dGL2A+omR1E +1JGNXVDYLeiLumW6mp8MtNWIjMVeUIDUMPdqhjMlbj8U0fxrEEg6KRc3/moomHqP +5LVYBXov/n+6s2q9hJ2WPLTd+FH2+SZxMsMt2Hqp4sqT6L7hsnTh6l9NNl4zmZxV +MeslMZHzMCRf0Ic/TS3ub4gKsjBmdOXEDsx0264NWVNOiJJV6tQVlbENXU7a2lCk +G4gu4xVNggtFnqRcdl6iJb1KzpvHzd6eg1cqZ53QiJhtNnbudMU8UiJnArAvTUQt +cmYXKUSMp0TWMs8ItlG74udmPKjeL60CggEAdUp2FbZZEB3/G8tR7Z5slF925zXK +N8ku/qOUEk3d76kcqYi9XJLmyJAXu9PhQnsN8DpfThOqJUXCh9xtk+1AiHTdXk8m +BP7RE2oI2aoT9lO0ozwFJBFRRCkd6zTtYJYUbwIk1nayro83xl/AQPF2wRm5unKU +xl5KJ8I2GCUw4Bh5Gjwk21y6XpPsjO8tfbO5jrAIQVTqab3hAcBouwQNsxNpunJm +BaP+XYTBNM+HVamwLwDQgtVxPb8WUX8TSTuFv99jpWBYhlhq/OUcbo8f1D7miIFt +b6UYNl1ofvBtqjlNz3NKJ+S57AN+jcdQfOG8xAiKPWCj1QnVc3aJdr+8bQ== +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/revokedcrl.pem b/tests/certs/revokedcrl.pem new file mode 100644 index 0000000..f863d66 --- /dev/null +++ b/tests/certs/revokedcrl.pem @@ -0,0 +1,19 @@ +-----BEGIN X509 CRL----- +MIIDCjCB8wIBATANBgkqhkiG9w0BAQUFADCBmTELMAkGA1UEBhMCVVMxCzAJBgNV +BAgMAkNBMREwDwYDVQQHDAhTYW4gSm9zZTEgMB4GA1UECgwXV2dldCBUZXN0aW5n +IERlcGFydG1lbnQxEDAOBgNVBAsMB1Rlc3RpbmcxFDASBgNVBAMMC1dnZXRUZXN0 +aW5nMSAwHgYJKoZIhvcNAQkBFhFidWdzLXdnZXRAZ251Lm9yZxcNMTcwNTA5MjIz +MjEyWhcNMTkwNTA5MjIzMjEyWjAVMBMCAhElFw0xNzA1MDkyMjMxMDBaoA4wDDAK +BgNVHRQEAwIBADANBgkqhkiG9w0BAQUFAAOCAgEADReMcnUQbWyXE1xYcPHlSAfh +bBBY2w7e/CUeuCXaalaM9cfdMz0trR+JApdoBg/g+UV/+q8xYXEeQM7wKXOXOax4 +tYpS3+EdCpm1r+e4hhuGBMp01qtoJD8v5y3a77ujXWldgCEJHz05qjtpBkya775V +w1UzLsbh6DVgrwSEOgMJHYfgJHuPwfD4PpCTSbAUSwNrHXIbDG6zPVyoBpl8WRCc +4uDWVeh2+N0fmTucbm3x1dBnOol1JXI7LvnVDr+mtQVcHLD9OknNylmLOiuMrpmc +9PENMdbgRKA4kkHcV9lg37elYubaIBA48Vkssnr90wU6nITLabojWYNEspjqQejG +QOE78ASG0bS8O4vKxCVx4pX/ZQwcO9BeCnuIOsTlV2KUYiCA6yxNPkPoBjpdfOAB +j3hu+Jk3S0aX6At1AHDvmtWErEnH4B0gGopt8VJL1ZBEglb9rUIg5OlbTr+x5vIX +7FVuxhZYSxl1AYGqajmcLIwvucidaIlwtgFGeZR8GZ0y3aFdIoKO8V+wyNEPjI5I +i9tvavJ23nlYFTQJwNgESIR0voipoiiYeSa8cED28rHfkQvnY2iNsCO+ztxZvC70 +4K0CAIbfhYx1eeIakeFFHdIGPSXf+oFGomij0yt3bZC2h4sFhsr7sYUIMb5KlSSW +mZ3uHBLaS0xQ9p1vSRo= +-----END X509 CRL----- diff --git a/tests/certs/rootca.conf b/tests/certs/rootca.conf new file mode 100644 index 0000000..fd63a44 --- /dev/null +++ b/tests/certs/rootca.conf @@ -0,0 +1,64 @@ +[ ca ] +default_ca = myca + +[ crl_ext ] +issuerAltName=issuer:copy +authorityKeyIdentifier=keyid:always + + [ myca ] + dir = /usr/oms/src/wget1.x/tests/certs + new_certs_dir = ./ + unique_subject = no + certificate = $dir/test-ca-cert.pem + database = certindex + private_key = $dir/test-ca-key.pem + serial = certserial + default_days = 730 + default_md = sha1 + policy = myca_policy + x509_extensions = myca_extensions + crlnumber = crlnumber + default_crl_days = 730 + + [ myca_policy ] + commonName = supplied + stateOrProvinceName = supplied + countryName = optional + emailAddress = optional + organizationName = supplied + organizationalUnitName = optional + + [ myca_extensions ] + basicConstraints = critical,CA:TRUE + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment,cRLSign,keyCertSign + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [ v3_ca ] + basicConstraints = critical,CA:TRUE,pathlen:0 + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment,cRLSign,keyCertSign + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [alt_names] + DNS.0 = WgetTestingServer + + [crl_section] + URI.0 = http://test.wgettest.org/Bogus.crl + URI.1 = http://test.wgettest.org/Bogus.crl + + [ocsp_section] + caIssuers;URI.0 = http://test.wgettest.com/Bogus.crt + caIssuers;URI.1 = http://test.wgettest.com/Bogus.crt + OCSP;URI.0 = http://test.wgettest.com/ocsp/ + OCSP;URI.1 = http://test.wgettest.com/ocsp/ diff --git a/tests/certs/rootca.conf.in b/tests/certs/rootca.conf.in new file mode 100644 index 0000000..ab6e8af --- /dev/null +++ b/tests/certs/rootca.conf.in @@ -0,0 +1,64 @@ +[ ca ] +default_ca = myca + +[ crl_ext ] +issuerAltName=issuer:copy +authorityKeyIdentifier=keyid:always + + [ myca ] + dir = @abs_srcdir@ + new_certs_dir = ./ + unique_subject = no + certificate = $dir/test-ca-cert.pem + database = certindex + private_key = $dir/test-ca-key.pem + serial = certserial + default_days = 730 + default_md = sha1 + policy = myca_policy + x509_extensions = myca_extensions + crlnumber = crlnumber + default_crl_days = 730 + + [ myca_policy ] + commonName = supplied + stateOrProvinceName = supplied + countryName = optional + emailAddress = optional + organizationName = supplied + organizationalUnitName = optional + + [ myca_extensions ] + basicConstraints = critical,CA:TRUE + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment,cRLSign,keyCertSign + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [ v3_ca ] + basicConstraints = critical,CA:TRUE,pathlen:0 + keyUsage = critical,any + subjectKeyIdentifier = hash + authorityKeyIdentifier = keyid:always,issuer + keyUsage = digitalSignature,keyEncipherment,cRLSign,keyCertSign + extendedKeyUsage = serverAuth + crlDistributionPoints = @crl_section + subjectAltName = @alt_names + authorityInfoAccess = @ocsp_section + + [alt_names] + DNS.0 = WgetTestingServer + + [crl_section] + URI.0 = http://test.wgettest.org/Bogus.crl + URI.1 = http://test.wgettest.org/Bogus.crl + + [ocsp_section] + caIssuers;URI.0 = http://test.wgettest.com/Bogus.crt + caIssuers;URI.1 = http://test.wgettest.com/Bogus.crt + OCSP;URI.0 = http://test.wgettest.com/ocsp/ + OCSP;URI.1 = http://test.wgettest.com/ocsp/ diff --git a/tests/certs/selfsigned.crt b/tests/certs/selfsigned.crt new file mode 100644 index 0000000..41e24e9 --- /dev/null +++ b/tests/certs/selfsigned.crt @@ -0,0 +1,33 @@ +-----BEGIN CERTIFICATE----- +MIIFtzCCA5+gAwIBAgIJANAKYgHn6Nk9MA0GCSqGSIb3DQEBCwUAMHIxCzAJBgNV +BAYTAlVTMQswCQYDVQQIDAJDQTEVMBMGA1UEBwwMTXlzdGVyeSBTcG90MQwwCgYD +VQQKDANEaXMxGjAYBgNVBAMMEVdnZXRUZXN0aW5nU2VydmVyMRUwEwYJKoZIhvcN +AQkBFgZ0ZXN0ZXIwHhcNMTcwNTA5Mj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GRKLYCQ +W+pdPOF0ojwrufYNbF2qryjJU7OzT7HbdrQOFZ+vcegi5rpZXOsFENTh0gdbI+M3 +FwxDIdyF7CvaRS1uMoTboqaqAzTy+gVVW/6d+UdOdHhJTpduhtQi3gtNvqzdkUpl +01rX+Da6/jy4kPZfJap3mFPQLVvqVmcvJEcgHVOyB5/23RWS6TSEX35O3De9pnha +XLqliFBQ/Sqj/2vZmkHBEXdNRfwfw1dHIcxmg25YTb6tyvrKURpXN6suDJEO+M6h +9IVRv9qCNtvVHpo/xUxwjf7ZBHnGdcGl8AaAoIhRF7JTTGoRX7VAR+DLa5jHMAE2 +BmXzt+HHPMXZiQtzcUUcWc7+a740F8kM03CUMcz8sB4xzovGsZTLJ64afRFP1yaf ++1H7efbrogVjtpGzreWhJ8I5UXO/AoMjwUgyjjHb51KVRn6VrQfDHtw/hrIZVryI +y8wOH0qzMK2JhB2oh1JvmjhtGxkWlqDztttfglYJENuMf8m/DxsmkSPksSnm8GkA +El/GdocnZhl8vl8PcqzJ0nNn6EOTiZe+urGxG0r50ckVD+km/J7b56i+Gow46UH3 +Kkp69X9FHDfh3akaeU5chRfH99A/ehtdalD/W5Dy/hA9giA19foPUo6wKBE5unqz +bfjzK+eNfIkER5JDL6hZQICdjiqa2+IzUnG8 +-----END CERTIFICATE----- diff --git a/tests/certs/selfsigned.key b/tests/certs/selfsigned.key new file mode 100644 index 0000000..d6d4a59 --- /dev/null +++ b/tests/certs/selfsigned.key @@ -0,0 +1,52 @@ +-----BEGIN PRIVATE KEY----- +MIIJQgIBADANBgkqhkiG9w0BAQEFAASCCSwwggkoAgEAAoICAQDZlztm2yg+uWdA +tN8xOt+4fuCEvo6s1U8AakdDg3510nCQXnaVBdt6j0k77T0cXuxUWfFMbb7Qt33y +Ry9jdiVyjVLGXXwF2PO/Xewgm2CHsfK5EnpHKrYtkZYso8FoarUbZsE7idSawkuO +P/UqorGOTfyIndJ/TaeHwyFEavw4cVJMx/2k8pbqGJtduwxRXJDa7ZFR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PIybdJaoPLXej8b3gHpWuM0A4RuQgT4cVmYy4lL +8WXj0e/B7J4tl+S54MNpurhGJ1e30dhDqWtjIXECggEBAKVMNtB2swAQGY/9ntHi +XUf0pKc8njdIIzkqdyxKepVIH3JoMhh7Nz0gp8Er0PYb4bznwt2d+ty3gar66zqI ++bhZ2eF5V8ABUJkfcnLSV1Nv8+eoJ+ln2k38nscrEXqrVlEtEDjtm6JBAZirvw5S +MWltvLozOuZNubGPeiliV3mUtddU6TjS0Uv9Tv9hL50athQ5yk0K2X15Gt6jg4z5 +v0kNdYrNAQPLySP5WJdswkSYjWDNxi0uAdOdMrUHgU73ebizjB95OcxHpYNN37UF +rZgKI0bcEM+qy6JzD4cILPu84XMqS95xGIX/2d9bEFvvdwbPFoz2CafurzB8bV4V +uSkCggEAQRL390lx9uI4csLTTCUSa3Fl4BVPseqKlyadoxyzTMDyxAPxktw0vzht +OyQdLssTVjL/0cHEBMnDawddk5L+1UF7izwhZinVtTGDvn5TC2elk+bJ1aWMQ5qg +yUPdFbeLypmRlDUU8lJxppHcmrMY7/eAmOYAJTXn7Ygk030S6Hv1npSCtpyT1Stv +CMtiE8bDaTv7qN2RJjPcvZ9xMB9GFcIdVpw8pf5jXQeci6kOR1FPW1j9DOSMAdf4 +0xPly00agfZxG/kkmL2rBrTGOJLYI8tgGpjPciJaSJ4NArFzxJbDG1DFw6GNKzBU +qNaPYEH/kYsrfWzp/w1WMUpPdbl5iQ== +-----END PRIVATE KEY----- diff --git a/tests/certs/server.crt b/tests/certs/server.crt new file mode 100644 index 0000000..0d6d155 --- /dev/null +++ b/tests/certs/server.crt @@ -0,0 +1,28 @@ +-----BEGIN CERTIFICATE----- +MIIEsTCCApkCCQCFKV9Q4gGmRjANBgkqhkiG9w0BAQsFADCBmTELMAkGA1UEBhMC +VVMxCzAJBgNVBAgMAkNBMREwDwYDVQQHDAhTYW4gSm9zZTEgMB4GA1UECgwXV2dl +dCBUZXN0aW5nIERlcGFydG1lbnQxEDAOBgNVB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Vn7ca3UZZ +iQBOTfVKMRVUthHo2ntRs/jE5qhPYXA1km5rvUE2+sSIUdoqol4JTshK6bzt6VN9 +1bDKkmJa5IqcXEjcXADEJA62Zcr+I/8D1KxVf/CAPvtT1z4EqCWOeKk1uMjURZVR +BbFmjJ76LZ65YFTAJBm0EdVG917Yd9jsC8zCT/Lb+LFLuecXpBBp9tCcdp9z1MX+ +Pw4Co54keMBWXQeOnrtg8haGTXSwTOOp0F5wmWdUKjiwjhxanTgJZMZTjfcMLcNS +1GIhFt7sIEnc/PkX6vBOIeyFBppw9So+YYJE2MOsKaUvi+IX5XJXZf8R73k1+e0d +V8sKjQoYVDwavJSeOx19nJVKQa8fEvv5t5tPES3UlZ1FWAdKVEpDECiEKyQEfkmK +jQ9qZJU= +-----END CERTIFICATE----- diff --git a/tests/certs/server.key b/tests/certs/server.key new file mode 100644 index 0000000..8f75db4 --- /dev/null +++ b/tests/certs/server.key @@ -0,0 +1,27 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIEogIBAAKCAQEA1cY1LOhp5NfcHfjGqIq5VdzZjMv9BAV7GP53InlfDAMXjbSA +S/7MWPLxj3CIZniuAfMXZO+I0KgDLue2WW0D0BvjWOQKKTBtn1HzWqy+bFzgddE2 +CIpp00hvsFg2HoeWMmM5JyWRsX8vKkm10XmDtvpCuicwT9S4MhgtBXvrl6ZmH7aH +8Eku1NdT7yf3zmAL7/13DrxaMudaT1ETMdhk8VThQYpsLH6Hsz9xUTm4haMMLdSr +3eMLB5knxQVuYCfCURHx9dITPLZIrnKqVG76y3xp7nBlACBdJ4cXSNn+VSBkGWrZ +Cep/NWUN3boJcxr/Y4tmj2pQihL9zTLmouCFNQIDAQABAoIBAEXCOlP/O58Lua6m +Id2Z90THns5NOrF3QGY1k5bSWGvJDoSVZFBoQzK7hIw0Qq59rvq/4uBzMgg062UB +BAZGhroAf73gHFi4ju0whuMN/83IuQ55SNKcqE/kEV5QSsjHogGrU1ks71AmmrOH +/ibvKkYpgGDSrPd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-----END RSA PRIVATE KEY----- diff --git a/tests/certs/test-ca-cert.pem b/tests/certs/test-ca-cert.pem new file mode 100644 index 0000000..c399954 --- /dev/null +++ b/tests/certs/test-ca-cert.pem @@ -0,0 +1,35 @@ +-----BEGIN CERTIFICATE----- +MIIGBzCCA++gAwIBAgIJAJlGYwAp0+gKMA0GCSqGSIb3DQEBCwUAMIGZMQswCQYD +VQQGEwJVUzELMAkGA1UECAwCQ0ExETAPBgNVBAcMCFNhbiBKb3NlMSAwHgYDVQQK +DBdXZ2V0IFRlc3RpbmcgRGVwYXJ0bWVudDEQMA4GA1UECwwHVGVzdGluZzEUMBIG +A1UEAwwLV2dldFRlc3RpbmcxIDAeBgkqhkiG9w0BCQEWEWJ1Z3Mtd2dldEBnbnUu +b3JnMB4XDTE3MDQwNjIxMDEyOFoXDTE4MDQwNjIxMDEyOFowgZkxCzAJBgNVBAYT +AlVTMQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU2FuIEpvc2UxIDAeBgNVBAoMF1dn +ZXQgVGVzdGluZyBEZXBhcnRtZW50MRAwDgYDVQQLDAdUZXN0aW5nMRQwEgYDVQQD +DAtXZ2V0VGVzdGluZzEgMB4GCSqGSIb3DQEJARYRYnVncy13Z2V0QGdudS5vcmcw +ggIiMA0GCSqGSIb3DQEBAQUAA4ICDwAwggIKAoICAQCvHmnQlY58T/PcZeR3ntBp +6YYELxmYTjrdiHLpa1HvDDkwYyVCaWxhi8R5mP/cUt7aZ0BrNMCVTy5/cEzl/w9R +VqERKDB68ZU0ku2A4YmDFenlyyUuVZhn5reovUUlhWo8p+Ir+1vwGyDPM/IQKaUJ +6tfDWVD7fgVzfpvDm8XDqKB6BvzLPk3n3K9mndv2KihTUnnJFMZOkSYaFStQ11Rz +YwR7ZvAuISB99WZf2hzaYiovB9G0WMky81vpmvjbKWVYLlpV5Inzq2QiG4tFBEP+ +ebLc1H9PGd7vrgGE2cn78g1XXpR8nPUDYF4UGFs90ftPqNDHcHFENB7DrpB7wRIa +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dT/M4ILYV52Wf2AYy9NTYJxiB0V +LwVGbG5plMbJiBFDOZcram4pQrG6k21t2Xv2lkVf1AvOlx4qKfUN04TGWXwu5dAP +pnv5yEwOelBLq7Q= +-----END CERTIFICATE----- diff --git a/tests/certs/test-ca-key.pem b/tests/certs/test-ca-key.pem new file mode 100644 index 0000000..bc4afb5 --- /dev/null +++ b/tests/certs/test-ca-key.pem @@ -0,0 +1,58 @@ +!!!!!DO NOT USE THIS KEY FOR ANYTHING !!!!!!! +!!!!THIS FILE IS FOR TESTING WGET ONLY!!!!!! + +-----BEGIN RSA PRIVATE KEY----- +MIIJKgIBAAKCAgEArx5p0JWOfE/z3GXkd57QaemGBC8ZmE463Yhy6WtR7ww5MGMl +QmlsYYvEeZj/3FLe2mdAazTAlU8uf3BM5f8PUVahESgwevGVNJLtgOGJgxXp5csl +LlWYZ+a3qL1FJYVqPKfiK/tb8BsgzzPyECmlCerXw1lQ+34Fc36bw5vFw6igegb8 +yz5N59yvZp3b9iooU1J5yRTGTpEmGhUrUNdUc2MEe2bwLiEgffVmX9oc2mIqLwfR +tFjJMvNb6Zr42yllWC5aVeSJ86tkIhuLRQRD/nmy3NR/Txne764BhNnJ+/INV16U +fJz1A2BeFBhbPdH7T6jQx3BxRDQew66Qe8ESGuWa6SsjWwhiCl/lJ1UeUWt9pjDN +qT4kfeWQzZKnbMoC7hwLMmmo9fsL65jPNR9iclf5FXBap39/gtWl9vobuTi+6yLJ +BGBvB4FsFsRNDVu0PM06wUew/d9oTP+3/GKI8UnqiT+76RlC3lcyRdAk5LKFofg9 +bPkNm/dw6aDFtfFTE4oNjRXrUK9w3SZsknne2oOveKoGOYg79T/wlgUo++Uwwa8N +yYujycVhEvqMdvX68awlrQIxMFSOcyeaiGVuZ/gWIq/7VZaDJGEpnm8vXkpkyxhD +Wa3qQcLqHKbydckEaLHc2BuNjI3yNiYZUxVr8MHRgrBarEXLHz0yarvNNUECAwEA +AQKCAgEApUnNkoU3QfqtMCA0bvvFt9IlH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kCdaI+lxNVdxs4MpACHYRAhHwVvAujz5JcgiMjSRC +IK/JGu9uVkSriA/YJxmmMPvTYI1bmT1lT99HUqhzM5COuSFJh9D8cfpHJSUC+6rF +1U/YcdcrZAMl3UH30XdsJLc6l3L/0gyseohwWT76dSqqOOathvNM5PsE8jNzPEo7 +VUdfrrDpEw0dPjk4IF8cpC389H1j8lnwxkWQtHHhXZTXHJlC9xYPa3PRsRn18pJy +vxz9r76vJ3YJiQTxv8MKw/AaQrNDZng0Ff5kqQAqc/q/CvHdb2pur8NTsS/09w== +-----END RSA PRIVATE KEY----- +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! +!!!!!DO NOT USE THIS KEY FOR ANYTHING !!!!!!! +!!!!THIS FILE IS FOR TESTING WGET ONLY!!!!!! diff --git a/tests/certs/user.crt b/tests/certs/user.crt new file mode 100644 index 0000000..f1a6d8c --- /dev/null +++ b/tests/certs/user.crt @@ -0,0 +1,148 @@ +Certificate: + Data: + Version: 3 (0x2) + Serial Number: 4388 (0x1124) + Signature Algorithm: sha1WithRSAEncryption + Issuer: CN=ica-wgetTestingServer, ST=CA, C=US/emailAddress=icatester, O=Int + Validity + Not Before: May 9 21:30:44 2017 GMT + Not After : May 9 21:30:44 2019 GMT + Subject: CN=WgetTestingServer, ST=CA, C=US/emailAddress=usertester, O=Int + Subject Public Key Info: + Public Key Algorithm: rsaEncryption + Public-Key: (4096 bit) + Modulus: + 00:b9:ed:5a:89:c5:8e:20:a2:8d:c6:ee:0c:62:f6: + 9a:65:4d:da:3a:04:27:b8:23:cf:8c:1a:5f:1c:79: + 09:1a:e5:eb:57:82:f3:48:66:b2:74:bb:95:a4:00: + 87:5a:27:88:57:7e:ee:80:87:ec:d2:ca:89:86:53: + 0d:79:f6:9c:66:e0:19:ad:78:61:8b:20:9b:3e:da: + b4:42:3b:bd:b8:62:f1:0e:40:26:73:f2:e5:eb:6e: + 89:de:d7:26:63:11:cf:bc:30:8a:7d:ea:e1:a1:9c: + 9e:bc:e8:5c:8a:50:7f:c8:cf:8c:8c:09:e2:ae:1b: + 3f:18:1d:54:7e:6a:a8:ed:a9:04:9e:fc:fc:48:47: + a7:d5:a3:de:f3:ac:63:4f:40:ee:27:de:02:0d:f8: + 6c:fb:98:dc:73:f1:c6:bc:48:7f:fb:f4:3c:8f:7a: + 57:7d:ac:76:51:d7:8a:c7:7b:81:65:37:ed:cb:99: + f2:c8:6b:8d:88:10:9f:ea:e1:23:58:14:40:0a:bf: + 67:f7:8b:e9:cf:56:dd:f8:5c:2e:35:86:a7:fb:20: + e0:8f:3c:bb:20:f6:c3:c3:e9:9d:91:67:15:65:50: + ba:d9:6a:75:1e:93:a2:cd:66:ed:d0:58:bf:bd:1a: + 7f:ed:de:25:ff:03:fa:82:ab:41:52:34:8c:3d:6b: + ae:9b:6a:3e:05:2b:3f:87:88:0d:8c:a4:04:0a:cc: + b1:f6:0c:02:3b:0c:98:47:6c:1f:a4:0e:d3:ce:ef: + 5f:e8:e0:23:64:84:04:64:ad:d0:18:44:b0:93:7c: + 43:f5:5a:2f:8d:d6:43:ed:fa:a1:e8:da:42:e2:cb: + 56:c5:28:e7:c6:1c:b0:04:3b:23:57:76:7d:20:b4: + 30:b1:9c:69:54:7c:45:db:1b:7f:8e:83:a9:89:7c: + 59:32:30:9b:70:7e:bc:b3:33:96:89:33:c9:6c:fe: + 79:b9:06:ed:6b:e5:70:65:9f:ad:35:e0:13:0c:27: + 17:4b:70:67:e3:95:f3:a0:90:b6:fb:06:4a:33:21: + 4f:7b:c4:ba:a2:b3:47:bd:cb:3d:88:3e:46:31:27: + e3:83:f8:8f:25:54:83:a9:63:a3:1b:33:82:7c:ea: + 78:2d:60:10:fe:54:a8:d5:cf:a1:c4:e6:8b:0e:a5: + 98:5d:f7:1d:6c:36:35:58:72:9a:81:06:a7:ed:7d: + 3a:ae:99:62:4f:af:d2:88:c9:ad:32:b0:55:aa:ce: + ee:0e:5d:70:2a:84:a8:ef:66:a5:a4:3c:c4:f1:96: + e7:e4:05:7c:8d:c1:a5:ac:7f:54:3c:bd:b3:7e:1d: + 31:ad:d5:c2:73:60:db:23:c6:29:9b:d3:f9:4f:d6: + 7d:f7:ed + Exponent: 65537 (0x10001) + X509v3 extensions: + X509v3 Basic Constraints: critical + CA:TRUE + X509v3 Subject Key Identifier: + 6F:00:AE:EF:A0:15:4C:5C:1E:A7:B4:6C:8F:5F:1F:DD:EE:C6:6C:11 + X509v3 Authority Key Identifier: + keyid:24:D0:7C:F3:88:2A:73:FF:87:A0:CB:69:E0:6B:2E:16:BD:4E:D5:E6 + + X509v3 Key Usage: + Digital Signature, Key Encipherment + X509v3 Extended Key Usage: + TLS Web Server Authentication + X509v3 CRL Distribution Points: + + Full Name: + URI:http://intertest.wgettest.org/Bogus.crl + + Full Name: + URI:http://intertest.wgettest.org/Bogus.crl + + X509v3 Subject Alternative Name: + DNS:WgetTestingServer + Authority Information Access: + CA Issuers - URI:http://intertest.wgettest.com/Bogus.crt + CA Issuers - URI:http://intertest.wgettest.com/Bogus.crt + OCSP - URI:http://intertest.wgettest.com/ocsp/ + OCSP - URI:http://intertest.wgettest.com/ocsp/ + + Signature Algorithm: sha1WithRSAEncryption + 4b:e0:19:75:65:2d:0c:fe:d4:b6:3d:a1:02:8f:3d:89:a6:6b: + 12:c6:ee:e3:79:a0:b4:af:fa:15:97:be:35:f7:06:00:39:ba: + f9:30:e4:55:d9:98:fc:a5:b7:54:22:52:71:3a:35:d4:3b:9e: + 00:1e:5e:bb:8b:4f:21:bd:c7:df:7d:65:4c:cc:32:4e:ab:51: + 95:e2:59:b4:09:c2:78:8d:bf:ac:3b:d9:ca:9e:dc:39:ac:95: + d2:91:f9:28:31:cd:93:54:db:7a:f3:c8:a2:76:df:a0:b3:8a: + e1:00:31:a5:ba:f3:3e:3f:2e:b8:7b:cb:bb:a3:61:83:5f:6a: + ee:37:88:2f:89:a5:b6:79:ef:3c:c1:e7:cd:0b:5f:51:d4:de: + ab:85:97:f5:8c:8d:d6:59:1e:e6:db:a3:ab:1d:1d:5f:fd:ba: + 70:39:97:a1:0f:b4:6d:cc:1d:5d:49:41:9c:12:9e:b3:19:de: + 64:ab:83:2f:f3:bf:6f:26:14:e4:be:1a:50:9a:78:22:99:c0: + 39:35:ff:b1:45:ea:d3:8f:0d:ed:3d:c2:b0:77:71:26:12:4a: + f0:81:83:d7:c9:f2:0c:e8:c2:7b:9b:96:7b:06:ab:e5:ef:ac: + e6:34:58:ed:d3:9b:a3:b9:9e:7e:78:16:6e:ba:21:d3:48:01: + bc:3e:5f:6e:56:63:cc:4a:f4:e0:12:5e:8b:68:73:b7:3a:0e: + 1d:cd:44:15:6e:5c:f4:fd:8e:02:f2:a4:37:ce:08:da:5c:86: + 26:57:65:30:5a:13:29:08:ab:0f:f6:a6:ab:99:de:f0:c5:bf: + 15:a1:30:ea:23:ca:af:0a:8b:a4:58:8d:12:4f:52:27:fc:52: + dc:6d:9a:66:0f:43:c7:28:29:92:92:da:e7:9c:5c:fb:29:e6: + 31:06:81:a9:8c:51:86:d2:a2:08:bd:76:fb:61:4b:8e:49:48: + 9a:ca:a3:04:6c:dd:59:32:e1:41:f3:09:0b:9b:c0:60:64:34: + 87:21:cf:33:bf:17:14:c2:d5:05:0c:4d:21:8a:4d:5e:13:bf: + 32:c7:59:bb:48:de:82:15:8e:24:93:4c:c8:8e:e7:12:86:af: + 69:5c:5c:d8:a0:90:80:64:74:84:bb:ce:2e:e9:11:06:96:ed: + 52:3a:ba:1f:48:a2:13:14:d1:26:e8:a2:13:6d:2e:ec:ad:28: + f5:74:da:d7:7e:5e:eb:eb:4b:8d:3d:73:c1:ac:38:20:52:e6: + c5:72:fa:7e:e0:6c:fa:21:25:42:f8:fe:3a:1d:0a:4b:c1:ee: + 3b:36:61:b9:58:ec:09:4a:4d:4f:51:e5:7c:af:b4:1b:8d:28: + 45:e1:67:d1:2c:72:47:7d +-----BEGI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dNIAbw+X25WY8xK9OASXotoc7c6Dh3N +RBVuXPT9jgLypDfOCNpchiZXZTBaEykIqw/2pquZ3vDFvxWhMOojyq8Ki6RYjRJP +Uif8UtxtmmYPQ8coKZKS2uecXPsp5jEGgamMUYbSogi9dvthS45JSJrKowRs3Vky +4UHzCQubwGBkNIchzzO/FxTC1QUMTSGKTV4TvzLHWbtI3oIVjiSTTMiO5xKGr2lc +XNigkIBkdIS7zi7pEQaW7VI6uh9IohMU0SboohNtLuytKPV02td+XuvrS409c8Gs +OCBS5sVy+n7gbPohJUL4/jodCkvB7js2YblY7AlKTU9R5XyvtBuNKEXhZ9Esckd9 +-----END CERTIFICATE----- diff --git a/tests/certs/user.key b/tests/certs/user.key new file mode 100644 index 0000000..5980ffe --- /dev/null +++ b/tests/certs/user.key @@ -0,0 +1,51 @@ +-----BEGIN RSA PRIVATE KEY----- +MIIJKAIBAAKCAgEAue1aicWOIKKNxu4MYvaaZU3aOgQnuCPPjBpfHHkJGuXrV4Lz +SGaydLuVpACHWieIV37ugIfs0sqJhlMNefacZuAZrXhhiyCbPtq0Qju9uGLxDkAm +c/Ll626J3tcmYxHPvDCKferhoZyevOhcilB/yM+MjAnirhs/GB1Ufmqo7akEnvz8 +SEen1aPe86xjT0DuJ94CDfhs+5jcc/HGvEh/+/Q8j3pXfax2UdeKx3uBZTfty5ny +yGuNiBCf6uEjWBRACr9n94vpz1bd+FwuNYan+yDgjzy7IPbDw+mdkWcVZVC62Wp1 +HpOizWbt0Fi/vRp/7d4l/wP6gqtBUjSMPWuum2o+BSs/h4gNjKQECsyx9gwCOwyY +R2wfpA7Tzu9f6OAjZIQEZK3QGESwk3xD9VovjdZD7fqh6NpC4stWxSjnxhywBDsj +V3Z9ILQwsZxpVHxF2xt/joOpiXxZMjCbcH68szOWiTPJbP55uQbta+VwZZ+tNeAT +DCcXS3Bn45XzoJC2+wZKMyFPe8S6orNHvcs9iD5GMSfjg/iPJVSDqWOjGzOCfOp4 +LWAQ/lSo1c+h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DdrIbU6ZeBay +QSBRoXkWXuQ9L69IgLRtW+NGN6JnmUAOiS8Tgp7Pa58Rr7JwlaTf7wWHUK9IYqNT +oCggzAWMnAPYiaNbUWDB1VKMrsbBg5GXAoIBAHzDXgiVAXkvMKIrVk+QOj5/mV5s +bggtYtUCrs5bEBHdBvykPdMWjLiVpNhHniIXCp8jc1Cvc1gJiFTo2oJIVvPHVQvr +9xd0dEtcXYjusLrbzijd5KefelkQeZbo1EX3p4wFVOcYjuR4EHLHQN9xe5fb5Hne +e97CtK/P9SLKOF9Lwy3oqjZkRk1sgY9DWzYMNj/VHhCFbF1rodlQJx9ThBXYat9L +gOmUK1AJrCkQEPTbcL5GERL/pG821OeZ6hd94zBzk/gddU0Fgwp5E1IsIhxe1Wp5 +D+yzH9HJ7Hm0ileMcAi9dvvvGPV8CXIc/7rVtVwxmTKZBHiN3DpFOMgOFrE= +-----END RSA PRIVATE KEY----- diff --git a/tests/certs/wgethosts b/tests/certs/wgethosts new file mode 100644 index 0000000..04b5215 --- /dev/null +++ b/tests/certs/wgethosts @@ -0,0 +1 @@ +WgetTestingServer localhost diff --git a/tests/certs/wotca.pem b/tests/certs/wotca.pem new file mode 100644 index 0000000..a968cd0 --- /dev/null +++ b/tests/certs/wotca.pem @@ -0,0 +1,78 @@ +-----BEGIN CERTIFICATE----- +MIIHOTCCBSGgAwIBAgICESMwDQYJKoZIhvcNAQEFBQAwgZkxCzAJBgNVBAYTAlVT +MQswCQYDVQQIDAJDQTERMA8GA1UEBwwIU2FuIEpvc2UxIDAeBgNVBAoMF1dnZXQg +VGVzdGluZyBEZXBhcnRtZW50MRAwDgYDVQQLDAdUZXN0aW5nMRQwEgYDVQQDDAtX +Z2V0VGVzdGluZzEgMB4GCSqGSIb3DQEJARYRYnVncy13Z2V0QGdudS5vcmcwHhcN +MTcwNTA5MjEyNDMwWhcNMTkwNTA5MjEyNDMwWjBiMR4wHAYDVQQDDBVpY2Etd2dl +dFRlc3RpbmdTZXJ2ZXIxCzA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