Comment 74 for bug 284212

Revision history for this message
Tom (tomko9) wrote :

To those who have problems with private keys without password :

You can create new private key WITH password by running :

openssl rsa -in OLD_PRIVATE_KEY.key -des3 -out NEW_PRIVATE_KEY.key

You will ba asked for password , so enter something and remember( or write it down) .

Don't forget to do: chmod og-rwx NEW_PRIVATE_KEY.key or you will get warnings from openvpn .

In Openvpn config provide NEW_PRIVATE_KEY.key and password you entered .

Should work in all versions of Ubuntu .