P
P
Pavel2016-06-29 11:25:47
linux
Pavel, 2016-06-29 11:25:47

Why is the letsencrypt certificate considered invalid?

I did it according to the instructions , but accidentally did not make the first item with .well-known , after which I added a single file and updated the certificates.
A message popped up saying that everything is OK
f55ad12645ab44f2b889f81d72e68238.PNG
. I restarted nginx, I try to connect to the site and I see that the certificate has been updated (I did it according to the instructions yesterday and the certificate expired on September 26, here it is 27), but it is still considered invalid ... How to confirm it?
nginx config example

server {
    listen 192.168.47.64:80;
    server_name example.com www.example.com;
    # enforce https
    return 301 https://$server_name$request_uri;

    if ($scheme != "https") {
       return 301 https://$host$request_uri;
    }
}
server {
    listen 192.168.47.64:443;
    server_name example.com www.example.com;
    ssl on;
    ssl_certificate /etc/certbot/live/example.com/fullchain.pem;
    ssl_certificate_key /etc/certbot/live/example.com/privkey.pem;
    ssl_protocols TLSv1 TLSv1.1 TLSv1.2;

    location / {
        root /srv/www/example.com;
    }
    include letsencrypt.conf;

 #   if ($scheme != "https") {
  #      return 301 https://$host$request_uri;
   # }
}

Error in the browser
828a8ccd82354d889146245bfba0aa35.PNG
Information about the certificate
038e66e350bd400d8383abf4369f59c3.PNG
I don't know what it can give you
SSLSHopper check result I
4757d45f53e840a894fe0d5575b30e34.PNG
looked through the line with the test server in the config settings... The problem is solved, thank you all!!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Slava Kryvel, 2016-06-29
@rusbaron

Why is it considered unreliable? what error does the browser give?

S
Sanes, 2016-06-29
@Sanes

The problem with the date is possible due to the skewed time zones, as an option. And unreliable may be due to incorrect configuration of the web server. In the spring I had a problem in Opera new.
If I'm not mistaken, then there is an option to revoke the certificate and create a new one. Or stupidly create a new one.

S
Sergi0Limit, 2016-06-29
@Sergi0Limit

https://community.letsencrypt.org/t/sec-error-unkn... read?
I had a similar problem, but with iis https://community.letsencrypt.org/t/iis-8-5-buildi...
the problem was in the mismatch of the chain of signers and was solved by replacing them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question