Page 1 of 1

Reset or change password

Posted: Thu Dec 16, 2021 12:53 pm
by ACO79
Hello,
I am using an OPENVPN server under WINDOWS in version 2.4.3.
I created clients with password: build-key-pass Client.
Can you give me the procedure for changing passwords?
Thank you for your help

Re: Reset or change password

Posted: Thu Dec 16, 2021 4:53 pm
by TinCanTech
If you upgrade your server to version 2.5, you get Easy-RSA version 3, which has:

Code: Select all

 set-rsa-pass <filename_base> [ cmd-opts ]
  set-ec-pass <filename_base> [ cmd-opts ]
 
to change your passwords ..

You don't even need to upgrade your Openvpn server, you can download Easy-RSA3 from here:
https://github.com/OpenVPN/easy-rsa

And if you feel really adventurous then you could even try this:
https://github.com/TinCanTech/easy-tls

Or, you can try to decipher this command:

Code: Select all

easyrsa_openssl "$key_type" -in "$file" -out "$out_key_tmp" $crypto ${EASYRSA_PASSIN:+-passin "$EASYRSA_PASSIN"} ${EASYRSA_PASSOUT:+-passout "$EASYRSA_PASSOUT"}