node/test/fixtures/keys/fake-startcom-root.cnf
Fedor Indutny 142660c989
test: update certificates and private keys
The certificates in test fixtures were set to expire in 999 days since
they were generated. That time has passed, and they have to be reissued.
Bump expiration time to 99999 days for all of them to prevent this from
happening again in near future.

PR-URL: https://github.com/nodejs/node/pull/22184
Fixes: https://github.com/nodejs/node/issues/22182
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Gus Caplan <me@gus.host>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Rod Vagg <rod@vagg.org>
2018-08-08 01:16:05 -04:00

47 lines
1.2 KiB
INI

[ ca ]
default_ca = CA_default
[ CA_default ]
dir = .
name_opt = CA_default
cert_opt = CA_default
default_crl_days = 9999
default_md = sha256
database = fake-startcom-root-database.txt
serial = fake-startcom-root-serial
private_key = fake-startcom-root-key.pem
certificate = fake-startcom-root-cert.pem
new_certs_dir = fake-startcom-root-issued-certs
email_in_dn = no
policy = policy_anything
[ policy_anything ]
countryName = optional
stateOrProvinceName = optional
localityName = optional
organizationName = optional
organizationalUnitName = optional
commonName = supplied
emailAddress = optional
[ req ]
default_bits = 2048
days = 9999
distinguished_name = req_distinguished_name
attributes = req_attributes
prompt = no
output_password = password
x509_extensions = v3_ca
[ req_distinguished_name ]
C = IL
O = StartCom Ltd.
OU = Secure Digital Certificate Signing
CN = StartCom Certification Authority
[ req_attributes ]
challengePassword = A challenge password
[ v3_ca ]
basicConstraints = CA:TRUE