Installed without error, created a new cert called android with password 123456789
copied file to the device, used openvpn client, imported the file, attempted to run, when challenged for password, entered 123456789
I get an error
openvpn core error: polarssl: error parsing config private key: PKCS5- requested encryption or digest alg not available
If I create with nopass it works fine.
any help appreciated
I had the same problem, you have to convert the key encryption to a supported one. Run the following command on your .ovpn file:
openssl rsa -in <filename>.key -des3 -out <filename>.3des.key
Then replace the following part from your .ovpn file:
-----BEGIN ENCRYPTED PRIVATE KEY-----
<content>
-----END ENCRYPTED PRIVATE KEY-----
With the content from the new file:
-----BEGIN RSA PRIVATE KEY-----
<content>
-----END RSA PRIVATE KEY-----
And it should fix that error.
@ghost do you still have this issue??
please refer to issue #364
Closing.
Most helpful comment
I had the same problem, you have to convert the key encryption to a supported one. Run the following command on your .ovpn file:
openssl rsa -in <filename>.key -des3 -out <filename>.3des.keyThen replace the following part from your .ovpn file:
With the content from the new file:
And it should fix that error.