godaddy chained certs issue

Cliff Wells cliff at
Tue Jun 17 00:50:24 MSD 2008

I'm having an issue getting a Godaddy chained cert working.  It works fine under Apache.

Apache config:

SSLCertificateFile /etc/certs/
SSLCertificateKeyFile /etc/certs/
SSLCertificateChainFile /etc/certs/sf_intermediate_bundle.crt

To prepare the certs for use with Nginx, I used the following:

$ cat sf_intermediate_bundle.crt >

(I've also tried reversing the order of the files).

Nginx config:

ssl_certificate          /etc/certs/;
ssl_certificate_key      /etc/certs/;

Upon starting Nginx I get the following:

Starting nginx: 2008/06/16 13:40:17 [emerg] 8586#0: SSL_CTX_use_PrivateKey_file("/etc/certs/") failed 
(SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

Any suggestions?


More information about the nginx mailing list