mirror of
https://github.com/python/cpython.git
synced 2024-12-18 14:24:33 +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-----
|
|
MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDH/76hZAZH4cSV
|
|
CmVZa5HEqKCjCKrcPwBECs9BS+3ibwN4x9NnFNP+tCeFGgJXl7WGFoeXgg3oK+1p
|
|
FsOWpsRHuF3BdqkCnShSydmT8bLaGHwKeL0cPxJP5T/uW7ezPKW2VWXGMwmwRaRJ
|
|
9dj2VCUu20vDZWSGFr9zjnjoJczBtH3RsVUgpK7euEHuQ5pIM9QSOaCo+5FPR7s7
|
|
1nU7YqbFWtd+NhC8Og1G497B31DQlHciF6BRm6/cNGAmHaAErKUGBFdkGtFPHBn4
|
|
vktoEg9fwxJAZLvGpoTZWrB4HRsRwVTmFdGvK+JXK225xF23AXRXp/snhSuSFeLj
|
|
E5cpyJJ7AgMBAAECggEAQOv527X2e/sDr0XSpHZQuT/r9UBpBlnFIlFH+fBF5k0X
|
|
GWv0ae/O6U1dzs0kmX57xG0n0ry6+vTXeleTYiH8cTOd66EzN9AAOO+hG29IGZf9
|
|
HAEZkkO/FARc/mjzdtFnEYsjIHWM3ZWdwQx3Q28JKu6w51rQiN51g3NqOCGdF/uF
|
|
rE5XPKsKndn+nLHvsNuApFgUYZEwdrozgUueEgRaPTUCNhzotcA9eWoBdA24XNhk
|
|
x8Cm/bZWabXm7gBO75zl3Cu2F21ay+EuwyOZTsx6lZi6YX9/zo1mkO81Zi3tQk50
|
|
NMEI0feLNwsdxTbmOcVJadjOgd+QVghlFyr5HGBWMQKBgQD3AH3rhnAo6tOyNkGN
|
|
+IzIU1MhUS452O7IavykUYO9sM24BVChpRtlI9Dpev4yE/q3BAO3+oWT3cJrN7/3
|
|
iyo1dzAkpGvI65XWfElXFM4nLjEiZzx4W9fiPN91Oucpr0ED6+BZXTtz4gVm0TP/
|
|
TUc2xvTB6EKvIyWmKOYEi0snxQKBgQDPSOjbz9jWOrC9XY7PmtLB6QJDDz7XSGVK
|
|
wzD+gDAPpAwhk58BEokdOhBx2Lwl8zMJi0CRHgH2vNvkRyhvUQ4UFzisrqann/Tw
|
|
klp5sw3iWC6ERC8z9zL7GfHs7sK3mOVeAdK6ffowPM3JrZ2vPusVBdr0MN3oZwki
|
|
CtNXqbY1PwKBgGheQNbAW6wubX0kB9chavtKmhm937Z5v4vYCSC1gOEqUAKt3EAx
|
|
L74wwBmn6rjmUE382EVpCgBM99WuHONQXmlxD1qsTw763LlgkuzE0cckcYaD8L06
|
|
saHa7uDuHrcyYlpx1L5t8q0ol/e19i6uTKUMtGcq6OJwC3yGU4sgAIWxAoGBAMVq
|
|
qiQXm2vFL+jafxYoXUvDMJ1PmskMsTP4HOR2j8+FrOwZnVk3HxGP6HOVOPRn4JbZ
|
|
YiAT1Uj6a+7I+rCyINdvmlGUcTK6fFzW9oZryvBkjcD483/pkktmVWwTpa2YV/Ml
|
|
h16IdsyUTGYlDUYHhXtbPUJOfDpIT4F1j/0wrFGfAoGAO82BcUsehEUQE0xvQLIn
|
|
7QaFtUI5z19WW730jVuEobiYlh9Ka4DPbKMvka8MwyOxEwhk39gZQavmfG6+wZm+
|
|
kjERU23LhHziJGWS2Um4yIhC7myKbWaLzjHEq72dszLpQku4BzE5fT60fxI7cURD
|
|
WGm/Z3Q2weS3ZGIoMj1RNPI=
|
|
-----END PRIVATE KEY-----
|
|
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number:
|
|
82:ed:bf:41:c8:80:91:9d
|
|
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=fakehostname
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (2048 bit)
|
|
Modulus:
|
|
00:c7:ff:be:a1:64:06:47:e1:c4:95:0a:65:59:6b:
|
|
91:c4:a8:a0:a3:08:aa:dc:3f:00:44:0a:cf:41:4b:
|
|
ed:e2:6f:03:78:c7:d3:67:14:d3:fe:b4:27:85:1a:
|
|
02:57:97:b5:86:16:87:97:82:0d:e8:2b:ed:69:16:
|
|
c3:96:a6:c4:47:b8:5d:c1:76:a9:02:9d:28:52:c9:
|
|
d9:93:f1:b2:da:18:7c:0a:78:bd:1c:3f:12:4f:e5:
|
|
3f:ee:5b:b7:b3:3c:a5:b6:55:65:c6:33:09:b0:45:
|
|
a4:49:f5:d8:f6:54:25:2e:db:4b:c3:65:64:86:16:
|
|
bf:73:8e:78:e8:25:cc:c1:b4:7d:d1:b1:55:20:a4:
|
|
ae:de:b8:41:ee:43:9a:48:33:d4:12:39:a0:a8:fb:
|
|
91:4f:47:bb:3b:d6:75:3b:62:a6:c5:5a:d7:7e:36:
|
|
10:bc:3a:0d:46:e3:de:c1:df:50:d0:94:77:22:17:
|
|
a0:51:9b:af:dc:34:60:26:1d:a0:04:ac:a5:06:04:
|
|
57:64:1a:d1:4f:1c:19:f8:be:4b:68:12:0f:5f:c3:
|
|
12:40:64:bb:c6:a6:84:d9:5a:b0:78:1d:1b:11:c1:
|
|
54:e6:15:d1:af:2b:e2:57:2b:6d:b9:c4:5d:b7:01:
|
|
74:57:a7:fb:27:85:2b:92:15:e2:e3:13:97:29:c8:
|
|
92:7b
|
|
Exponent: 65537 (0x10001)
|
|
X509v3 extensions:
|
|
X509v3 Subject Alternative Name:
|
|
DNS:fakehostname
|
|
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:
|
|
F8:76:79:CB:11:85:F0:46:E5:95:E6:7E:69:CB:12:5E:4E:AA:EC:4D
|
|
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
|
|
6d:50:8d:fb:ee:4e:93:8b:eb:47:56:ba:38:cc:80:e1:9d:c7:
|
|
e1:9e:1f:9c:22:0c:d2:08:9b:ed:bf:31:d9:00:ee:af:8c:56:
|
|
78:92:d1:7c:ba:4e:81:7f:82:1f:f4:68:99:86:91:c6:cb:57:
|
|
d3:b9:41:12:fa:75:53:fd:22:32:21:50:af:6b:4c:b1:34:36:
|
|
d1:a8:25:0a:d0:f0:f8:81:7d:69:58:6e:af:e3:d2:c4:32:87:
|
|
79:d7:cd:ad:0c:56:f3:15:27:10:0c:f9:57:59:53:00:ed:af:
|
|
5d:4d:07:86:7a:e5:f3:97:88:bc:86:b4:f1:17:46:33:55:28:
|
|
66:7b:70:d3:a5:12:b9:4f:c7:ed:e6:13:20:2d:f0:9e:ec:17:
|
|
64:cf:fd:13:14:1b:76:ba:64:ac:c5:51:b6:cd:13:0a:93:b1:
|
|
fd:43:09:a0:0b:44:6c:77:45:43:0b:e5:ed:70:b2:76:dc:08:
|
|
4a:5b:73:5f:c1:fc:7f:63:70:f8:b9:ca:3c:98:06:5f:fd:98:
|
|
d1:e4:e6:61:5f:09:8f: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