I can start OpenVPN from console(CMD command) under windows, but can not start it as a service.Log says:
Tue Oct 11 16:55:58 2011 OpenVPN 2.2.1 Win32-MSVC++ [SSL] [LZO2] built on Jul 1 2011
Tue Oct 11 16:55:58 2011 NOTE: OpenVPN 2.1 requires '--script-security 2' or higher to call user-defined scripts or executables
Tue Oct 11 16:55:58 2011 Cannot load certificate file client1.crt: error:02001002:system library:fopen:No such file or directory: error:20074002:BIO routines:FILE_CTRL:system lib: error:140AD002:SSL routines:SSL_CTX_use_certificate_file:system lib
Tue Oct 11 16:55:58 2011 Exiting
Where can I set a path to client1.crt?
I have that certificate in \OpenVPN\bin directory
Thanks for help
How to start OpenVPN as service under windows
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVpn Newbie
- Posts: 10
- Joined: Thu Sep 29, 2011 1:48 pm
- janjust
- Forum Team
- Posts: 2703
- Joined: Fri Aug 20, 2010 2:57 pm
- Location: Amsterdam
- Contact:
Re: How to start OpenVPN as service under windows
normally , openvpn is launched from the 'OpenVPN\config' folder: try placing the cert+key files there.
-
- OpenVpn Newbie
- Posts: 10
- Joined: Thu Sep 29, 2011 1:48 pm
Re: How to start OpenVPN as service under windows
Thanks for help.Now it works