cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Go to solution

nginx error with Godaddy ssl

Hi guys,

 

i have created the key , csr , 

and applied all steps to get ssl cert ,

 

i have issues on setup it with nginx ,

 

1- no option to download crt for nginx 

2- when i choose Apache , i got 2 files , gd_bundle-g2-g1.crt  , 8c17b7af7f0734b.crt 

then i do conactenate in one file using this command ,  ( cat gd_bundle-g2-g1.crt >> example.com.crt ) 
3- i followed the setup from that link 
https://www.godaddy.com/garage/how-to-install-an-ssl-certificate-on-ubuntu-for-nginx/

4- unfortunately when i want to restart the nginx server i always getting error 

nginx: [emerg] SSL_CTX_use_PrivateKey_file("/path/to/domain.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

 

appreciate your helping to solve this issue ..

1 REPLY 1
Solution

Re: nginx error with Godaddy ssl

hi guys ,

i have solved my issue , i like to share the solution  ,

after many attempts to generate CSR , KEY , and the result always not matched  ,  with error 

nginx: [emerg] SSL_CTX_use_PrivateKey_file("/path/to/domain.key") failed (SSL: error:0B080074:x509 certificate routines:X509_check_private_key:key values mismatch)

1- i re-installed oppenssl ,
2- and i followed this article :

https://my.godaddy.com/help/nginx-on-centos-7-install-a-certificate-27192
this for centos but works fine for ubuntu as well , 

Hope this help Smiley Happy

thanks