SHARE
TWEET

Untitled

a guest Jan 18th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [user@computer myca]$ openssl ca -config openssl.cnf -out user1cert.pem -in user1req.pem
  2. Using configuration from openssl.cnf
  3. [user@computer myca]$
  4.    
  5. [ca]
  6. default_ca = CA_default
  7.  
  8. [CA_default]
  9. dir = . # where everything is kept
  10. new_certs_dir = $dir # default place for new certs
  11. serial = $dir/serial # the current serial number
  12. database = $dir/index # database index file
  13. certificate = $dir/cacert.pem # The CA certificate
  14. private_key = $dir/caprivkey.pem # The private key
  15. RANDFILE = $dir/.rand # private random number file
  16. default_days = 730 # how long to certify for
  17. default_md = sha256 # which message digest to use
  18. policy = policy_any # which policy is used
  19.  
  20. [policy_any]
  21. countryName = supplied # country name is mandatory
  22. stateOrProvinceName = optional # state is optional
  23. organizationName = optional # organization name is optional
  24. organizationalUnitName = optional # unit name is optional
  25. commonName = optional # user name is mandatory
  26. emailAddress = optional # email address is optional
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top