When I run the following command in openssl, I get an "error in req" error.
req -new -key myCAPrivateKey.key -out myCACertificate.csr -config D:\Program Files\Splunk\openssl.cnf
Can you tell me what I am doing wrong? This command is on page 64 of the Splunk-6.1.1-Security.pdf document under Generate and sign the certificate.
Thanks for answering my question. The quotes for the config path worked.
req -new -key myCAPrivateKey.key -out myCACertificate.csr -config "D:\Program Files\Splunk\openssl.cnf"
try setting and using environment variable $SPLUNK_HOME use use quotes next to your openssl.cnf file path.
check you'r using the right SPLUNK openssl
openssl genrsa -des3 -out myCAPrivateKey.key 1024 -config "C:\Program Files\Splunk\openssl.cnf"
openssl req -new -key myCAPrivateKey.key -out myCACertificate.csr -config "C:\Program Files\Splunk\openssl.cnf"