Error: The System was unable to find the specified registry key or value

Support forum for Easy-RSA certificate management suite.

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

Post Reply
shahzadvs@consyst.biz
OpenVpn Newbie
Posts: 3
Joined: Fri Sep 13, 2019 6:03 am

Error: The System was unable to find the specified registry key or value

Post by shahzadvs@consyst.biz » Fri Sep 13, 2019 6:57 am

I am new to OpenVPN. I am using a device using OpenVPN 2.3.6-2. I have used easy-rsa2 for generating keys and certificates for OpenVPN, by following instructions in the link https://openvpn.net/community-resources ... hority-ca/. I am using windows7 OS. I had done following steps:

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

ERROR:The System was unable to find the specified registry key or value

Why it's showing like that? How to resolve this error and go further for generating OpenVPN certificate?

TinCanTech
OpenVPN Protagonist
Posts: 11138
Joined: Fri Jun 03, 2016 1:17 pm

Re: Error: The System was unable to find the specified registry key or value

Post by TinCanTech » Fri Sep 13, 2019 1:18 pm

shahzadvs@consyst.biz wrote:
Fri Sep 13, 2019 6:57 am
I am using windows7 OS
And which version of openvpn have you installed ?

shahzadvs@consyst.biz
OpenVpn Newbie
Posts: 3
Joined: Fri Sep 13, 2019 6:03 am

Re: Error: The System was unable to find the specified registry key or value

Post by shahzadvs@consyst.biz » Sat Sep 14, 2019 4:19 am

TinCanTech wrote:
Fri Sep 13, 2019 1:18 pm
shahzadvs@consyst.biz wrote:
Fri Sep 13, 2019 6:57 am
I am using windows7 OS
And which version of openvpn have you installed ?
I am using OpenVPN 2.3.6-2. Also, when I tried to execute build-ca command, it showed error " 'openssl' is not recognized as an internal or external command, operable program or batch file". I have downloaded easy-rsa from this link: https://github.com/OpenVPN/easy-rsa-old

shahzadvs@consyst.biz
OpenVpn Newbie
Posts: 3
Joined: Fri Sep 13, 2019 6:03 am

Re: Error: The System was unable to find the specified registry key or value

Post by shahzadvs@consyst.biz » Sat Sep 14, 2019 8:08 am

shahzadvs@consyst.biz wrote:
Sat Sep 14, 2019 4:19 am
TinCanTech wrote:
Fri Sep 13, 2019 1:18 pm
shahzadvs@consyst.biz wrote:
Fri Sep 13, 2019 6:57 am
I am using windows7 OS
And which version of openvpn have you installed ?
I am using OpenVPN 2.3.6-2. Also, when I tried to execute build-ca command, it showed error " 'openssl' is not recognized as an internal or external command, operable program or batch file". I have downloaded easy-rsa from this link: https://github.com/OpenVPN/easy-rsa-old
Can I generate OpenVPN certificates and client configuration file(with '.ovpn' extension) by using easy-rsa2 package installed in a PC(which is not an OpenVPN server)?

TinCanTech
OpenVPN Protagonist
Posts: 11138
Joined: Fri Jun 03, 2016 1:17 pm

Re: Error: The System was unable to find the specified registry key or value

Post by TinCanTech » Sat Sep 14, 2019 11:50 am

shahzadvs@consyst.biz wrote:
Sat Sep 14, 2019 4:19 am
I am using OpenVPN 2.3.6-2.
Which is 5 years old .. please upgrade to a new version, preferably 2.4.x

I would also recommend using Easyrsa 3 : https://github.com/OpenVPN/easy-rsa/releases

Post Reply