Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [user@computer myca]$ openssl ca -config openssl.cnf -out user1cert.pem -in user1req.pem
- Using configuration from openssl.cnf
- [user@computer myca]$
- [ca]
- default_ca = CA_default
- [CA_default]
- dir = . # where everything is kept
- new_certs_dir = $dir # default place for new certs
- serial = $dir/serial # the current serial number
- database = $dir/index # database index file
- certificate = $dir/cacert.pem # The CA certificate
- private_key = $dir/caprivkey.pem # The private key
- RANDFILE = $dir/.rand # private random number file
- default_days = 730 # how long to certify for
- default_md = sha256 # which message digest to use
- policy = policy_any # which policy is used
- [policy_any]
- countryName = supplied # country name is mandatory
- stateOrProvinceName = optional # state is optional
- organizationName = optional # organization name is optional
- organizationalUnitName = optional # unit name is optional
- commonName = optional # user name is mandatory
- emailAddress = optional # email address is optional
Add Comment
Please, Sign In to add comment