mirror of
https://github.com/curl/curl.git
synced 2024-12-21 06:50:10 +08:00
f70297187f
Generate stunnel.pem as well Closes #9980
40 lines
1.1 KiB
Promela
40 lines
1.1 KiB
Promela
extensions = x509v3
|
|
[ x509v3 ]
|
|
#subjectAltName = DNS:localhost\0h
|
|
subjectAltName = DER:30:0d:82:0b:6c:6f:63:61:6c:68:6f:73:74:00:68
|
|
keyUsage = keyEncipherment,digitalSignature,keyAgreement
|
|
extendedKeyUsage = serverAuth
|
|
subjectKeyIdentifier = hash
|
|
authorityKeyIdentifier = keyid
|
|
basicConstraints = CA:false
|
|
authorityInfoAccess = @issuer_info
|
|
crlDistributionPoints = @crl_info
|
|
|
|
[ crl_ext ]
|
|
authorityKeyIdentifier = keyid:always
|
|
authorityInfoAccess = @issuer_info
|
|
|
|
[ issuer_info ]
|
|
caIssuers;URI.0 = http://test.curl.se/ca/EdelCurlRoot.cer
|
|
|
|
[ crl_info ]
|
|
URI.0 = http://test.curl.se/ca/EdelCurlRoot.crl
|
|
|
|
[ 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
|