Saturday, January 26, 2013

Converting Cert to Different Format using Open SSL


Cert to Der
openssl x509 -in mycert.crt -out mycert.der -outform DER


Der to Pem
openssl x509 -in mycert.der -inform DER -out mycert.pem -outform PEM

converting Key and Crt to P12

openssl pkcs12 -export -in eg.crt -inkey  eg.key > eg.p12

No comments:

curl and cacert

curl -v --cacert cacert.pem https://www.example/cgi-bin/f ile.xgi -I -X POST