Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [req]
- default_bits = 2048
- default_keyfile = localhost.key
- distinguished_name = req_distinguished_name
- req_extensions = req_ext
- x509_extensions = v3_ca
- [req_distinguished_name]
- commonName = Common Name (e.g. server FQDN or YOUR name)
- commonName_default = localhost
- commonName_max = 64
- [req_ext]
- subjectAltName = @alt_names
- [v3_ca]
- subjectAltName = @alt_names
- basicConstraints = critical, CA:false
- keyUsage = keyCertSign, cRLSign, digitalSignature,keyEncipherment
- [alt_names]
- DNS.1 = localhost
- DNS.2 = 127.0.0.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement