How to start OpenVPN as service under windows
Posted: Tue Oct 11, 2011 3:01 pm
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
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