Getting SSL_ERROR_BAD_CERT_DOMAIN with custom domain

I have the domain connected to my site and when trying to reach the site through the custom domain (which is setup with netlify DNS) I get this:
"Warning: Potential Security Risk Ahead

Websites prove their identity via certificates. Firefox does not trust this site because it uses a certificate that is not valid for The certificate is only valid for the following names: *,


How do I resolve this? The site is fully accessible through the

Hi @N-Andersson,

Thanks for reaching out and welcome to Netlify’s Support Forums!

Looks like the dns hasn’t fully propagated:

dig NS +trace | tail -n 6	3600	IN	NS	3600	IN	NS	3600	IN	NS	3600	IN	NS
;; Received 136 bytes from in 36 ms

The last line, Received 136 bytes, shows the name server that answered the above query which is and not a Netlify name server mentioned here.

You can read about propagation here:

Hi @Melvin and thanks for your answer!

I think I understand the propagation issue but I’m still quite unsure what I should do. Is the solution just to wait it out until the DNS is fully propagated?

Hi @N-Andersson,

Looks like the dns has propagated, when visiting the site properly resolves and the SSL certificate has been created.