build-ca.bat not working

Support forum for Easy-RSA certificate management suite.
Post Reply
mmmshab
OpenVpn Newbie
Posts: 1
Joined: Sun Sep 03, 2017 11:26 am

build-ca.bat not working

Post by mmmshab » Sun Sep 03, 2017 11:33 am

Hi.
I have problem with config openvpn on my server.
it have problem with "build-ca",it not working. please help me
my cmd commends is in below:

Code: Select all

C:\Program Files\OpenVPN\easy-rsa>init-config

C:\Program Files\OpenVPN\easy-rsa>copy vars.bat.sample vars.bat
        1 file(s) copied.

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
'openssl' is not recognized as an internal or external command,
operable program or batch file.

C:\Program Files\OpenVPN\easy-rsa>build-ca.bat
'openssl' is not recognized as an internal or external command,
operable program or batch file.

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

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 3243
Joined: Fri Jun 03, 2016 1:17 pm

Re: build-ca.bat not working

Post by TinCanTech » Sun Sep 03, 2017 11:36 am

You must include openssl.exe in your PATH environment variable.

The simple way to do this is re-install openvpn correctly.

Post Reply