Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Given a certificate, thing.crt and a key, thing.key, I can create an PKCS#12 certificate with:

openssl pkcs12 -export -in thing.crt -inkey thing.key -out thing.p12

Problem is, openssl asks me for a password to encrypt the file. Is there a way to create an unencrypted PKCS#12 certificate?

share|improve this question
add comment

1 Answer

up vote 0 down vote accepted

PKCS#12 appears to require private keys in the PKCS#12 container to be encrypted.

However, you can just press Enter to use a blank password.


Note: PKCS#12 files are not certificates, only containers – they still have X.509 certificates inside.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.