mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 21:15:08 -05:00
ba782baac3
As OpenSSL 1.1.1 starts to complain and fail on sha1 CAs: "SSL certificate problem: CA signature digest algorithm too weak" Closes #3014
145 lines
7.2 KiB
Plaintext
145 lines
7.2 KiB
Plaintext
extensions = x509v3
|
|
[ x509v3 ]
|
|
subjectAltName = DNS:localhost
|
|
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
|
|
|
|
[something]
|
|
# The key
|
|
# the certificate
|
|
# some dhparam
|
|
-----BEGIN RSA PRIVATE KEY-----
|
|
MIIEpQIBAAKCAQEAn6kwUPlwvDN/H6rGXloK9s+ZIs28OkHndrwFAYUkzSJ5RyZN
|
|
ap1BzzGAIB9fOocvT/9cI6xnC/QUWKdH13YDU/6zDSMIGf+0rEe9YJDIBJQFy88b
|
|
EKq7CEZUQqgrzDX5arlGnoJHGHfPwEgfXNKb7f2NPSkLILfdAmAnYhhzHAyxgi08
|
|
nB62Pob0DtMCUPH4AYcyii3FYQuqlPCzKT9Jp/ZK3XUwwGKXFGveTXFEQDmOCPW5
|
|
c0HV6xLYzl2+KXbqa5QY1yxDXokS8VDyLcBtGQeZlvOoRvM76MgdDfpUlqAmLE/A
|
|
YISpITkPRCjk4xF55KNE4iDhnWVUoidWZ5QCJwIDAQABAoIBAQCHqDWJV6fWANtO
|
|
iMere049jv5KeAwqY7zLQc3vELXIJjZtobm9kIhOB30Zzg4XqK0mh44+MUoM+gIf
|
|
o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j0ffd3ZWeqzlFvEV0ac48YjmF
|
|
irDzOf5uuboHom++On4MqXNAWnZVQcY6thkR/KiJp+bqfgtu01jWn9dbRCd62lAt
|
|
09hB+Da3Z3TZ0GnXerPwYT27enP/w6hh/G4Mn73Auf6Tz1cFdwzvSNg=
|
|
-----END RSA PRIVATE KEY-----
|
|
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number: 15373411938387 (0xdfb66c1f053)
|
|
Signature Algorithm: sha256WithRSAEncryption
|
|
Issuer:
|
|
countryName = NN
|
|
organizationName = Edel Curl Arctic Illudium Research Cloud
|
|
commonName = Northern Nowhere Trust Anchor
|
|
Validity
|
|
Not Before: Sep 19 07:13:14 2018 GMT
|
|
Not After : Dec 6 07:13:14 2026 GMT
|
|
Subject:
|
|
countryName = NN
|
|
organizationName = Edel Curl Arctic Illudium Research Cloud
|
|
commonName = localhost
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
RSA Public-Key: (2048 bit)
|
|
Modulus:
|
|
00:9f:a9:30:50:f9:70:bc:33:7f:1f:aa:c6:5e:5a:
|
|
0a:f6:cf:99:22:cd:bc:3a:41:e7:76:bc:05:01:85:
|
|
24:cd:22:79:47:26:4d:6a:9d:41:cf:31:80:20:1f:
|
|
5f:3a:87:2f:4f:ff:5c:23:ac:67:0b:f4:14:58:a7:
|
|
47:d7:76:03:53:fe:b3:0d:23:08:19:ff:b4:ac:47:
|
|
bd:60:90:c8:04:94:05:cb:cf:1b:10:aa:bb:08:46:
|
|
54:42:a8:2b:cc:35:f9:6a:b9:46:9e:82:47:18:77:
|
|
cf:c0:48:1f:5c:d2:9b:ed:fd:8d:3d:29:0b:20:b7:
|
|
dd:02:60:27:62:18:73:1c:0c:b1:82:2d:3c:9c:1e:
|
|
b6:3e:86:f4:0e:d3:02:50:f1:f8:01:87:32:8a:2d:
|
|
c5:61:0b:aa:94:f0:b3:29:3f:49:a7:f6:4a:dd:75:
|
|
30:c0:62:97:14:6b:de:4d:71:44:40:39:8e:08:f5:
|
|
b9:73:41:d5:eb:12:d8:ce:5d:be:29:76:ea:6b:94:
|
|
18:d7:2c:43:5e:89:12:f1:50:f2:2d:c0:6d:19:07:
|
|
99:96:f3:a8:46:f3:3b:e8:c8:1d:0d:fa:54:96:a0:
|
|
26:2c:4f:c0:60:84:a9:21:39:0f:44:28:e4:e3:11:
|
|
79:e4:a3:44:e2:20:e1:9d:65:54:a2:27:56:67:94:
|
|
02:27
|
|
Exponent: 65537 (0x10001)
|
|
X509v3 extensions:
|
|
X509v3 Subject Alternative Name:
|
|
DNS:localhost
|
|
X509v3 Key Usage:
|
|
Digital Signature, Key Encipherment, Key Agreement
|
|
X509v3 Extended Key Usage:
|
|
TLS Web Server Authentication
|
|
X509v3 Subject Key Identifier:
|
|
D2:36:0A:53:12:B2:99:64:47:05:53:D2:17:69:12:FC:8E:DB:D7:07
|
|
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
|
|
2a:cc:91:d3:be:49:63:2f:84:f2:cf:e8:43:e7:fa:fc:c5:b9:
|
|
d7:6b:d7:40:2b:ee:89:58:98:24:57:cd:eb:51:a0:8b:22:18:
|
|
7d:57:81:f5:0c:06:14:d1:81:90:78:59:34:23:d6:68:19:c7:
|
|
8b:13:1c:b2:76:65:a1:9b:24:c8:b6:43:04:a5:2b:2e:c4:4b:
|
|
c9:69:03:1f:ca:86:54:53:e5:25:a1:5d:a3:22:11:d9:2e:c8:
|
|
1a:e0:dd:04:3b:6f:3c:ea:a6:73:5f:80:bd:6c:3b:41:be:3b:
|
|
1e:fa:68:be:91:9f:85:c0:81:28:cb:38:23:eb:b4:16:bf:81:
|
|
1c:eb:67:9e:b3:03:84:b0:a1:2d:76:ba:7a:55:77:31:49:2d:
|
|
40:7a:bf:3f:e3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