By connormiotk
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.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.