[Solved]Open VPN for windows run as Service..???
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Feb 06, 2015 12:51 am
[Solved]Open VPN for windows run as Service..???
Hi All,
I am trying to run the open vpn as service. Here is the error&warning from log file.....
Thu Feb 05 18:21:32 2015 OpenVPN 2.3.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 7 2014
Thu Feb 05 18:21:32 2015 library versions: OpenSSL 1.0.1i 6 Aug 2014, LZO 2.05
Thu Feb 05 18:21:32 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Enter Private Key Password:
Thu Feb 05 18:21:33 2015 ERROR: could not not read Private Key password from stdin
Thu Feb 05 18:21:33 2015 Exiting due to fatal error
I am not sure where or how to give the "PrivateKey Password" or "password for open vpn"?
Can anyone please help me...!
Thanks,
Santy.
I am trying to run the open vpn as service. Here is the error&warning from log file.....
Thu Feb 05 18:21:32 2015 OpenVPN 2.3.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Aug 7 2014
Thu Feb 05 18:21:32 2015 library versions: OpenSSL 1.0.1i 6 Aug 2014, LZO 2.05
Thu Feb 05 18:21:32 2015 WARNING: No server certificate verification method has been enabled. See http://openvpn.net/howto.html#mitm for more info.
Enter Private Key Password:
Thu Feb 05 18:21:33 2015 ERROR: could not not read Private Key password from stdin
Thu Feb 05 18:21:33 2015 Exiting due to fatal error
I am not sure where or how to give the "PrivateKey Password" or "password for open vpn"?
Can anyone please help me...!
Thanks,
Santy.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Open VPN for windows run as Service..???
the obvious solution is to remove the passphrase from private key if you
want to use openvpn as a service.
Michael.
want to use openvpn as a service.
Michael.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Feb 06, 2015 12:51 am
Re: Open VPN for windows run as Service..???
Michele,
Does it mean I need to remove the password from the Key file?
If so Do I need to do the same thing from server side?
Thanks for the response.
Does it mean I need to remove the password from the Key file?
If so Do I need to do the same thing from server side?
Thanks for the response.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Open VPN for windows run as Service..???
yesDoes it mean I need to remove the password from the Key file?
if your server key is protected with a passphrase and you want openvpnIf so Do I need to do the same thing from server side?
to start automatically then yes its good practice to remove the pass from the key.
Michael.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Feb 06, 2015 12:51 am
Re: Open VPN for windows run as Service..???
Thank you so much Michele,
We are discussing with server side team if they can accept to remove the Passphrase from the key file. (I guess they don't)
Just same Q.. Is there is there is no other way to run it as service..?
Thanks,
Santosh
We are discussing with server side team if they can accept to remove the Passphrase from the key file. (I guess they don't)
Just same Q.. Is there is there is no other way to run it as service..?
Thanks,
Santosh
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Open VPN for windows run as Service..???
via the openvpn GUI yes,
via windows services...AFAIK no.
Michael.
via windows services...AFAIK no.
Michael.
-
- OpenVpn Newbie
- Posts: 4
- Joined: Fri Feb 06, 2015 12:51 am
Re: Open VPN for windows run as Service..???
Hi Michael,
It is working with the changes that you have mentioned earlier.
Thanks for your help.
It is working with the changes that you have mentioned earlier.
Thanks for your help.
- maikcat
- Forum Team
- Posts: 4200
- Joined: Wed Jan 12, 2011 9:23 am
- Location: Athens,Greece
- Contact:
Re: Open VPN for windows run as Service..???
You welcome,
Marked as Solved,
closing topic
Regards,
Michael.
Marked as Solved,
closing topic
Regards,
Michael.