Question: The incorrect SSL certificate is shown for a domain
Applicable to:Symptoms
- The SSL certificate is set in Plesk > Domains > example.com > Hosting Settings.
- In an attempt to access https://example.com the SSL warning or another SSL certificate is shown.
CauseThe incorrect IP address is set for the A record of the example.com domain on a DNS Registrar/external DNS server side.
Resolution1.Log into the server via SSH.
2.Execute the command below to find the external NS servers of the example.com domain:
# dig +short example.com NS
ns1.testdomain.tld.
ns2.testdomain.tld.
3.Contact DNS Registrar/administrator of the external DNS server(where the found NS from step №2 are located) with the request to point A record of the example.com to Plesk server IP address.
Note: the process of DNS propagation can take up to 48 hours.