Получаем ключ
openssl pkcs12 -nocerts -in MY.p12 -out MY.key

Enter Import Password: (insert your certificate password)
MAC verified OK
Enter PEM pass phrase: (insert your Enter PEM pass phrase)
Verifying — Enter PEM pass phrase: (reinsert your Enter PEM pass phrase)

Можно и без шифрования DES
openssl pkcs12 -nocerts -nodes -in MY.p12 -out MY.key

Enter Import Password: (insert your certificate password)
MAC verified OK

Получаем сертификат
openssl pkcs12 -clcerts -nokeys -in MY.p12 -out MY.crt

Enter Import Password: (insert your certificate password)
MAC verified OK

Комментарии