Report this

What is the reason for this report?

SSL certificate sometimes not working

Posted on January 24, 2018

I have an SSL certificate from LetsEncrypt. My website successfully uses HTTPS with it.

However, at random intervals this suddenly stops working. I get a Common Name mismatch error. It then just as suddenly starts working again a minute later.



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!

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.

A “Common Name mismatch error” means that the URL shown in the address bar does not match the URL that the certificate is registered for. The most common reason for this error is creating a certificate only for domain.com and then accessing your site with www.site.com. With LetsEncrypt you can add additional alternate names to your certificate so that any URL that will be used to reach your server can be included and prevent this error.

I faced the same problem.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.