1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-04 16:45:06 -05:00
curl/tests/certs/Server-localhost.nn-sv.pem
Daniel Stenberg ba782baac3
certs: generate tests certs with sha256 digest algorithm
As OpenSSL 1.1.1 starts to complain and fail on sha1 CAs:

"SSL certificate problem: CA signature digest algorithm too weak"

Closes #3014
2018-09-20 09:06:21 +02:00

145 lines
7.2 KiB
Plaintext

extensions = x509v3
[ x509v3 ]
subjectAltName = DNS:localhost.nn
keyUsage = keyEncipherment,digitalSignature,keyAgreement
extendedKeyUsage = serverAuth
subjectKeyIdentifier = hash
authorityKeyIdentifier = keyid
basicConstraints = CA:false
[ req ]
default_bits = 1024
distinguished_name = req_DN
default_md = sha256
string_mask = utf8only
[ req_DN ]
countryName = "Country Name is Northern Nowhere"
countryName_value = NN
organizationName = "Organization Name"
organizationName_value = Edel Curl Arctic Illudium Research Cloud
commonName = "Common Name"
commonName_value = localhost.nn
[something]
# The key
# the certificate
# some dhparam
-----BEGIN RSA PRIVATE KEY-----
MIIEpAIBAAKCAQEA9B5eTIyHngn412I9OPtem2JbAi6V9QoUgtQH/OfzlsMSGrkk
+vRBf3ZWPY1yISpJz1RCCYcWApiwqcXG0/JgrbthF6LqNTEc37sn/p359/9qchCj
RHU7tT52G/dgpjHKT2IOfm2ZnI4wYf835sGRZQyho2EB73Xcj1KcWzlFNWPK+8rd
dkoCeMSwLOziyN4nn9a56zneoSOZ1WWXeOJ8CFWXkYRw9IjAWZzy8P5ccXi/ho4S
koUfFe3Tg/wlUPSGBM13ewya66vpy0OYxB5u3tImnY6hyN9Ppma/KTtuernSvnQW
xrTDRpsJGUKbBXWutZxbo9XhdmVZObyZXQCQhwIDAQABAoIBABjku+L8dZvlEm4M
Q4f7AiPAPN2VGI+bTookywe8M3fNPpxhAudgXwl7bMHsGZZONKaixfUoxFLRdTpq
w6K7VaaBtB3v7AgukO4zrJlnTKVAc39cOPnzJnqN+wdRC5cG/sVnj2jPDloLmd10
ZCPw2z29swHxE3xyv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-----END RSA PRIVATE KEY-----
Certificate:
Data:
Version: 3 (0x2)
Serial Number: 15373412528542 (0xdfb66caf19e)
Signature Algorithm: sha256WithRSAEncryption
Issuer:
countryName = NN
organizationName = Edel Curl Arctic Illudium Research Cloud
commonName = Northern Nowhere Trust Anchor
Validity
Not Before: Sep 19 07:14:12 2018 GMT
Not After : Dec 6 07:14:12 2026 GMT
Subject:
countryName = NN
organizationName = Edel Curl Arctic Illudium Research Cloud
commonName = localhost.nn
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Modulus:
00:f4:1e:5e:4c:8c:87:9e:09:f8:d7:62:3d:38:fb:
5e:9b:62:5b:02:2e:95:f5:0a:14:82:d4:07:fc:e7:
f3:96:c3:12:1a:b9:24:fa:f4:41:7f:76:56:3d:8d:
72:21:2a:49:cf:54:42:09:87:16:02:98:b0:a9:c5:
c6:d3:f2:60:ad:bb:61:17:a2:ea:35:31:1c:df:bb:
27:fe:9d:f9:f7:ff:6a:72:10:a3:44:75:3b:b5:3e:
76:1b:f7:60:a6:31:ca:4f:62:0e:7e:6d:99:9c:8e:
30:61:ff:37:e6:c1:91:65:0c:a1:a3:61:01:ef:75:
dc:8f:52:9c:5b:39:45:35:63:ca:fb:ca:dd:76:4a:
02:78:c4:b0:2c:ec:e2:c8:de:27:9f:d6:b9:eb:39:
de:a1:23:99:d5:65:97:78:e2:7c:08:55:97:91:84:
70:f4:88:c0:59:9c:f2:f0:fe:5c:71:78:bf:86:8e:
12:92:85:1f:15:ed:d3:83:fc:25:50:f4:86:04:cd:
77:7b:0c:9a:eb:ab:e9:cb:43:98:c4:1e:6e:de:d2:
26:9d:8e:a1:c8:df:4f:a6:66:bf:29:3b:6e:7a:b9:
d2:be:74:16:c6:b4:c3:46:9b:09:19:42:9b:05:75:
ae:b5:9c:5b:a3:d5:e1:76:65:59:39:bc:99:5d:00:
90:87
Exponent: 65537 (0x10001)
X509v3 extensions:
X509v3 Subject Alternative Name:
DNS:localhost.nn
X509v3 Key Usage:
Digital Signature, Key Encipherment, Key Agreement
X509v3 Extended Key Usage:
TLS Web Server Authentication
X509v3 Subject Key Identifier:
DA:FC:ED:BF:82:CB:15:D8:7E:A1:4B:98:23:8E:83:2A:11:6E:49:C9
X509v3 Authority Key Identifier:
keyid:12:CA:BA:4B:46:04:A7:75:8A:2C:E8:0E:54:94:BC:12:65:A6:7B:CE
X509v3 Basic Constraints:
CA:FALSE
Signature Algorithm: sha256WithRSAEncryption
98:27:7a:85:b6:39:0f:9f:ca:0f:68:ca:4a:f6:8b:11:2f:df:
52:e4:47:5f:30:09:9c:2c:d8:2c:62:3b:24:0a:3d:37:58:0e:
be:7b:8b:c6:2d:3c:be:ad:49:1f:63:3a:8e:81:34:0e:9a:80:
f0:f4:c2:7b:fd:6c:66:be:68:d9:27:a6:61:60:08:65:aa:f9:
66:89:fc:99:43:07:3c:57:d9:d4:1a:29:93:e3:b8:a4:54:57:
42:7c:15:6f:b4:92:af:9f:3e:d0:80:62:49:61:e3:d0:e2:0c:
21:c7:49:9e:eb:42:1c:04:bb:ed:e3:6a:25:d1:79:42:03:75:
1f:41:06:c4:cd:42:06:96:df:37:c6:c2:52:13:20:a3:98:b1:
1c:df:5a:47:08:08:f4:b4:d8:35:db:bf:69:07:12:29:dc:17:
30:11:2d:1b:d9:33:af:38:ab:35:f9:f4:9b:f9:a8:3b:d4:fe:
50:7d:19:82:5e:a3:92:ff:bb:59:76:74:42:83:ab:29:49:4c:
10:83:99:12:0f:8d:24:3e:b0:c4:e3:96:d3:a7:73:5f:7e:fb:
a8:b6:74:53:46:af:82:93:6d:c0:99:62:0f:03:df:e9:1d:10:
ab:f7:92:f9:52:cb:44:f3:f6:9e:49:21:e8:81:7b:fc:78:55:
5b:e2:18:90
-----BEGIN CERTIFICATE-----
MIIDyTCCArGgAwIBAgIGDftmyvGeMA0GCSqGSIb3DQEBCwUAMGgxCzAJBgNVBAYT
Ak5OMTEwLwYDVQQKDChFZGVsIEN1cmwgQXJj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