Name
req
Synopsis
The req
command is used to create, examine, and manipulate PKCS#10-formatted
certificate requests. It can also be used to create self-signed
certificates suitable for use in setting up a root certification
authority.
Options
- -config filename
Specify the name of a file to use as a configuration file. If this option is omitted, the system-wide default configuration file is used. Use of this option overrides the
OPENSSL_CONFenvironment variable.- -in filename
Specify the name of a file from which a certificate request will be read. If this option is omitted,
stdinis used.- -inform DER|PEM
Specify the format of the input certificate request, either DER or PEM. If this option is omitted, PEM is the default format.
- -out filename
Specify the name of a file to which the resulting self-signed certificate or certificate request will be written. If this option is omitted,
stdoutwill be used.- -outform DER|PEM
Specify the format, DER or PEM, which will be used to write the self-signed certificate or certificate request. If this option is omitted, PEM is the default.
- -passin password
Specify the password or passphrase that will be used to decrypt the private key corresponding to the input certificate or certificate request. This option follows the guidelines outlined in Chapter 2 for passwords and passphrases.
- -passout password
Specify the password or passphrase that will be used to encrypt the private key that may be generated with the certificate or certificate request. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access