My domain is: www.harvestdata.today (this is hosted with Godaddy).
However, I tried to create LetsEncrypt certificate for a Linux server (Amazon Linux2 with Apache httpd). The domain name of the server “web.harvestdata.today” and alias is “www.web.harvestdata.today” note these are FQDN but are just domain and alias of a Linux server!
(At that time DNS entries for these existed in records with Godaddy, I have removed it now)
I ran this command: Do not recollect the command, but both the certificates were produced successfully. I was guided to test the certificates at www.ssllabs.com, which I did.
It produced this output:
web.harvestdata.today received a ‘T’ rating &
www.web.harvestdata.today received a ‘A’ rating !!
My web server is (include version): Apache/2.4.34
The operating system my web server runs on is (include version): Amazon Linux 2
My hosting provider, if applicable, is:
I can log in to a root shell on my machine (yes or no, or I don’t know): Yes, I have access to root.
I’m using a control panel to manage my site (no, or provide the name and version of the control panel): Not applicable
My QUERY IS:
How can I get an ‘A’ certificate for the domain name assigned to the server?
When I checked the rating on the given url at that time everything was working. As of today I have removed the certificates and reverted to an old snapshot.
Would it help if I re-enable the earlier setup?
Though I do not know how to do that as I have not kept the license files.
I have reverted to an older snapshot of the server and have not kept the certificates. Is there any way to re-enable it on the new instance? Or I need to generate new certificates?
the www-version is correct, but the non-www version wrong, that looks like a small configuration error (missing web.harvestdata.today as alias of the www-version to use the same vHost and the same correct certificate).