Windows 10 Certificate files

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
andywt
OpenVpn Newbie
Posts: 1
Joined: Fri May 03, 2019 1:37 pm

Windows 10 Certificate files

Post by andywt » Fri May 03, 2019 2:00 pm

I need the ability to go to 3 different sites (not at same time). I have 3 sets of cconfig file and the crt\key files. In my config file i have these 3 lines regarding these files:

Code: Select all

ca cckeys\\ca.crt
cert cckeys\\CountryClubStorage.crt
key cckeys\\CountryClubStorage.key
The I created a folder with the path : C:\Program Files\OpenVPN\cckeys that has 3 files: ca.crt, CountryClubStorage.crt, CountryClubStorage.key in the directory. The config imports fine but it won't connect as it complains:

Code: Select all

Options error: --ca fails with 'cckeys\ca.crt': No such process (errno=3)
Options error: --cert fails with 'cckeys\CountryClubStorage.crt': No such process (errno=3)
Fri May 03 01:46:45 2019 WARNING: cannot stat file 'cckeys\CountryClubStorage.key': No such process (errno=3)
Options error: --key fails with 'cckeys\CountryClubStorage.key'
Options error: Please correct these errors.
Use --help for more information.
If I place the config file and the 3 files in the C:\Program Files\OpenVPN\config folder the connection works fine.

What am I doing wrong?

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

Re: Windows 10 Certificate files

Post by TinCanTech » Fri May 03, 2019 2:09 pm

Specify the complete path in the config file ..

Post Reply