[bug] get certificate times as UTC, add tests
[leap_pycommon.git] / src / leap / common / testing / leaptest_combined_keycert.pem
1 -----BEGIN PRIVATE KEY-----
2 MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQDAT67c8y4ORa6o
3 /gor3gAouJI6W6R7YlPzzh4uaba4YhqgAEZzcZ7S589CqON8Eo8G2tQvh+ZSaNmP
4 idFDjFxfpb1sBMb9Nu720s0V8UMxzCDh7oyePZGdKP+F04+MkB0eHWSObBrzsjsj
5 KVsD/5fUeLbd1SdK1C2cKzsoRQ+GVEyMJeiISFlV05fxdAZSybPcwH+3aiVX+7cM
6 9ek8bufIeqrAfZVdvO/2Fuv6WfR2MEe32XO/9gj02XSGWd6sPXMn/lflKvNNKEWC
7 UWdqTArGi0CqQ4D+Q73ruUIthCJr+7LWK+7QKG980a1RR7GZJvs3skhUDh3eua2u
8 ICPiqQLlAgMBAAECggEBAKJr6j0UagaF1dFG1eJc2neKA36kXdQTpOIaaKU8haVO
9 vjv6X4YrJT/tpsAfEhp9Ni1M7r7CIcXiZjVz6bkKOA5UVhqAImxEVClEuw/YN688
10 P11yc3NGftBkiwNFPk0yflUr7/zV0yGVm5rD1+oVme9KkO/kkg4CDA+E9664PTdu
11 S4NVvL6OgHUG2nucqIz0kzUBapo7okIkvggfldeDYF47rn/e0VikNpKkMzoCzWs+
12 3ryzldfigwg18rE2nltQYk/Mi+H30iNTNEonLjs9YbiDPn8iy5SZ7xY4lAO1Urev
13 skdY04hmkOzh9JEETHeTj1LUIw7tfRdS3X6B+19gkCECgYEA+41UOLBb0ZHsGjsA
14 aZBtI4g8mvGTOFe/Az7Jm0404z6e8AIe4NeSJoJ6oV6WG2BmKvqTViYT2QnmauHA
15 WB1xJ5fH3PK7/LjICI2QE247E294+g5p1KYysALc2fChfJNpdfETzWJAUSSBFqxb
16 amCDZ4Gc8S/V44fEkJKPLuAvxL0CgYEAw7YyGsEX+lDGzumFQY4wz20+Cyvilnx0
17 xoFGQ85RSprZttU64PID/u1HD9/Nv4lGcBDcTTtrmOEk9x51YzttrsPF9sn+Wj0y
18 eahuR32Qc1652Y7fAKgN2vIZRFBcGpAsemcoqmYFRMImX60G0areKaclooimTbJA
19 Si52P4IKnUkCgYAI+07ah1F/9hncBedJ3aJH9oFTdvSuulNTplZEeVJiGsZKA4le
20 tdO+FEKUqG/rolGDj1bbaJik0zmq70yS2NpFc6HrPa+Aoohh5cwTJYhudTh4lTMq
21 KJT+u9tu3KynagwF7gmq96scOpVxXc4VykRm2bXk1rRoX1yhXNpH7jFGcQKBgCn/
22 v2DebzbYftGIa4BV80OQPfBHyqhgrO6sb1e9vtQzxuTlfW0ogpMCeG1/qbegzeze
23 sWghiEWWi0g80RQqfK80dBcx4dObrmlNK91LpOQdP+TgNBr/9Xk22xU96YYJyoG6
24 AZAPtLG8uF9v0jbMZECsDfeDO60Qw5snvViDn6OBAoGACAbbQCbuh0cduDVwn0uz
25 8XDyRTKDhOsJ3p6UB1TjwvbLeoPI93Dv1gpEeoqELtCu+ZXr3+/i/IbwrxucrFNn
26 L/s+4zR2mlEAxBdtCFsH/Qf7+iYpBFSo4YReXz3xR+EVTmswzodJCbtF74oQSr6o
27 7d56Rd/5k2UkFeXnlGOLyAc=
28 -----END PRIVATE KEY-----
29 Certificate:
30     Data:
31         Version: 3 (0x2)
32         Serial Number: 4 (0x4)
33     Signature Algorithm: sha1WithRSAEncryption
34         Issuer: C=US, ST=CA, L=Cyberspace, O=LEAP Encryption Access Project, OU=cyberspace, CN=tests-leap.se/name=tests-leap/emailAddress=tests@leap.se
35         Validity
36             Not Before: Sep  3 17:52:16 2013 GMT
37             Not After : Sep  1 17:52:16 2023 GMT
38         Subject: C=US, ST=CA, L=Cyberspace, O=LEAP Encryption Access Project, OU=cyberspace, CN=localhost/name=tests-leap/emailAddress=tests@leap.se
39         Subject Public Key Info:
40             Public Key Algorithm: rsaEncryption
41                 Public-Key: (2048 bit)
42                 Modulus:
43                     00:c0:4f:ae:dc:f3:2e:0e:45:ae:a8:fe:0a:2b:de:
44                     00:28:b8:92:3a:5b:a4:7b:62:53:f3:ce:1e:2e:69:
45                     b6:b8:62:1a:a0:00:46:73:71:9e:d2:e7:cf:42:a8:
46                     e3:7c:12:8f:06:da:d4:2f:87:e6:52:68:d9:8f:89:
47                     d1:43:8c:5c:5f:a5:bd:6c:04:c6:fd:36:ee:f6:d2:
48                     cd:15:f1:43:31:cc:20:e1:ee:8c:9e:3d:91:9d:28:
49                     ff:85:d3:8f:8c:90:1d:1e:1d:64:8e:6c:1a:f3:b2:
50                     3b:23:29:5b:03:ff:97:d4:78:b6:dd:d5:27:4a:d4:
51                     2d:9c:2b:3b:28:45:0f:86:54:4c:8c:25:e8:88:48:
52                     59:55:d3:97:f1:74:06:52:c9:b3:dc:c0:7f:b7:6a:
53                     25:57:fb:b7:0c:f5:e9:3c:6e:e7:c8:7a:aa:c0:7d:
54                     95:5d:bc:ef:f6:16:eb:fa:59:f4:76:30:47:b7:d9:
55                     73:bf:f6:08:f4:d9:74:86:59:de:ac:3d:73:27:fe:
56                     57:e5:2a:f3:4d:28:45:82:51:67:6a:4c:0a:c6:8b:
57                     40:aa:43:80:fe:43:bd:eb:b9:42:2d:84:22:6b:fb:
58                     b2:d6:2b:ee:d0:28:6f:7c:d1:ad:51:47:b1:99:26:
59                     fb:37:b2:48:54:0e:1d:de:b9:ad:ae:20:23:e2:a9:
60                     02:e5
61                 Exponent: 65537 (0x10001)
62         X509v3 extensions:
63             X509v3 Basic Constraints: 
64                 CA:FALSE
65             Netscape Cert Type: 
66                 SSL Server
67             Netscape Comment: 
68                 Easy-RSA Generated Server Certificate
69             X509v3 Subject Key Identifier: 
70                 51:92:B6:A3:D7:D6:EC:8F:FC:16:C5:D4:0F:87:CC:EA:5C:7C:17:81
71             X509v3 Authority Key Identifier: 
72                 keyid:36:19:70:96:A9:5C:FE:A3:82:0F:79:95:31:52:2B:4A:41:BD:81:CB
73                 DirName:/C=US/ST=CA/L=Cyberspace/O=LEAP Encryption Access Project/OU=cyberspace/CN=tests-leap.se/name=tests-leap/emailAddress=tests@leap.se
74                 serial:8B:BF:41:63:1E:10:6A:EC
75
76             X509v3 Extended Key Usage: 
77                 TLS Web Server Authentication
78             X509v3 Key Usage: 
79                 Digital Signature, Key Encipherment
80     Signature Algorithm: sha1WithRSAEncryption
81          88:d9:35:e0:d9:fa:fd:6b:57:e2:4d:f6:ef:91:6f:56:a6:2b:
82          1a:1e:ec:8f:b0:18:e3:ec:ca:c9:1e:78:07:1d:0f:cf:fe:09:
83          21:84:25:c4:27:ea:22:d7:48:53:73:ed:78:0f:42:5c:c7:f7:
84          38:04:84:df:67:99:fd:75:6f:e8:dc:3b:91:ab:fa:c7:32:e5:
85          fd:3b:ce:de:7c:6a:df:39:46:1e:46:3a:4d:e1:e1:60:f3:bf:
86          aa:b2:0b:5d:ee:f2:0c:ee:82:7f:b5:02:75:04:47:d5:2b:c8:
87          e0:6d:6a:10:4a:ca:e0:c3:4f:ee:ff:15:71:37:f5:4d:95:38:
88          fe:a3:da:84:46:90:04:c2:61:86:a0:7f:e2:7d:62:46:6d:f6:
89          f8:90:51:88:c3:f2:8c:ca:b3:89:40:9f:6b:8b:33:65:e1:fd:
90          0f:8b:d7:6a:93:dc:de:be:85:07:c7:d1:1d:b5:db:70:54:9f:
91          95:d8:fb:11:f7:a7:e6:90:ba:9b:28:0e:3d:47:7a:63:6d:60:
92          44:f6:96:aa:b6:a2:bc:0a:e5:25:c8:a2:74:91:54:95:bb:e2:
93          09:01:56:73:6e:56:e8:6f:d6:a5:d8:18:96:c1:82:ef:2c:9e:
94          e2:4c:94:bc:00:71:5e:16:49:6b:e4:94:7a:d1:0c:2e:f4:19:
95          b2:2a:c2:b8
96 -----BEGIN CERTIFICATE-----
97 MIIFdDCCBFygAwIBAgIBBDANBgkqhkiG9w0BAQUFADCBuDELMAkGA1UEBhMCVVMx
98 CzAJBgNVBAgTAkNBMRMwEQYDVQQHEwpDeWJlcnNwYWNlMScwJQYDVQQK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