TinCanTech / easy-tls

Manage and Inline OpenVPN TLS keys and Easy-RSA PKI credentials. Supports OpenVPN TLS-Crypt-V2 key system and OpenVPN Peer-Fingerprint mode.
GNU General Public License v2.0
87 stars 19 forks source link

How to install easy-tls? #307

Open ComptonAlvaro opened 10 months ago

ComptonAlvaro commented 10 months ago

I am trying to instal easy-tls in windows, but I don't understand the documention.

I have easy-rsa 3 in a directory. I have download and copy the easytls file, and copy to easy-rsa 3 directory. I start the easy-rsa 3 shell with EasyRSA-Start.bat I run ./easytls init-tls

But I get an error of missing files:

Missing: D:/Progra~1/Openvpn/easy-rsa/bin
Missing: D:/Progra~1/Openvpn/easy-rsa/bin
Missing: D:/Progra~1/Openvpn/bin
Missing: D:/Progra~1/Openvpn/bin/openssl.exe
Missing: D:/Progra~1/Openvpn/bin/openvpn.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/cat.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/date.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/grep.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/ls.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/mv.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/sed.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/printf.exe

Where should I copy the easytls file and how could I initialize it?

Thanks.

TinCanTech commented 10 months ago

To use easytls you must install openvpn.

ComptonAlvaro commented 4 months ago

I have copy the file "easytls" in the folder OpenVPN\easy-rsa, where is installed the openVpn with the easy-rsa tool, but when I run:

And I still get the same error:

Missing: D:/Progra~1/Openvpn/easy-rsa/bin
Missing: D:/Progra~1/Openvpn/easy-rsa/bin
Missing: D:/Progra~1/Openvpn/bin
Missing: D:/Progra~1/Openvpn/bin/openssl.exe
Missing: D:/Progra~1/Openvpn/bin/openvpn.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/cat.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/date.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/grep.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/ls.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/mv.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/sed.exe
Missing: D:/Progra~1/Openvpn/easy-rsa/bin/printf.exe

Where should I copy the easytls file? Or how should I configure the evironment?

Thanks.

TinCanTech commented 4 months ago

Which version of Windows are you using ?

ComptonAlvaro commented 4 months ago

I am using Windows 11 23H2.

TinCanTech commented 4 months ago

Unfortunately, EasyRSA and EasyTLS require full administrator access to your system, which makes casual use next-to impossible.

Solutions are being considered.

https://github.com/OpenVPN/easy-rsa/issues/1082

ComptonAlvaro commented 4 months ago

And if I run a CMD as administrator could it work?

TinCanTech commented 4 months ago

All I know is that EasyRSA and EasyTLS pass unit tests on githib actions, using windows-latest.

If you like to help by testing then try to get EasyRSA working first.