kkursor@remotehost:~/OpenVPN$ openssl pkcs12 -in cert_export_ovpn.kkursor.ru.p12 -out server.crt
Enter Import Password:
kkursor@remotehost:~/OpenVPN$ openssl pkcs12 -in cert_export_remotehost.kkursor.ru.p12 -out client.crt
Enter Import Password:
kkursor@remotehost:~/OpenVPN$ openssl pkcs12 -in cert_export_remotehost.kkursor.ru.p12 -out client.key -nocerts
Enter Import Password:
Enter PEM pass phrase:
Verifying — Enter PEM pass phrase:
kkursor@remotehost:~/OpenVPN$ openssl rsa -in client.key -out client.open.key
Enter pass phrase for client.key:
writing RSA key