SSl give me error after delete certs

Hello Hello

I made a wrong move to delete the content from the Live folder in letsencrypt and now I can not rebuild my domain I try and receive this error

requests.exceptions.SSLError: HTTPSConnectionPool (host = 'acme-v02.api.letsencrypt.org', port = 443): Max retries exceeded with url: / directory (Caused by SSLError (SSLError ("bad handshake: Error ([) 'SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]) ")))

Please see the logfiles in / var / log / letsencrypt for more details.

can somebody help me?

1 Like

Show me the output of

curl -vvv https://acme-v02.api.letsencrypt.org/directory

2 Likes
  • Trying 172.65.32.248:443...
  • TCP_NODELAY set
  • Connected to acme-v02.api.letsencrypt.org (172.65.32.248) port 443 (#0)
  • ALPN, offering h2
  • ALPN, offering http/1.1
  • successfully set certificate verify locations:
  • CAfile: /etc/ssl/certs/ca-certificates.crt
    CApath: /etc/ssl/certs
  • TLSv1.3 (OUT), TLS handshake, Client hello (1):
  • TLSv1.3 (IN), TLS handshake, Server hello (2):
  • TLSv1.3 (IN), TLS handshake, Encrypted Extensions (8):
  • TLSv1.3 (IN), TLS handshake, Certificate (11):
  • TLSv1.3 (OUT), TLS alert, bad certificate (554):
  • SSL certificate problem: certificate is not yet valid
  • Closing connection 0
    curl: (60) SSL certificate problem: certificate is not yet valid
    More details here: curl - SSL CA Certificates

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

1 Like

Can you check the clock on your system?

6 Likes

root@fileserver:~# date
Sat 16 Apr 2022 05:56:35 PM UTC

yes its worng

2 Likes

yes all works perfect now!!!! thnx community!!!

3 Likes

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