2 # This file contains a private key and a certificate used for stunnel.
3 # The certificate contains a number of extensions essentially being
4 # used in the 509 test. The certificate has been generated using
5 # openssl with the parameters listed below up to the line
6 # contain [something], after that you find the result.
11 subjectAltName = DNS:localhost
13 nsComment = "CURL stunnel server test certificate"
14 keyUsage = digitalSignature,keyEncipherment
15 extendedKeyUsage = serverAuth
16 basicConstraints = CA:false
17 subjectKeyIdentifier = hash
18 subjectInfoAccess = AD_DVCS;URI:"https://localhost:8433/509"
19 authorityInfoAccess = AD_DVCS;URI:"https://localhost:8433/509"
22 distinguished_name = req_DN
26 countryName = "1. Country Name (2 letter code)"
27 countryName_value = SE
28 stateOrProvinceName = "2. State or Province Name (full name) "
29 stateOrProvinceName_value = Solna
30 localityName = "3. Locality Name (eg, city) "
31 localityName_value = Mooo
32 0.organizationName = "4. Organization Name (eg, company) "
33 0.organizationName_value = Haxx
34 organizationalUnitName = "5. Organizational Unit Name (eg, section) "
35 organizationalUnitName_value = Coolx
36 commonName = "6. Common Name (eg, FQDN) "
37 commonName_value = "storbror"
38 1.commonName = "6. Common Name (eg, FQDN) "
39 1.commonName_value = "localhost"
41 -----BEGIN RSA PRIVATE KEY-----
42 MIIC1AIBAAKBmwNZN+oG6vJ8DAze+FvOKSS49X4xGMxALhKRLhQQb7qvM+7BcMgR
43 v+RKxkX7SNgcxKPLcIHf7QQ6DBIlLXuAuVHQtWW9b06q64kBElkEwh6gP5Ia9JrR
44 ysGbu2U6NRP+xBU33dVwZjF07ocN9Pp392W4VxEc+g3+FkRzUEaahDGOabmjgKuq
45 DdlKdZLzgJj7+9sEKpb7+FdG56rZAgMBAAECgZsCkK1Z1XTUz5x3m7PMuHEiVaKS
46 yk/B4ISq6pbO/gxpieARzhR038wNug6L+8VA8UDebXHBvGYYr9Mhb2OZUfIlr+nW
47 h7kmHZ+T88M3eH/hQc3jtnvnu1dGmMlIXjTLQOrKgrAn6fYaw2HAGPdGKjpatAy/
48 3vRjguv/22pNJLRQmMHdozJdc8mEYY+AhqrQxXCWQT/1peZzlq/IAQJOAfhE2YWf
49 qB9iYNmuhxJ1PolPW4I63atXuoavqadbaRoaLm/pqLVB1QjMeyak8O/0TmO6CXk6
50 878ps85fLFgARRjSYX+rYwoYNzqxK3cBAk4Bsy4oofReVT8xB+7rFZFMV4McyL7e
51 sOABFqecLuNIGT6CdeEU1z7TUfq8sKM1MQ25e0J1PMmoWTqDwzhnxK+ckeFsZ8Te
52 dgqVW+Oyy9kCTgHqyc/P/uEZkp1ioDu0WkpAR+1vZa2jeyH+vm9nhE9Z6Uty/r6F
53 k4otIx9lMDmTwXqeE03vINJlJshqvjShfbnCe9gK8xrUk1cFl7QPAQJOATD3LQRq
54 At2MniioFtiTbUN6n2ZS1C5xnHGq3fnBzxnZw4UmSfuZjG/L3gWPKkyJCK3HYe9K
55 ho6ZQhNB6P5d7sQQjG6f+SIRwp+VjwvpAk4AnM4do54FETeLHhY4zy47dM/zdy3u
56 iDjiFwoMTR+PfF03evsWe5pW3EaXolGi3FRAZ/idFA+L3Gi2y4xR44z71HkbF32L
58 -----END RSA PRIVATE KEY-----
64 Signature Algorithm: md5WithRSAEncryption
65 Issuer: C=SE, ST=Solna, L=Mooo, O=Haxx, OU=Coolx, CN=storbror, CN=localhost
67 Not Before: Jan 5 11:25:13 2004 GMT
68 Not After : Feb 13 11:25:13 2008 GMT
69 Subject: C=SE, ST=Solna, L=Mooo, O=Haxx, OU=Coolx, CN=storbror, CN=localhost
70 Subject Public Key Info:
71 Public Key Algorithm: rsaEncryption
72 RSA Public Key: (1234 bit)
74 03:59:37:ea:06:ea:f2:7c:0c:0c:de:f8:5b:ce:29:
75 24:b8:f5:7e:31:18:cc:40:2e:12:91:2e:14:10:6f:
76 ba:af:33:ee:c1:70:c8:11:bf:e4:4a:c6:45:fb:48:
77 d8:1c:c4:a3:cb:70:81:df:ed:04:3a:0c:12:25:2d:
78 7b:80:b9:51:d0:b5:65:bd:6f:4e:aa:eb:89:01:12:
79 59:04:c2:1e:a0:3f:92:1a:f4:9a:d1:ca:c1:9b:bb:
80 65:3a:35:13:fe:c4:15:37:dd:d5:70:66:31:74:ee:
81 87:0d:f4:fa:77:f7:65:b8:57:11:1c:fa:0d:fe:16:
82 44:73:50:46:9a:84:31:8e:69:b9:a3:80:ab:aa:0d:
83 d9:4a:75:92:f3:80:98:fb:fb:db:04:2a:96:fb:f8:
85 Exponent: 65537 (0x10001)
87 X509v3 Subject Alternative Name:
92 CURL stunnel server test certificate
94 Digital Signature, Key Encipherment
95 X509v3 Extended Key Usage:
96 TLS Web Server Authentication
97 X509v3 Basic Constraints:
99 X509v3 Subject Key Identifier:
100 35:77:35:3B:9B:98:3C:B6:C7:9A:E7:A8:04:B9:7C:70:AD:FA:37:A9
101 Subject Information Access:
102 ad dvcs - URI:https://localhost:8433/509
104 Authority Information Access:
105 ad dvcs - URI:https://localhost:8433/509
107 Signature Algorithm: md5WithRSAEncryption
108 02:47:57:18:5f:54:3f:1d:29:0a:05:7a:d1:0f:e6:b9:2c:8b:
109 29:38:50:bf:c1:a1:7f:73:4a:9d:f1:1b:bf:2e:ea:87:91:dd:
110 ff:75:73:57:78:cf:75:52:57:0b:5b:bb:d4:77:b2:dd:e8:0c:
111 06:ce:1b:c0:3d:9f:68:c0:0b:66:b8:f9:46:db:04:a9:2f:a3:
112 5e:9c:c6:70:ff:1d:af:1f:17:9c:38:3d:12:aa:af:7b:72:44:
113 a0:44:41:6b:9a:9b:60:8c:50:94:f1:d7:a5:77:6b:d3:0e:66:
114 88:a1:52:63:23:f6:66:a6:ea:f9:d0:df:4d:8a:14:f0:73:c6:
115 b6:b6:b6:68:4f:3d:9a:b6:31:ba:19:f3:66:9f:16:6d:87:64:
116 32:53:d2:90:e5:8c:1e:f5:18:61:1a
117 -----BEGIN CERTIFICATE-----
118 MIIDujCCAwigAwIBAgIGCcMA3QkhMA0GCSqGSIb3DQEBBAUAMHIxCzAJBgNVBAYT
119 AlNFMQ4wDAYDVQQIEwVTb2xuYTENMAsGA1UEBxMETW9vbz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zAHUngsD5D0gfbKblKP/P0bN6Y
136 Ft896NmH4QFsDAetZcCFf24AM4DbUQo5jtG+dkanI/7IxxNYJ1PQ64/yscdQFvHW
137 xhIX3Q6FqABjcN5nc80Rog+b6eS8QRX1BRnQqbGtocuptUgW5mWsSb+DR6pZbA==
138 -----END CERTIFICATE-----
139 -----BEGIN DH PARAMETERS-----
140 MEYCQQD+KCcagSasA1QSo8tRXpbaLJJ1Ezt3FJFEZ3RVplp4qZwXQpSZ+Vly3xWx
141 q3YvALe/enMbIq8F3OUmppq3UHwTAgEC
142 -----END DH PARAMETERS-----