mirror of
https://github.com/moparisthebest/curl
synced 2024-11-05 00:55:04 -05:00
92f9db1746
The previous test certificates contained RSA keys of only 1024 bits. However, RSA claims that 1024-bit RSA keys are likely to become crackable some time before 2010. The NIST recommends at least 2048-bit keys for RSA for now. Better use full 2048 also for testing. Closes #2973
145 lines
7.2 KiB
Plaintext
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-----
|
|
MIIEpAIBAAKCAQEAtahRFI3LnfU49AXDBrMUzK1SdpQR/FsOHt2thbqdUxDtO3LD
|
|
Lg8jNbcux5G7n9XpHmzO/GNs2vWMKsMQWzU+PcTRmFYw6FoNZy+S6Wzu2SrVM0wV
|
|
Z26YGdgmKtRbvZicmVRBWnhPnjGMu7eBVvXmzbkFjT5m3ihKl+uorWzMVPHuInrz
|
|
U3V8f1/1e1C3gDEX2c8o8v8faNDH79uifQoh/CxyU6qoAx27Q4P2NXvKtb0QgUKB
|
|
fS1a6kLtzFRiy0CeMe7iRjNU2Dmh98JCYu0f3neGglmmGpfmDictC5+JLRMviDBg
|
|
XDD1buzI9+hS7r9jmRwLMTKrYnMOIMo1ux/YXwIDAQABAoIBAQCndzjwCtw4jXXo
|
|
uFsXlQZKvkn0WQLPsx2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mLomi77PMLG3P
|
|
9iXneoUCgYBcZu7VLQjOG/111muBcY0pQ5eICEzCTroMfXmQK+axaj2v+aD/tLZS
|
|
Lpfg7JSoH7wC3WhbHtBFMnsbdy3WIkFmbHxBbNXPzTRtRBL0/4qz1Ud3Fc5THAeJ
|
|
aIaZtsV/objfdhlxE723Y/oiLt8KpQeInNAQvuUYPS9ej1L7+yeHuw==
|
|
-----END RSA PRIVATE KEY-----
|
|
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number: 15361902530448 (0xdf8b8be4f90)
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
Issuer:
|
|
countryName = NN
|
|
organizationName = Edel Curl Arctic Illudium Research Cloud
|
|
commonName = Northern Nowhere Trust Anchor
|
|
Validity
|
|
Not Before: Sep 5 23:30:53 2018 GMT
|
|
Not After : Nov 22 23:30:53 2026 GMT
|
|
Subject:
|
|
countryName = NN
|
|
organizationName = Edel Curl Arctic Illudium Research Cloud
|
|
commonName = localhost.nn
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (2048 bit)
|
|
Modulus:
|
|
00:b5:a8:51:14:8d:cb:9d:f5:38:f4:05:c3:06:b3:
|
|
14:cc:ad:52:76:94:11:fc:5b:0e:1e:dd:ad:85:ba:
|
|
9d:53:10:ed:3b:72:c3:2e:0f:23:35:b7:2e:c7:91:
|
|
bb:9f:d5:e9:1e:6c:ce:fc:63:6c:da:f5:8c:2a:c3:
|
|
10:5b:35:3e:3d:c4:d1:98:56:30:e8:5a:0d:67:2f:
|
|
92:e9:6c:ee:d9:2a:d5:33:4c:15:67:6e:98:19:d8:
|
|
26:2a:d4:5b:bd:98:9c:99:54:41:5a:78:4f:9e:31:
|
|
8c:bb:b7:81:56:f5:e6:cd:b9:05:8d:3e:66:de:28:
|
|
4a:97:eb:a8:ad:6c:cc:54:f1:ee:22:7a:f3:53:75:
|
|
7c:7f:5f:f5:7b:50:b7:80:31:17:d9:cf:28:f2:ff:
|
|
1f:68:d0:c7:ef:db:a2:7d:0a:21:fc:2c:72:53:aa:
|
|
a8:03:1d:bb:43:83:f6:35:7b:ca:b5:bd:10:81:42:
|
|
81:7d:2d:5a:ea:42:ed:cc:54:62:cb:40:9e:31:ee:
|
|
e2:46:33:54:d8:39:a1:f7:c2:42:62:ed:1f:de:77:
|
|
86:82:59:a6:1a:97:e6:0e:27:2d:0b:9f:89:2d:13:
|
|
2f:88:30:60:5c:30:f5:6e:ec:c8:f7:e8:52:ee:bf:
|
|
63:99:1c:0b:31:32:ab:62:73:0e:20:ca:35:bb:1f:
|
|
d8:5f
|
|
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:
|
|
A7:1B:AD:F1:16:0F:FA:5B:61:F9:28:8C:85:28:16:EB:73:A1:ED:2D
|
|
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: sha1WithRSAEncryption
|
|
c5:68:b2:17:e0:24:ec:1a:1e:2a:b6:10:c9:9b:0d:87:17:29:
|
|
d2:0a:00:de:33:56:1b:60:63:4c:69:79:cc:84:ee:ce:5e:6b:
|
|
e7:f5:84:64:9a:76:d6:32:af:96:c3:0a:f8:3a:90:12:d8:2e:
|
|
85:d2:77:26:33:1e:ab:cc:84:76:fe:61:8e:0d:f8:5a:d5:cd:
|
|
1e:b2:9d:79:e8:e4:bf:a3:5b:81:05:15:44:77:7e:d9:1f:a4:
|
|
41:13:7d:6a:0f:3e:63:06:cc:b8:fc:59:9a:8e:44:48:ff:e6:
|
|
f9:00:45:e7:aa:b5:c8:95:ec:56:07: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