1 # openssl req -newkey ec:ecparam.pem -sha256 -nodes -subj "/C=JP/ST=Tokyo/O=Snake Oil Company/CN=Snake Oil company Root Certificate Authority" -out ca_cert.pem -keyout ca_key.pem -x509 -days 800 -extensions v3_ca -config ../../test/ssl.conf
3 basicConstraints = critical, CA:true
4 keyUsage = critical, keyCertSign, cRLSign
5 subjectKeyIdentifier = hash
6 authorityKeyIdentifier = keyid,issuer
10 basicConstraints = CA:FALSE
11 # keyUsage = critical, keyEncipherment, dataEncipherment, digitalSignature, keyAgreement
12 keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment
13 extendedKeyUsage = serverAuth
14 subjectAltName = @alt_names
17 authorityKeyIdentifier=keyid,issuer
18 basicConstraints=CA:FALSE
19 subjectAltName = @alt_names
20 keyUsage = digitalSignature
21 extendedKeyUsage = serverAuth