I would not like (or cannot) modify the default .cnf openssl config file.
How do tell the openssl command line tool to use a different .cnf file at another location - not the default?
I would not like (or cannot) modify the default .cnf openssl config file.
How do tell the openssl command line tool to use a different .cnf file at another location - not the default?
You can override openssl configuration using one of the actions:
OPENSSL_CONF environment variable to point to your custom configuration file-config option with the commands handling certificate (e.g. req, ca...)openssl.cnf can be overridden using command line option.You can also look at man x509v3_config.
openssl req -new -sha256 -key keyFile.pem -out csrRequest.csrr -subj "/C=US/ST=OH/L=Cincinnati/O=Your Company, Inc./OU=IT/CN=yourdomain.com"