[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

Re: [Openvpn-users] Cannot open file key file


  • Subject: Re: [Openvpn-users] Cannot open file key file
  • From: Alon Bar-Lev <alon.barlev@xxxxxxxxx>
  • Date: Wed, 04 Jan 2006 20:29:36 +0200

Steve Rainbird wrote:
When I try and run openvpn as a service I get the following messages in my
log file

files\openvpn\config\pc-steve.key': Access is denied.   (errno=5)
Wed Jan 04 18:11:28 2006 Exiting

Any ideas?

My config file has this line

secret "c:\\program files\\openvpn\\config\\pc-steve.key"

I have also tried

secret "C:\\Program Files\\OpenVPN\\config\\pc-steve.key"

with the same result

This works fine when run from the command line.


Check out the permission on the config directory and the key file.


You can do that using explorer->select->properties->security

If you don't see the security tab you can use cacls command via the command-line.

I guess the service user does not have permission to access this file.

Best Regards,
Alon Bar-Lev.

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00081.html on line 196

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00081.html on line 196