I just downloaded the last openvpn-install-2.3.17-I001-i686.exe (for Windows XP)
I am following this guide:
https://openvpn.net/index.php/open-sour ... o.html#pki
But when I start build-dh.bat I obtain this warning:
WARNING: can't open config file: /etc/ssl/openssl.cnf
I found the solution is to set OPENSSL_CONF with this command:
set OPENSSL_CONF=%HOME%\openssl-1.0.0.cnf
Can You please update the build-dh.bat file ?
Please correct build-dh.bat
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Jul 28, 2017 2:24 pm
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
-
- OpenVpn Newbie
- Posts: 2
- Joined: Fri Jul 28, 2017 2:24 pm
Re: Please correct build-dh.bat
I am now using EasyRSA-3.0.1-rc2, but I see the same warning:
openssl dhparam -out %KEY_DIR%/dh%KEY_SIZE%.pem %KEY_SIZE%
WARNING: can't open config file: /etc/ssl/openssl.cnf
openssl dhparam -out %KEY_DIR%/dh%KEY_SIZE%.pem %KEY_SIZE%
WARNING: can't open config file: /etc/ssl/openssl.cnf
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Please correct build-dh.bat
That problem is hard coded into openssl.exe
You can copy the file ..\openvpn\easy-rsa\openssl-1.0.0.cnf to \etc\ssl\openssl.cnf
I doubt it will ever be fixed in that version of openssl ..
You can copy the file ..\openvpn\easy-rsa\openssl-1.0.0.cnf to \etc\ssl\openssl.cnf
I doubt it will ever be fixed in that version of openssl ..
-
- OpenVpn Newbie
- Posts: 1
- Joined: Wed Nov 15, 2017 12:55 pm
Re: Please correct build-dh.bat
Fair enough, I'm still having the issue so I gues it wil never get fixed.TinCanTech wrote: ↑Mon Jul 31, 2017 12:15 pmThat problem is hard coded into openssl.exe
You can copy the file ..\openvpn\easy-rsa\openssl-1.0.0.cnf to \etc\ssl\openssl.cnf
I doubt it will ever be fixed in that version of openssl ..