user2736158
user2736158

Reputation: 419

Error while creating iOS Developer CSR for iOS

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

Answers (1)

Prabhu
Prabhu

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

Related Questions