mirror of
https://github.com/moparisthebest/curl
synced 2024-11-13 21:15:08 -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
|
|
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-----
|
|
MIIEowIBAAKCAQEA3aHFV3a/X1RriGAyzANuMser5W788vDOOGS2VKuCkQPLtmat
|
|
yD1DPEctY6gaQhj03vZjKzeDqGo1arWm1cTS+NLc+KKguaMccrYAwHYyaTOI81Ni
|
|
IOtKFKHAMKOxak+h5NbbuwAbdQrTzw3660m9jwK5u+1hyPLA1Z90X45F95CNOU5a
|
|
Z04VE/d5HTBco0ft5KOU/WnPZuVR242goOPqYtNb1XBSunr2ERjkF9Obe8loCErz
|
|
zVYf1jlDSDU/A2bVi5rKpY3lvYw9UHOeAA5lpHZEYgpR/qoveyKniGIyzJnkLIGY
|
|
G8k6fY9zQcalChoWMiB3bTKyAg2b/RGsxfQX5wIDAQABAoIBAGSVmYlDVEEAgDkJ
|
|
Z6RdXjLfmazrvRLIpN7FHla46+3Caj6ixPXej9gYe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GBAPdKqXYnjsethIhW21tN/2leOt7y5E/bK8JZMmuoOkyniHgGXH7WjC/e
|
|
eS2kENBmZmX+QuOsj5ZIi/UAMS2vme8yCalVHkx+e3cYWK60AyY2A7JiYJAt3cAD
|
|
c++jjklGm+eeN4VlqSo+ic0AuInGw+3YfLMkbCPRoKFRiPL+wih6
|
|
-----END RSA PRIVATE KEY-----
|
|
Certificate:
|
|
Data:
|
|
Version: 3 (0x2)
|
|
Serial Number: 15361883045110 (0xdf8b794fcf6)
|
|
Signature Algorithm: sha1WithRSAEncryption
|
|
Issuer:
|
|
countryName = NN
|
|
organizationName = Edel Curl Arctic Illudium Research Cloud
|
|
commonName = Northern Nowhere Trust Anchor
|
|
Validity
|
|
Not Before: Sep 5 22:58:24 2018 GMT
|
|
Not After : Nov 22 22:58:24 2026 GMT
|
|
Subject:
|
|
countryName = NN
|
|
organizationName = Edel Curl Arctic Illudium Research Cloud
|
|
commonName = localhost
|
|
Subject Public Key Info:
|
|
Public Key Algorithm: rsaEncryption
|
|
Public-Key: (2048 bit)
|
|
Modulus:
|
|
00:dd:a1:c5:57:76:bf:5f:54:6b:88:60:32:cc:03:
|
|
6e:32:c7:ab:e5:6e:fc:f2:f0:ce:38:64:b6:54:ab:
|
|
82:91:03:cb:b6:66:ad:c8:3d:43:3c:47:2d:63:a8:
|
|
1a:42:18:f4:de:f6:63:2b:37:83:a8:6a:35:6a:b5:
|
|
a6:d5:c4:d2:f8:d2:dc:f8:a2:a0:b9:a3:1c:72:b6:
|
|
00:c0:76:32:69:33:88:f3:53:62:20:eb:4a:14:a1:
|
|
c0:30:a3:b1:6a:4f:a1:e4:d6:db:bb:00:1b:75:0a:
|
|
d3:cf:0d:fa:eb:49:bd:8f:02:b9:bb:ed:61:c8:f2:
|
|
c0:d5:9f:74:5f:8e:45:f7:90:8d:39:4e:5a:67:4e:
|
|
15:13:f7:79:1d:30:5c:a3:47:ed:e4:a3:94:fd:69:
|
|
cf:66:e5:51:db:8d:a0:a0:e3:ea:62:d3:5b:d5:70:
|
|
52:ba:7a:f6:11:18:e4:17:d3:9b:7b:c9:68:08:4a:
|
|
f3:cd:56:1f:d6:39:43:48:35:3f:03:66:d5:8b:9a:
|
|
ca:a5:8d:e5:bd:8c:3d:50:73:9e:00:0e:65:a4:76:
|
|
44:62:0a:51:fe:aa:2f:7b:22:a7:88:62:32:cc:99:
|
|
e4:2c:81:98:1b:c9:3a:7d:8f:73:41:c6:a5:0a:1a:
|
|
16:32:20:77:6d:32:b2:02:0d:9b:fd:11:ac:c5:f4:
|
|
17:e7
|
|
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:
|
|
D5:C8:A5:DF:AB:B4:EE:19:CB:CF:D1:D5:74:C4:28:66:B5:1C:CC:39
|
|
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
|
|
96:24:85:57:fe:fd:0d:e8:58:ce:c0:af:6e:7c:ac:cf:e0:00:
|
|
31:78:22:6a:82:fe:db:1f:8f:92:0c:39:d1:74:bf:27:22:f4:
|
|
f2:19:8f:96:5a:8e:ce:a1:58:6b:4a:6f:07:30:b6:fb:91:9f:
|
|
fd:8a:1c:a3:fb:13:6d:b0:0c:6c:3f:1e:99:fd:c9:10:fa:47:
|
|
21:20:dd:c3:06:dc:b6:f7:a2:bc:6d:2d:7b:3e:a6:c9:1a:4d:
|
|
69:5b:13:77:2d:c4:54:3c:35:75:69:1a:d8:d8:6c:2b:92:5a:
|
|
8b:bc:2e:37:48:80:40:78:60:3f:b4:79:21:b4:5f:70:d6:0a:
|
|
14:00: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