Hi,

I have used Let’s Encrypt on my site but when I go on it I am getting the unsecure icon and when I test the site on a testing site, it appears that there is a name mismatch.

The certificate is for miotks.co.uk where as the name mismatch is miotk.localhost.

Where am I able to change this?

Thanks in advance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

@connormiotk

When you create the certificate using LetsEncrypt, you need to pass all valid domains through at the time of execution. If you are seeing a mismatch, either the correct domains were not passed through to the script or you are serving content from a domain or local domain that isn’t actually secured by SSL.

If you’re seeing miotk.localhost, it’s either in your configuration (VirtualHost or Server Block) or code (links to images and other files). Those would be the first two places I would check, after validating that the correct domains were passed through to the LE script.

Submit an Answer