Build-Ca error

Support forum for Easy-RSA certificate management suite.

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

Post Reply
kamaraj
OpenVpn Newbie
Posts: 1
Joined: Tue Aug 25, 2015 5:33 am

Build-Ca error

Post by kamaraj » Tue Aug 25, 2015 5:42 am

Hi,
Please help me regarding this !
Am configuring openVPN in windows am getting error while creating the build-ca .

C:\Program Files (x86)\OpenVPN\easy-rsa>build-ca
The system cannot find the path specified.
Loading 'screen' into random state - done
Generating a 1024 bit RSA private key
...................++++++
.........++++++
unable to write 'random state'
writing new private key to 'keys\ca.key'
-----
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [IN]:
State or Province Name (full name) [CA]:
Locality Name (eg, city) [Bangalore]:
Organization Name (eg, company) [OpenVPN-CA]:
Organizational Unit Name (eg, section) []:
Common Name (eg, your name or your server's hostname) []:OpenVPN-CA
Email Address [kamaraj@system-controls.com]:
'Country' is not recognized as an internal or external command,
operable program or batch file.
'State' is not recognized as an internal or external command,
operable program or batch file.
'Locality' is not recognized as an internal or external command,
operable program or batch file.
'Organization' is not recognized as an internal or external command,
operable program or batch file.
'Organizational' is not recognized as an internal or external command,
operable program or batch file.
'Common' is not recognized as an internal or external command,
operable program or batch file.
'Email' is not recognized as an internal or external command,
operable program or batch file.

User avatar
maikcat
Forum Team
Posts: 4200
Joined: Wed Jan 12, 2011 9:23 am
Location: Athens,Greece
Contact:

Re: Build-Ca error

Post by maikcat » Tue Aug 25, 2015 8:28 am

which easy-rsa version did you installed?
can you post the contents of build-ca.bat file?
which openvpn version are you using?

Michael.

User avatar
Traffic
OpenVPN Protagonist
Posts: 4066
Joined: Sat Aug 09, 2014 11:24 am

Re: Build-Ca error

Post by Traffic » Tue Aug 25, 2015 10:21 am

Looks like Win 7 or higher .. you will probably need to "Run as Administrator" not just be logged in as administrator.

Post Reply