Unrecognized certificate

Hello,

I have a server debian 8 with nginx.
My certificate it’s unrecognized only on the home of my site.
this is link : https://lecomptoirdugamer.fr/ while in this url : https://lecomptoirdugamer.fr/category/pc it’s correct.

here is my vhost :
server {
listen 80;
listen 443 ssl;

server_name lecomptoirdugamer.fr www.lecomptoirdugamer.fr;

root /var/www/jeux/web;

ssl on;
ssl_prefer_server_ciphers On;

ssl_certificate     /etc/letsencrypt/live/lecomptoirdugamer.fr/cert.pem;

ssl_certificate_key /etc/letsencrypt/live/lecomptoirdugamer.fr/privkey.pem;

ssl_trusted_certificate /etc/letsencrypt/live/lecomptoirdugamer.fr/fullchain.pem;

ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;

ssl_ciphers EECDH+AESGCM:EECDH+AES;

ssl_stapling on;
ssl_stapling_verify on;

# Google DNS, Open DNS, Dyn DNS
resolver 8.8.8.8 8.8.4.4 208.67.222.222 208.67.220.220 216.146.35.35 216.146.36.36 valid=300s;
resolver_timeout 3s;

For me the certificate is recognised in both cases.

However, the site front page includes “mixed content”. Some elements, such as scripts, images or videos shown on the page are not coming from a secure origin. This is not a certificate problem, so resolving it will require altering the site’s contents and is outside Let’s Encrypt’s purview.

Also, you should specify

ssl_certificate /etc/letsencrypt/live/lecomptoirdugamer.fr/fullchain.pem;

rather than only cert.pem

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.