Ubuntu: SSL Certificate Issue Godaddy + DigitalOcean + Nginx



Question:

I follow digitalocean tutorial - how to install godaddy certificate with nginx. Everything worked fine expect it's not showing green color in chrome or lock in safari.

I tested certificate with godaddy and showing me chain anchor issue.

Godaddy Result : https://casecurity.ssllabs.com/analyze.html?viaform=on&d=yourserviceconnection.com

Here is how i did:

cat website.com.crt godaddy-intermediate.crt > chained.crt  

In Nginx :

server {            server_name website.com;            listen 443 ssl;            ssl_certificate /etc/nginx/ssl/chained.crt;          ssl_certificate_key /etc/ssl/private//new.key;            root /var/www/html/website.com/public/;          index index.html index.php index.htm index.hh;          location / {                  try_files $uri $uri/ /index.php?$query_string;          }          location ~ \.(hh|php)$ {                  fastcgi_keep_conn on;                  fastcgi_pass 127.0.0.1:9000;                  fastcgi_index index.php;                  fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;                  include fastcgi_params;          }  }  

Result :

enter image description here


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »