Reputation: 419
I am trying to generate a certificate request for an iOS Developer certificate. I get the error below (Unknown option CN=...
). I am able to generate the private key just fine, it is the next step - generating the cert request that is failing.
openssl req -new -key privatekey.key -out CertificateSigningRequest.certSigningRequest \
-subj “/[email protected], CN=MyAccountName, C=US”
Results in:
Unknown Option CN=MyAccountName
Upvotes: 1
Views: 208
Reputation: 3541
The way you have formated your request is incorrect.
Use /
to separate subject information. Use '
instead of "
openssl req -new -key serverkey.pem -out CertificateSigningRequest.certSigningRequest -subj '/[email protected]/CN=MyAccountName/C=US'
Upvotes: 1