Go Vegetarian

Go Vegetarian
Showing posts with label Certificates. Show all posts
Showing posts with label Certificates. Show all posts

Monday, September 22, 2008

from DER to PEM Export

If you would like to insert certificates extracted from Microsoft Internet Explorer into a Java keystore, you have to convert the certificates into a specific format and it is from the DER format to the PEM format.

The following script can be used :

convertToPEM :
openssl x509 -in $1.cer -inform DER -out $1.pem

Example :

convertToPEM citizenca

and a pem is produced.

-rudy-