On Fri, 24 Feb 2023 01:14:12 +0000, tincantech via Openvpn-users
<openvpn-users@lists.sourceforge.net> wrote:

>There is an 'upgrade' command for EasyRSA version 3
>
>    easyrsa upgrade pki
>
>This moves your version 2 /keys folder to the required layout for version 3.
>
>If you feel ill-at-ease with an unknown command like that then make a backup
>of your installation and test on that first.

So I have created a new "easy-rsa" dir by doing this:

wget
https://github.com/OpenVPN/easy-rsa/releases/download/v3.1.2/EasyRSA-3.1.2.tgz
tar -xvf EasyRSA-3.1.2.tgz

This gives me a new EasyRSA-3.1. subdir in parallel with the existinf easy-rsa
dir.

Then inside that I did:

cp -r ../easy-rsa/keys ./

So now I have a *copy* of the active keys dir from version 2 inside the version
3 dir.

Is this then ready to execute the upgrade command?

easyrsa upgrade pki

Note that the keys dir contains a whole lot of client related files as well,
four files for each client (Name.3des.key, Name.crt, Name.csr and Name.key)

These have been used to create the ovpn files for each client, which are stored
in a "clients" subdir of easy-rsa.


-- 
Bo Berglund
Developer in Sweden



_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to