Regain the installed certificate


Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g., so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command: sudo certbot --apache -d

It produced this output:

My web server is (include version): ubuntu 16.04

The operating system my web server runs on is (include version): apache2

My hosting provider, if applicable, is: aws lightsaik

I can login to a root shell on my machine (yes or no, or I don’t know): no, before i can connect to my ssh but for some reason now i can not connect to my server

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):i forget the version of certbot

PS : I have successfully installed SSL and it is running. The problem is that after that I cannot connect to my server using SSH and have not had time to download the certificate. if I plan to reinstall the server, can I get the certificate back


Well, not the exact same certificate, but you could create a new one.

If you wish to keep the exact same certificate, you need to first back up the contents of /etc/letsencrypt/.