Re: Unable to import certicifate

Solved! Go to solution
Selvadurai
Regular Visitor

Unable to import certicifate

Hi Team,
I'm unable to genrate the pkcs12 keystore, i'm getting below error in cmd
image.png

2 REPLIES 2
vkamboj
Community Moderator

Re: Unable to import certicifate

Hi, 

 

Place your private key file (for example: privateKey.pem and your certificate file from VDP (for example: cert.pem in the same directory. Generate a keystore (for example: myProject_keyAndCertBundle.p12) file as shown below.

> openssl pkcs12 -export -in cert.pem -inkey "privateKey.pem" -certfile cert.pem -out myProject_keyAndCertBundle.p12

Note: The myProject_keyAndCertBundle.p12 is only a placeholder file name. You may choose to name it anything else.

 

Thanks, 

Vaibhav 

Was your question answered? Don't forget to click on "Accept as Solution" to help other devs find the answer to the same question.
Selvadurai
Regular Visitor

Re: Unable to import certicifate

Hi,

Thanks, now imported successfully.