SSL problem failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)
John Feuerstein
john at feurix.com
Thu Feb 17 18:58:27 MSK 2011
Hi,
> [emerg]: SSL_CTX_use_PrivateKey_file("/root/ssl/site.com.key") failed
> (SSL: error:0B080074:x509 certificate
> routines:X509_check_private_key:key values mismatch)
> configuration file /usr/local/nginx/conf/nginx.conf test failed
make sure to re-read the section about chains:
http://nginx.org/en/docs/http/configuring_https_servers.html#chains
The message basically means that the key in your private key file (nginx
option "ssl_certificate_key") does not work for the _FIRST_ certificate
found in the chain file (nginx option "ssl_certificate").
Possible errors:
- chain in wrong order (own cert first, followed by intermediates)
- wrong private key
- wrong certificate
- corrupted private key file or chain (should all be in ASCII / PEM
container format), also check for broken line endings
Hope this helps,
John
More information about the nginx
mailing list