utorok 7. apríla 2009

Konvertnutie crt a key do pem

1. convert crt to pem format
openssl x509 -in mycompany.crt  -out mycom_crt.der -outform DER
openssl x509 -in mycom_crt.der -inform DER -out mycom_crt.pem -outform PEM

2. convert key to pem format
openssl rsa -in mycompany.key -out mycom_key.pem