Lets Encrypt certificate file disappeared

Asked 1 years ago, Updated 1 years ago, 101 views

Thank you for your help.

We are currently operating the website as SSL.
I used Let's Encrypt for SSL, but the certificate file disappeared from /etc/letscrypt/live/example.com.There is no /live directory.
SSL on the website is valid and expires at the end of September as originally planned.

Last certificate creation

cd certbot
./certbot-autocertonly -- manual

and challenge response authentication.

However, when I checked the certificate file with the command below, it became No such file or directory, and when I checked the contents of /etc, it seems that there is no /letsencrypt.

sudols/etc/letsencrypt/live/mydomain

However, /letsencrypt, which should not have been there, came back after trying various commands, but it seems empty and does not exist below /live

What measures should I take if I lose my certificate and private key like this?
Thank you for your cooperation.

I didn't get a reply, so I'm doing multi-posting.
https://teratail.com/questions/44065

ssl letsencrypt

2022-09-29 21:33

2 Answers

Where is the web server reading the certificate?
If it's Let's Encrypt, we'll have to renew the certificate after all, so I think we should recreate it.


2022-09-29 21:33

I tried to recreate it, but when I run the command, I get an error with ExecutableNotFound.

I think the Cerbot client has also disappeared (disappeared?).
I think it would be good to try re-inserting the Cerbot client and then re-creating a new certificate.


2022-09-29 21:33

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.