openssl req

From wikieduonline
Revision as of 12:25, 1 October 2021 by Welcome (talk | contribs)
Jump to navigation Jump to search


  • openssl req -config root-ca.cnf -key /your_path/private/root-ca_key.pem -new -x509 -days 3650 -sha256 -extensions v3_ca -out /your_path/private/root-ca_cert.pem


Generate a CSR

  • openssl req -new -key example.org.key -out example.org.csr[1]

Errors:

openssl req -new -key example.org.key -out example.org.csr
Can't open example.org.key for reading, No such file or directory.

Solution: generate a key. openssl genrsa -aes256 -out ./example.org.key 4096


openssl req -new -key example.org.key -out example.org.csr
unable to load Private Key


Related terms


See also

  • https://gist.github.com/Soarez/9688998
  • Advertising: