Help ! Nginx requests me to type SSL certificate pass phrase at each restart !

Started by nathanaelb, November 24, 2014, 06:32:12 PM

nathanaelb

Hi !
Thank you for the very usefull gateway tutorial.
Everything is working fine with the nginx installation & configuration, except that nginx is requesting my SSL pass phrase at every restart !
I've put it in /etc/init.d, in order for it to start on each system restart. But this is non interactive, and then nginx start fails.
I have to start it manually : sudo service nginx restart
But I then get the following message : Restarting nginx: Enter PEM pass phrase:
Then it works. But this is no good.

Has anyone got the same problem ?
Thank you a lot ...
NB

Felix

Weird,
Can you just recreate your SSL cert and see if it's still happening?

nathanaelb

I had already done that ... I recreated it once more ... It worked ! OK, that was it. Thank you.
In fact, I had some small problems copying/pasting the sample code in the tutorial : Some times, mistakes appeared in the pasted code. This time I pasted the code in a text editor, edited it before pasting it in my Raspberry Pi terminal (I use MobaXterm - another term, as Putty)