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. https://crt.sh/?q=example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is:textilemachineryspares.com
I ran this command:
It produced this output:
My web server is (include version):AWS Lightsail
The operating system my web server runs on is (include version):AWS linux
My hosting provider, if applicable, is:AWS Lightsail
I can login to a root shell on my machine (yes or no, or I don’t know):yes
I’m using a control panel to manage my site (no, or provide the name and version of the control panel):Lightsail ssh
The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot):certbot manual
I installed Letsencrypt SSL successfully in this domain. I mistakenly added another Lightsail instance domain in the same instance. Realised my mistake and deleted TXT reords and tried re- install from the beginning. How do you completely delete SSL related files and re-install the certificate from the start.
I Have successfully installed the certificate by following step by step documents for several sites. . Where i made the mistake is, for another instance and another domain i connected the ssh command of the above said domain and start to add commands step by step. Middle of the process, i realised i am using (textilemachineryspares.com domain’s) command line for another domain in Lightsail. So i deleted TXT records and try to start from the beginning. The certificates are issued. I am unable to delete and start from scratch.
Deleting the TXT records isn't a mistake, for what it's worth. You can delete them as soon as Let's Encrypt has validated the domain. They only have to exist for a few minutes. You can also delete them if you decide you don't want to issue the certificate at all.
Every time you renew the certificate, different TXT records will have to be set.
FYI, the Amazon tutorial does not follow the recommended way to use Let's Encrypt -- with automated validation and automated renewal. You shouldn't have to execute manual steps and manually copy and paste DNS records every 2-3 months.
You should consider using different documentation instead. But I don't have a good link off hand.