"build-ca" fails as it cannot open "openssl-1.0.0.cnf"

Support forum for Easy-RSA certificate management suite.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Post Reply
caffeineee
OpenVpn Newbie
Posts: 1
Joined: Sun Oct 08, 2023 2:07 pm

"build-ca" fails as it cannot open "openssl-1.0.0.cnf"

Post by caffeineee » Sun Oct 08, 2023 2:14 pm

I've installed OpenVPN v2.6.6 on my Windows 11 PC, and downloaded the "easy-rsa-old" batch files as the how-to has instructed me to do.
I've been following the OpenVPN how-to, and I can successfully run init-config, configure vars.bat, run vars.bat, but after that, the process starts failing like so:

Code: Select all

C:\Program Files\OpenVPN\easy-rsa>clean-all
The system cannot find the file specified.
        1 file(s) copied.
        1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>build-ca
Can't open "openssl-1.0.0.cnf" for reading, No such file or directory
24490000:error:80000002:system library:BIO_new_file:No such file or directory:crypto\bio\bss_file.c:67:calling fopen(openssl-1.0.0.cnf, r)
24490000:error:10000080:BIO routines:BIO_new_file:no such file:crypto\bio\bss_file.c:75:
In my "C:\Program Files\OpenVPN\easy-rsa" directory I can only find a file titled "openssl-easyrsa.cnf", but no "openssl-1.0.0.cnf". If I update vars.bat "set KEY_CONFIG=openssl-1.0.0.cnf" to "set KEY_CONFIG=openssl-easyrsa.cnf", the following happens:

Code: Select all

C:\Program Files\OpenVPN\easy-rsa>vars

C:\Program Files\OpenVPN\easy-rsa>clean-all
        1 file(s) copied.
        1 file(s) copied.

C:\Program Files\OpenVPN\easy-rsa>build-ca
req: Error on line 10 of config file "openssl-easyrsa.cnf"
503D0000:error:07000068:configuration file routines:str_copy:variable has no value:crypto\conf\conf_def.c:768:line 10
How may I resolve this issue?

Post Reply