2011年2月17日星期四

SSL problem failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

Hello,
I'm not able to setup ssl and I need some help please:
Here is what I have done already:
1: step by step this touturial
http://nginx.groups.wuyasea.com/articles/how-to-setup-godaddy-ssl-certificate-on-nginx/2
2.read this:
http://nginx.org/en/docs/http/configuring_https_servers.html
3 read this and folowed step by step second post:
http://forum.nginx.org/read.php?2,98745,98757

I'm getting this error:
[root@x316 ssl]# /etc/init.d/nginx restart
[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

My certificate is from godaddy and is valid for 2 years.
output from dir:
[root@x316 ssl]# ls
gd_bundle.crt ssl.zip site.pem Site.crt Site.csr Site.com.key


Regards

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,176163,176163#msg-176163


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论