SSL Password

Hello,

I tried to install nginx with SSL. However I’ve setup with PEM password.
Everytime I reload/restart nginx, it’s always asking me for the
password.

Is there any way to make it automatically?

Best Regards,

Glen L.

That would kind of defeat the purpose wouldn’t it?

Hello!

On Sun, Nov 08, 2009 at 12:49:22AM +0000, Glen L. wrote:

Hello,

I tried to install nginx with SSL. However I’ve setup with PEM password. Everytime I reload/restart nginx, it’s always asking me for the password.

Is there any way to make it automatically?

It’s not really clear how such “automatic password entering” is
different from no password on key file at all. If you have an
explanation - please let us know.

To remove password from your key file use something like this:

openssl rsa -in server.key -out server.key.nopasswd

It’s also a good idea to make sure only root can read resulting
key file, e.g. by

chmod 400 server.key.nopasswd

Maxim D.