Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: openssl-easyrsa.cnf not found in easy-rsa 3
Thanks Richard. How tu use the patch please ?
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: openssl-easyrsa.cnf not found in easy-rsa 3
How to edit precisely the source file to make the replacement ?
Notepad++ for example (https://notepad-plus-plus.org/) ?
Notepad++ for example (https://notepad-plus-plus.org/) ?
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: openssl-easyrsa.cnf not found in easy-rsa 3
Replacement done with Notepad++
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: openssl-easyrsa.cnf not found in easy-rsa 3
This change will not fix your issue but it will help us to figure out what is going wrong..
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: openssl-easyrsa.cnf not found in easy-rsa 3
After the replacement in line 1738, now I obtain this :
Code: Select all
# ./easyrsa build-ca nopass
Easy-RSA error:
Missing x509-types folder
EasyRSA Shell
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: openssl-easyrsa.cnf not found in easy-rsa 3
That is exactly the result I was expecting.
Please change this (line:1745):
to this:
and try once more..
Please change this (line:1745):
Code: Select all
die "Missing x509-types folder"
Code: Select all
die "Missing x509-types folder: $EASYRSA/x509-types"
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: openssl-easyrsa.cnf not found in easy-rsa 3
OK, I try this modification.
Last edited by valorisa34 on Sun Nov 14, 2021 11:08 am, edited 1 time in total.
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: openssl-easyrsa.cnf not found in easy-rsa 3
Hello Richard,
The last result with modification : ' die "Missing x509-types folder: $EASYRSA/x509-types" '
You can see /cygdrive/c because I have Cygwin installed for several months.
The last result with modification : ' die "Missing x509-types folder: $EASYRSA/x509-types" '
Code: Select all
C:\PROGRA~1\OpenVPN\easy-rsa>easyrsa-start.bat
Welcome to the EasyRSA 3 Shell for Windows.
Easy-RSA 3 is available under a GNU GPLv2 license.
Invoke './easyrsa' to call the program. Without commands, help is displayed.
EasyRSA Shell
# ./easyrsa init-pki
Easy-RSA error:
Missing x509-types folder: /cygdrive/c/PROGRA~1/OpenVPN/easy-rsa/x509-types
EasyRSA Shell
#
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: openssl-easyrsa.cnf not found in easy-rsa 3
I believe Easy-RSA shell does not understand your drive naming format.valorisa34 wrote: ↑Sun Nov 14, 2021 10:21 amEasy-RSA error:
Missing x509-types folder: /cygdrive/c/PROGRA~1/OpenVPN/easy-rsa/x509-types
Try a different disk or something..
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: openssl-easyrsa.cnf not found in easy-rsa 3
If you care to join me on IRC, there are some tests we could try ..
https://web.libera.chat/ channel #tincantech
https://web.libera.chat/ channel #tincantech
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
Ok. Asap with my PC. Thanks.
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
If you find time to test then please test these two commands:
thanks.
Ref: https://github.com/OpenVPN/easy-rsa/issues/467
Code: Select all
pwd
echo $PWD
Ref: https://github.com/OpenVPN/easy-rsa/issues/467
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
Code: Select all
EasyRSA Shell
# pwd
C:/EasyRSA3
EasyRSA Shell
# echo $PWD
C:/EasyRSA3
EasyRSA Shell
#
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
For the OpenVPN client, I use a Android smartphone from which I've installed 'OpenVPN Connect' from Play Store.
The log gives :
The log gives :
Code: Select all
22:49:05.697 -- Transport Error: UDP connect error on '***********.ddnsfree.com:1194' ([**************************]:1194): Network is unreachable
22:49:05.697 -- Client terminated, restarting in 2000 ms...
22:49:07.698 -- EVENT: RECONNECTING
22:49:07.703 -- EVENT: RESOLVE
22:49:07.713 -- Contacting ***************:1194 via UDP
22:49:07.714 -- EVENT: WAIT
22:49:07.717 -- Connecting to [**********.ddnsfree.com]:1194 (***************) via UDPv4
23:32:20.209 -- EVENT: RECONNECTING
23:32:20.211 -- EVENT: RESOLVE
23:32:20.219 -- Contacting ******************:1194 via UDP
23:32:20.220 -- EVENT: WAIT
23:32:20.222 -- Connecting to [********************.ddnsfree.com]:1194 (*****************) via UDPv4
23:32:24.920 -- EVENT: DISCONNECTED
23:32:24.921 -- Tunnel bytes per CPU second: 0
23:32:24.921 -- ----- OpenVPN Stop -----
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
See your server log for errors.
-
- OpenVPN User
- Posts: 22
- Joined: Fri Nov 12, 2021 9:39 am
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
I post the new problem in another place.
-
- OpenVPN Protagonist
- Posts: 11138
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Windows 11 - openssl-easyrsa.cnf not found in easy-rsa 3
Also, because you are using Windows, make sure you open Port UDP:1194 for openvpn , in your server firewall.