mirror of
https://github.com/python/cpython.git
synced 2024-12-12 11:23:56 +08:00
b467d9a240
Fix problem with ssl.SSLContext.hostname_checks_common_name. OpenSSL does not copy hostflags from *struct SSL_CTX* to *struct SSL*. Signed-off-by: Christian Heimes <christian@python.org>
165 lines
9.2 KiB
Plaintext
165 lines
9.2 KiB
Plaintext
-----BEGIN PRIVATE KEY-----
|
|
MIIG/gIBADANBgkqhkiG9w0BAQEFAASCBugwggbkAgEAAoIBgQC34y3S6iXdmdvd
|
|
M/2aFBe6CvRvZwhh1huGl7IQRtdoakPqMLlEdNHJtNeF5M27xLei+p4wt7N1Jyi0
|
|
2keHQb1m9TqH5AruOkE2ti+15zEoKoU9aWydTiH+epKTT0yjg2NcKQjRUaWcbhzB
|
|
H4EMKuCIlzIIz8/EIKkOqhCDwq6+Fv3Ays+z7Bz+yR80ixivKu/l7SjxQ7z7R/kC
|
|
I7OViRcIO5QBQPj7VLvCTz4VA6u/LdXngK2HNuau6WXm5yNNQbqrB11AEJcYZf/c
|
|
VrneV4F+ZjLloAKgSn9GB8eWOyilTQ18TcKd+H2icipRaP/+QR/KPx5GK/SXU3my
|
|
qm62QOGI7t/5ktVdjGhs6tHZxw1SRiipiLYWbtVRrSxa4wYlgpgoUwvrvvtC5kAN
|
|
nTw1VGWsxcs+6a7+PocYnJiq7k4b5OAUb3Ryvl9DLAMy8NqpRWo4cHD/XQ3FCYwF
|
|
HlOSgx/dL5Se0i3dW1KzbP6OvaNg6nl/1EXPUsJ1ATS8nzvzhccCAwEAAQKCAYEA
|
|
nD3GvaJ9MeB802JNZBEWZ9jO/6jHknldQeq6POI0PF+t/NoRUH0BkyS4yucxdw0a
|
|
CrxulG5BaJUxHRkqFV5iE4zhgnzcXLXamyYJO8GIHtyiASAGTVIJyDNVPxztvTDx
|
|
x2iGOXPqBxP4Eo82EqSLywLMXHhVzAsEGZWeGpXb61+Vk62+9Nz1dfZlMTvOaWdO
|
|
Fkp/sx8e/1KT3KGBANlOXIxioP4Xj1Tbg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
|
|
bhwQtUTpuNmMAPONXJnO7O5yYNbn2B7sbiedrYV7kJJSe4X5awtiTjp7sX4XdxuM
|
|
5BAcQ7NI2WLfZTcCgcBp/X9hIoATmMRvKwUQx+yJ/KO7Z8KhETpJJdR0mNDbqmit
|
|
Cy8t7cxYb+6WqLoQUivv0o0k/EJ7L8JDH76woAnfZB4P3RiOy69/K0wN3vFBhOHS
|
|
kbju7aU53lKoE7YuuOtsRrewEng/KlRsbDY3bqNTGLt4KegbpBQQGLmLffxNd1Zh
|
|
EAQWcP33ou9yNYrJdihWtQpOssWRlash/O32ceZJF3s7C6t068tFclz2fPocQdxQ
|
|
OC5pqy9nU/P0tOhDlMkCgcEAosaBJLIeAYlOU0+2uSx5g5mIqOOTyrDEmqqad6T/
|
|
wkB7vW2QaoDvLL22Yrzdn9vQ0V0rqzhVtan7sq5pn/BQJAueZYN8rFxS3uuW+UQk
|
|
Nsc4GLJzU8Az/2DvqEIrnE7zRc5E1FOI9gKLrBlpJB2o0hVcBznDe05Gax6Kjqbm
|
|
jHqzyU73SpxpEy3OesClCeCQIMr47HaL9aSqaEX4U9bMpgHi0HgTTHqvJ5pch0hY
|
|
dYl+WAE9LAyF1DF29BirEXVw
|
|
-----END PRIVATE KEY-----
|
|
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number:
|
|
cb:2d:80:99:5a:69:52:5d
|
|
Signature Algorithm: sha256WithRSAEncryption
|
|
Issuer: C=XY, O=Python Software Foundation CA, CN=our-ca-server
|
|
Validity
|
|
Not Before: Aug 29 14:23:16 2018 GMT
|
|
Not After : Oct 28 14:23:16 2037 GMT
|
|
Subject: C=XY, L=Castle Anthrax, O=Python Software Foundation, CN=fakehostname
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
RSA Public-Key: (3072 bit)
|
|
Modulus:
|
|
00:b7:e3:2d:d2:ea:25:dd:99:db:dd:33:fd:9a:14:
|
|
17:ba:0a:f4:6f:67:08:61:d6:1b:86:97:b2:10:46:
|
|
d7:68:6a:43:ea:30:b9:44:74:d1:c9:b4:d7:85:e4:
|
|
cd:bb:c4:b7:a2:fa:9e:30:b7:b3:75:27:28:b4:da:
|
|
47:87:41:bd:66:f5:3a:87:e4:0a:ee:3a:41:36:b6:
|
|
2f:b5:e7:31:28:2a:85:3d:69:6c:9d:4e:21:fe:7a:
|
|
92:93:4f:4c:a3:83:63:5c:29:08:d1:51:a5:9c:6e:
|
|
1c:c1:1f:81:0c:2a:e0:88:97:32:08:cf:cf:c4:20:
|
|
a9:0e:aa:10:83:c2:ae:be:16:fd:c0:ca:cf:b3:ec:
|
|
1c:fe:c9:1f:34:8b:18:af:2a:ef:e5:ed:28:f1:43:
|
|
bc:fb:47:f9:02:23:b3:95:89:17:08:3b:94:01:40:
|
|
f8:fb:54:bb:c2:4f:3e:15:03:ab:bf:2d:d5:e7:80:
|
|
ad:87:36:e6:ae:e9:65:e6:e7:23:4d:41:ba:ab:07:
|
|
5d:40:10:97:18:65:ff:dc:56:b9:de:57:81:7e:66:
|
|
32:e5:a0:02:a0:4a:7f:46:07:c7:96:3b:28:a5:4d:
|
|
0d:7c:4d:c2:9d:f8:7d:a2:72:2a:51:68:ff:fe:41:
|
|
1f:ca:3f:1e:46:2b:f4:97:53:79:b2:aa:6e:b6:40:
|
|
e1:88:ee:df:f9:92:d5:5d:8c:68:6c:ea:d1:d9:c7:
|
|
0d:52:46:28:a9:88:b6:16:6e:d5:51:ad:2c:5a:e3:
|
|
06:25:82:98:28:53:0b:eb:be:fb:42:e6:40:0d:9d:
|
|
3c:35:54:65:ac:c5:cb:3e:e9:ae:fe:3e:87:18:9c:
|
|
98:aa:ee:4e:1b:e4:e0:14:6f:74:72:be:5f:43:2c:
|
|
03:32:f0:da:a9:45:6a:38:70:70:ff:5d:0d:c5:09:
|
|
8c:05:1e:53:92:83:1f:dd:2f:94:9e:d2:2d:dd:5b:
|
|
52:b3:6c:fe:8e:bd:a3:60:ea:79:7f:d4:45:cf:52:
|
|
c2:75:01:34:bc:9f:3b:f3:85:c7
|
|
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:
|
|
C8:BD:A8:B4:C0:F2:32:10:73:47:9C:48:81:32:F8:BA:BB:26:84:97
|
|
X509v3 Authority Key Identifier:
|
|
keyid:B3:8A:A0:A2:BA:71:F1:A8:24:79:D4:A4:5B:25:36:15:1E:49:C8:CD
|
|
DirName:/C=XY/O=Python Software Foundation CA/CN=our-ca-server
|
|
serial:CB:2D:80:99:5A:69:52:5B
|
|
|
|
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: sha256WithRSAEncryption
|
|
76:87:76:4d:e4:0f:88:bf:2c:f3:58:67:c0:97:6c:cd:59:18:
|
|
82:83:4c:04:19:a5:6d:aa:fa:64:3d:49:32:3e:e1:56:95:b2:
|
|
13:f7:cf:d3:11:b0:72:b7:5b:e7:d7:85:69:51:3c:b6:54:80:
|
|
45:2f:28:10:21:20:b9:ba:e9:27:5a:b7:3f:82:b7:69:f5:46:
|
|
f5:bf:a2:8b:17:7f:f2:14:d1:46:97:b5:8b:47:fb:9f:e8:5c:
|
|
05:0e:9d:11:bd:7c:9a:03:84:0b:ca:29:66:4a:ca:0d:6f:09:
|
|
1e:7a:27:c1:7f:03:96:70:8d:18:a5:2f:a4:98:a5:19:aa:8c:
|
|
5d:1e:8c:3e:bb:6d:3b:c0:33:c0:15:e1:bd:09:3d:9f:e8:dc:
|
|
12:d4:cb:44:1d:06:f5:e8:d6:4e:a1:2d:5c:9f:5d:1f:5b:2a:
|
|
c3:4d:40:8d:da:d1:78:80:d0:c6:31:72:10:48:8a:e9:10:7a:
|
|
13:30:11:b2:9e:67:0e:ed:a1:aa:ec:73:2d:f0:b8:8a:22:75:
|
|
0f:30:69:5c:50:7e:91:ce:da:91:c7:70:8c:65:ff:f6:58:fb:
|
|
00:bd:45:cc:e2:e4:e3:e5:16:36:7d:f3:a2:4a:9c:45:ff:d9:
|
|
a5:16:e0:2f:b5:5b:6c:e6:8a:13:15:48:73:bd:7c:80:33:c3:
|
|
d4:3b:3a:1d:85:0e:a4:f7:f7:fb:48:0c:e9:a0:4b:5e:8a:5c:
|
|
67:f8:25:02:6f:cd:72:c1:aa:5a:93:64:7c:14:20:43:e0:13:
|
|
7f:0d:e1:0d:61:5e:2e:2c:cd:7a:2e:2a:ae:b6:75:6a:5f:a0:
|
|
1a:9b:b6:67:2d:b0:a5:1c:54:bc:8c:70:7e:15:2b:c0:50:e3:
|
|
03:bb:a4:a5:fc:45:01:c9:3f:a7:b8:18:dc:3e:08:07:a1:9b:
|
|
f5:bd:95:bd:49:e8:10:7c:91:7d:2d:c4:c2:98:b6:b7:51:69:
|
|
d7:0a:68:40:b5:0f:85:a0:a9:67:77:c6:68:cb:0e:58:34:b3:
|
|
58:e7:c8:7c:09:67
|
|
-----BEGIN CERTIFICATE-----
|
|
MIIF9zCCBF+gAwIBAgIJAMstgJlaaVJdMA0GCSqGSIb3DQEBCwUAME0xCzAJBgNV
|
|
BAYTAlhZMSYwJAYDVQQKDB1QeXRob24gU29mdHdhcmUgRm91bmRhdGlvbiBDQTEW
|
|
MBQGA1UEAwwNb3VyLWNhLXNlcnZlcjAeFw0xODA4MjkxNDIzMTZaFw0zNzEwMjgx
|
|
NDIzMTZaMGIxCzAJBgNVBAYTAlhZMRcwFQYDVQQHDA5DYXN0bGUgQW50aHJheDEj
|
|
MCEGA1UECgwaUHl0aG9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