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 = '', 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

  • Trying
  • Connected to ( 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?


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

yes its worng


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


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