Page 1 of 1

Windows 10 Certificate files

Posted: Fri May 03, 2019 2:00 pm
by andywt
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?

Re: Windows 10 Certificate files

Posted: Fri May 03, 2019 2:09 pm
by TinCanTech
Specify the complete path in the config file ..