Error causes Nginx go down same time

From the error log:

2011/02/25 06:25:03 [emerg] 21610#0: SSLCTXusePrivateKeyfile("/usr/local/nginx/conf/www.mydomain.com.key") failed (SSL: error:0906406D:PEM routines:PEMdefcallback:p$

2011/02/26 06:25:03 [emerg] 21516#0: SSLCTXusePrivateKeyfile("/usr/local/nginx/conf/www.mydomain.com.key") failed (SSL: error:0906406D:PEM routines:PEMdefcallback:p$

2011/02/27 06:25:03 [emerg] 1426#0: SSLCTXusePrivateKeyfile("/usr/local/nginx/conf/www.mydomain.com.key") failed (SSL: error:0906406D:PEM routines:PEMdefcallback:pr$

Any suggestions?

4 Replies

The key file has a password on it, remove it openssl rsa -in key.pem -out keyout.pem

@obs:

The key file has a password on it, remove it openssl rsa -in key.pem -out keyout.pem

Thanks! Any idea why this error is happening at the same time every day?

Probably logrotate is telling nginx to reload.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct