OpenVPN connect works absolute fine and out of the box with a cert/key without a passphrase but not using a key with a passphrase! I get this error message:
OpenVPN error : PolarSSL: error parsing config private key : X509 - Invalid RSA key tag or value : ASN1 - ASN1 tag was of an unexpected value [ERR]
Using the same cert/key on a linux client works fine including asking fpr the passphrase. Are passphrases not supported in OpenVPN connect?
Regards, Valentin
Key with passphrase does not work
-
- OpenVpn Newbie
- Posts: 1
- Joined: Fri Mar 15, 2013 10:44 am
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jun 04, 2013 2:51 pm
Re: Key with passphrase does not work
+1
Something similar going on...
I too have successfully connected to the VPN but without asking me for a passphrase!
If I install the same client info on a Windows or Linux PC, the client software prompts for a passphrase and all is well.
What am I doing wrong?
Have I missed a tick box option or something?
I am deeply reluctant to allow this software to connect to the office VPN without an extra level of security on an iPad.
Paully
Something similar going on...
I too have successfully connected to the VPN but without asking me for a passphrase!
If I install the same client info on a Windows or Linux PC, the client software prompts for a passphrase and all is well.
What am I doing wrong?
Have I missed a tick box option or something?
I am deeply reluctant to allow this software to connect to the office VPN without an extra level of security on an iPad.

Paully
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Jun 05, 2013 8:14 pm
Re: Key with passphrase does not work
The default OpenVPN key encryption algorithm doesn't seem to be supported by OpenVPN Connect iOS. On my devices, passphrases work after being re-encrypted using T-DES.
From a shell, to decrypt the key (remove the passphrase):
openssl rsa -in [key-encrypted-old].key -out [key-unencrypted].key
To re-encrypt the key w. T-DES:
openssl rsa -in [key-unencrypted].key -des3 -out [key-encrypted-new].key
Remember not to leave the unencrypted key sitting around (best to shred it).
Andrew
From a shell, to decrypt the key (remove the passphrase):
openssl rsa -in [key-encrypted-old].key -out [key-unencrypted].key
To re-encrypt the key w. T-DES:
openssl rsa -in [key-unencrypted].key -des3 -out [key-encrypted-new].key
Remember not to leave the unencrypted key sitting around (best to shred it).
Andrew
-
- OpenVpn Newbie
- Posts: 2
- Joined: Tue Jun 04, 2013 2:51 pm
Re: Key with passphrase does not work
Thanks, I will try that and report back.