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 change the directory settings for easytls? #301

Open CallousComputer opened 2 years ago

CallousComputer commented 2 years ago

Hello? I found a old tutorial to install openVPN on the internet , which used your tool, but it told me to download two files easytls and easytls-openssl.cnf But the latter is gone, so i first tried do without cnf file, and a lot of missing file errors jumping out, seems easytls failed to find the openvpn , though the easytls file is inside the easyrsa document. So i think i gotta to change the directory settings in the cnf file, since i didn't install open vpn by default settings. later i found out that cnf file is deleted and into the easytls file, so i tried edit it, but still dunno how to change the directory in it. So , how to change the directory settings for easytls?I failed to find how on github.

TinCanTech commented 2 years ago

I don't know what you mean or how to help ...

CallousComputer commented 2 years ago

I've put easytls in E:\Open VPN\easy-rsa , and... `# ./easytls init-tls

Missing: E:/Progra~1/Openvpn/easy-rsa/bin

Missing: E:/Progra~1/Openvpn/easy-rsa/bin

Missing: E:/Progra~1/Openvpn/bin

Missing: E:/Progra~1/Openvpn/bin/openssl.exe

Missing: E:/Progra~1/Openvpn/bin/openvpn.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/cat.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/date.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/grep.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/ls.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/mv.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/sed.exe

Missing: E:/Progra~1/Openvpn/easy-rsa/bin/printf.exe

Windows file setup error!`

idk ,is this the problem of the space in directory?

TinCanTech commented 2 years ago

Where have you installed OpenVPN ?

CallousComputer commented 2 years ago

in E:\Open VPN

CallousComputer commented 2 years ago

image

TinCanTech commented 2 years ago

Try using the -b option.

Let me know how that goes.

CallousComputer commented 2 years ago

# ./easytls -b="E:\open vpn" version Easy-TLS 2.8.0 (0)

TinCanTech commented 2 years ago

For now, that is how you need to use easytls with the -b option.

It would be far easier to install OpenVPN in the normal place...

However, now that you have shown me this difficulty, I will work out if it is possible to save the base directory name to the config file, so you only need to set it once.

CallousComputer commented 2 years ago

ah , i see what you mean.

CallousComputer commented 2 years ago

Thanks a lot

TinCanTech commented 2 years ago

Thanks for trying EasyTLS, if you have other problems then please let me know.

I'll leave this issue open, until you are satisfied.

CallousComputer commented 2 years ago

Okay!

TinCanTech commented 2 years ago

Linking #257 - This could decide to keep custom.openvpn and improve it.