How do I Remove the SSL certificate, which is copied in a new instance from a snapshot of an old instance?


I have created a Snapshot of the instance and then created a new instance from the snapshot. The website is working but when I am trying to give/install an SSL certificate it will give me the error "Warning: The domain '' does not resolve, please fix its DNS entries or remove it.". and on the browser, it is showing this error "aws lightsail This server could not prove that it is; its security certificate is from This may be caused by a misconfiguration or an attacker intercepting your connection."

After that, I have tried "sudo /opt/bitnami/bncert-tool --perform_public_ip_validation 0 --perform_dns_validation 0" and it is give this error "Could not obtain certificates: error: one or more domains had a problem: [] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for - check that a DNS record exists for this domain"

asked 2 days ago26 views
1 Answer

It appears to be referencing the host zone for certificate issuance.
By the way, have you already corrected your DNS records to the new Lightsail IP address?

profile picture
answered 2 days ago
  • how can I solve this issue? and yes I have corrected DNS record.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions