Page 1 of 1
Pass Phrase being asked on server at startup
Posted: Wed Jan 08, 2014 2:17 pm
by outInTheOpen
I have installed OpenVPN and gone through, what I believe to be, all the steps. It doesn't work yet, one problem seems to be that on server startup, before the root login prompt, OpenVPN asks for the Pass Phrase used for my client certificate. Is this normal? Second problem is that my pass phrase doesn't work. Any help resolving either of these 2 issues would be greatly appreciated.
Re: Pass Phrase being asked on server at startup
Posted: Thu Jan 09, 2014 7:59 am
by maikcat
you obviously protected the .key file with a password...
if you want your openvpn service to start automatically try to use a key without password protection.
Michael.
Re: Pass Phrase being asked on server at startup
Posted: Thu Jan 09, 2014 9:17 am
by outInTheOpen
Thanks Michael,
I created the client key file with the command:
./build-key-pass UserName
and the first field prompt to appear is the pass phrase
I am obliged to enter the pass phrase to continue.
Is this where I am going wrong? Where can I configure openvpn so not to request a pass phrase for the client key?
Re: Pass Phrase being asked on server at startup
Posted: Thu Jan 09, 2014 9:21 am
by outInTheOpen
to clarify the requirement:
I want to enter a password when I connect to OpenVPN from the client. But I do not want the server to prompt me for a password on startup.
Re: Pass Phrase being asked on server at startup
Posted: Fri Jan 10, 2014 11:38 am
by outInTheOpen
I did as you suggested, I recreated the server key and executed the command to remove the need for client verification.
But the Private Key Password is being requested for the client.conf file, not the server.conf.
No password was entered during the creation of server.conf. Since nothing worked, I then re-created the client.conf without a password (build-key) but still it asks for a password.