title: SSL Certificate Not Trusted - Intermediate Certificate
body: <p>When I check my website through Digicert, it says that <em>SSL Certificate is not trusted</em></p>
  
  <p><a href="https://i.stack.imgur.com/fCKQm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fCKQm.png" alt="enter image description here"></a></p>
  
  <p>Here's the NGINX configuration</p>
  
  <pre><code>server {
      listen 80;
      listen 443 default_server ssl;
      server_name ~. "";
      location / {
          proxy_pass http://localhost:8080;
      }
  
      # Wildcard certificate
      ssl_certificate /etc/ssl/certs/STAR_mydomain_com-bundle.crt; 
      ssl_certificate_key /etc/ssl/private/STAR_mydomain_com.key; 
  }
  </code></pre>
  
  <p>The <code>STAR_mydomain_com-bundle.crt</code> and <code>STAR_mydomain_com.key</code> are the only two files emailed by Comodo when I registered the SSL. So I'm not sure which file is missing in the chain.</p>