mirror of
https://github.com/python/cpython.git
synced 2024-12-19 14:53:39 +08:00
bd5c7d238c
Add test certs and test for ECDSA cert and EC/RSA dual mode. I'm also adding certs for IDNA 2003/2008 tests and simplify some test data handling. Signed-off-by: Christian Heimes <christian@python.org>
133 lines
7.1 KiB
Plaintext
133 lines
7.1 KiB
Plaintext
-----BEGIN PRIVATE KEY-----
|
|
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDgV4G+Zzf2DT5n
|
|
oAisIGFhn/bz7Vn5WiXUqbDsxROJOh/7BtOlduZka0pPhFylGbnxS8l1kEWHRI2T
|
|
6hOoWzumB6ItKiN+T5J30lAvSyo7iwdFoAQ/S5nPXQfhNARQe/NEOhRtpcuNdyx4
|
|
BWdPdPuJQA1ASNJCLwcLOoRxaLbKLvb2V5T5FCAkeNPtRvPuT4gKQItMmiHfAhoV
|
|
C8MZWF/GC0RukHINys5MwqeFexam8CznmQPMYrLdhmKTj3DTivCPoh97EDIFGlgZ
|
|
SCaaYDVQA+aqlo/q2pi52PFwC1KzhNEA7EeOqSwC1NQjwjHuhcnf9WbxrgTq2zh3
|
|
rv5YEW2ZAgMBAAECggEAPfSMtTumPcJskIumuXp7yk02EyliZrWZqwBuBwVqHsS5
|
|
nkbFXnXWrLbgn9MrDsFrE5NdgKUmPnQVMVs8sIr5jyGejSCNCs4I4iRn1pfIgwcj
|
|
K/xEEALd6GGF0pDd/CgvB5GOoLVf4KKf2kmLvWrOKJpSzoUN5A8+v8AaYYOMr4sC
|
|
czbvfGomzEIewEG+Rw9zOVUDlmwyEKPQZ47E7PQ+EEA7oeFdR+1Zj6eT9ndegf8B
|
|
54frySYCLRUCk/sHCpWhaJBtBrcpht7Y8CfY7hiH/7x866fvuLnYPz4YALtUb0wN
|
|
7zUCNS9ol3n4LbjFFKfZtiRjKaCBRzMjK0rz6ydFcQKBgQDyLI3oGbnW73vqcDe/
|
|
6eR0w++fiCAVhfMs3AO/gOaJi2la2JHlJ5u+cIHQIOFwEhn6Zq0AtdmnFx1TS5IQ
|
|
C0MdXI0XoQQw7rEF8EJcvfe85Z0QxENVhzydtdb8QpJfnQGfBfLyQlaaRYzRRHB6
|
|
VdYUHF3EIPVIhbjbghal+Qep/QKBgQDtJlRPHkWwTMevu0J0fYbWN1ywtVTFUR//
|
|
k7VyORSf8yuuSnaQRop4cbcqONxmDKH6Or1fl3NYBsAxtXkkOK1E2OZNo2sfQdRa
|
|
wpA7o7mPHRhztQFpT5vflp+8P6+PEFat8D04eBOhNwrwwfhiPjD4gv5KvN4XutRW
|
|
VWv/2pnmzQKBgHPvHGg2mJ7quvm6ixXW1MWJX1eSBToIjCe3lBvDi5nhIaiZ8Q4w
|
|
7gA3QA3xD7tlDwauzLeAVxgEmsdbcCs6GQEfY3QiYy1Bt4FOSZa4YrcNfSmfq1Rw
|
|
j3Y4rRjKjeQz96i3YlzToT3tecJc7zPBj+DEy6au2H3Fdn+vQURneWHJAoGBANG7
|
|
XES8mRVaUh/wlM1BVsaNH8SIGfiHzqzRjV7/bGYpQTBbWpAuUrhCmaMVtpXqBjav
|
|
TFwGLVRkZAWSYRjPpy2ERenT5SE3rv61o6mbGrifGsj6A82HQmtzYsGx8SmtYXtj
|
|
REF0sKebbmmOooUAS379GrguYJzL9o6D7YfRZNrhAoGAVfb/tiFU4S67DSpYpQey
|
|
ULhgfsFpDByICY6Potsg67gVFf9jIaB83NPTx3u/r6sHFgxFw7lQsuZcgSuWMu7t
|
|
glzOXVIP11Y5sl5CJ5OsfeK1/0umMZF5MWPyAQCx/qrPlZL86vXjt24Y/VaOxsAi
|
|
CZYdyJsjgOrJrWoMbo5ta54=
|
|
-----END PRIVATE KEY-----
|
|
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number:
|
|
82:ed:bf:41:c8:80:91:9c
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
Issuer: C=XY, O=Python Software Foundation CA, CN=our-ca-server
|
|
Validity
|
|
Not Before: Jan 19 19:09:06 2018 GMT
|
|
Not After : Nov 28 19:09:06 2027 GMT
|
|
Subject: C=XY, L=Castle Anthrax, O=Python Software Foundation, CN=localhost
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (2048 bit)
|
|
Modulus:
|
|
00:e0:57:81:be:67:37:f6:0d:3e:67:a0:08:ac:20:
|
|
61:61:9f:f6:f3:ed:59:f9:5a:25:d4:a9:b0:ec:c5:
|
|
13:89:3a:1f:fb:06:d3:a5:76:e6:64:6b:4a:4f:84:
|
|
5c:a5:19:b9:f1:4b:c9:75:90:45:87:44:8d:93:ea:
|
|
13:a8:5b:3b:a6:07:a2:2d:2a:23:7e:4f:92:77:d2:
|
|
50:2f:4b:2a:3b:8b:07:45:a0:04:3f:4b:99:cf:5d:
|
|
07:e1:34:04:50:7b:f3:44:3a:14:6d:a5:cb:8d:77:
|
|
2c:78:05:67:4f:74:fb:89:40:0d:40:48:d2:42:2f:
|
|
07:0b:3a:84:71:68:b6:ca:2e:f6:f6:57:94:f9:14:
|
|
20:24:78:d3:ed:46:f3:ee:4f:88:0a:40:8b:4c:9a:
|
|
21:df:02:1a:15:0b:c3:19:58:5f:c6:0b:44:6e:90:
|
|
72:0d:ca:ce:4c:c2:a7:85:7b:16:a6:f0:2c:e7:99:
|
|
03:cc:62:b2:dd:86:62:93:8f:70:d3:8a:f0:8f:a2:
|
|
1f:7b:10:32:05:1a:58:19:48:26:9a:60:35:50:03:
|
|
e6:aa:96:8f:ea:da:98:b9:d8:f1:70:0b:52:b3:84:
|
|
d1:00:ec:47:8e:a9:2c:02:d4:d4:23:c2:31:ee:85:
|
|
c9:df:f5:66:f1:ae:04:ea:db:38:77:ae:fe:58:11:
|
|
6d:99
|
|
Exponent: 65537 (0x10001)
|
|
X509v3 extensions:
|
|
X509v3 Subject Alternative Name:
|
|
DNS:localhost
|
|
X509v3 Key Usage: critical
|
|
Digital Signature, Key Encipherment
|
|
X509v3 Extended Key Usage:
|
|
TLS Web Server Authentication, TLS Web Client Authentication
|
|
X509v3 Basic Constraints: critical
|
|
CA:FALSE
|
|
X509v3 Subject Key Identifier:
|
|
85:11:BE:16:47:04:D1:30:EE:86:8A:18:70:BE:A8:28:6F:82:3D:CE
|
|
X509v3 Authority Key Identifier:
|
|
keyid:9A:CF:CF:6E:EB:71:3D:DB:3C:F1:AE:88:6B:56:72:03:CB:08:A7:48
|
|
DirName:/C=XY/O=Python Software Foundation CA/CN=our-ca-server
|
|
serial:82:ED:BF:41:C8:80:91:9B
|
|
|
|
Authority Information Access:
|
|
CA Issuers - URI:http://testca.pythontest.net/testca/pycacert.cer
|
|
OCSP - URI:http://testca.pythontest.net/testca/ocsp/
|
|
|
|
X509v3 CRL Distribution Points:
|
|
|
|
Full Name:
|
|
URI:http://testca.pythontest.net/testca/revocation.crl
|
|
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
7f:a1:7e:3e:68:01:b0:32:b8:57:b8:03:68:13:13:b3:e3:f4:
|
|
70:2f:15:e5:0f:87:b9:fd:e0:12:e3:16:f2:91:53:c7:4e:25:
|
|
af:ca:cb:a7:d9:9d:57:4d:bf:a2:80:d4:78:aa:04:31:fd:6d:
|
|
cc:6d:82:43:e9:62:16:0d:0e:26:8b:e7:f1:3d:57:5c:68:02:
|
|
9c:2b:b6:c9:fd:62:2f:10:85:88:cc:44:a5:e7:a2:3e:89:f2:
|
|
1f:02:6a:3f:d0:3c:6c:24:2d:bc:51:62:7a:ec:25:c5:86:87:
|
|
77:35:8f:f9:7e:d0:17:3d:77:56:bf:1a:0c:be:09:78:ee:ea:
|
|
73:97:65:60:94:91:35:b3:5c:46:8a:5e:6d:94:52:de:48:b7:
|
|
1f:6c:28:79:7f:ff:08:8d:e4:7d:d0:b9:0b:7c:ae:c4:1d:2a:
|
|
a1:b3:50:11:82:03:5e:6c:e7:26:fa:05:32:39:07:83:49:b9:
|
|
a2:fa:04:da:0d:e5:ff:4c:db:97:d0:c3:a7:43:37:4c:16:de:
|
|
3c:b5:e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