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

0

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 'www.xyz.com' 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 xyz.com; its security certificate is from www.abc.com. 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: [www.xyz.com] acme: error: 400 :: urn:ietf:params:acme:error:dns :: DNS problem: NXDOMAIN looking up A for www.xyz.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for www.xyz.com - check that a DNS record exists for this domain"

DCPatel
已提問 1 年前檢視次數 330 次
1 個回答
0

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
專家
已回答 1 年前
  • how can I solve this issue? and yes I have corrected DNS record.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南