Unsecured Wordpress after Certbot SSL

August 31, 2019 86 views
WordPress Let's Encrypt

I created a droplet with a one-click Wordpress installation. I set up the domain and pointed the DNS in Namecheap. After that everything looks like it is working when checking the domain, it would take me to the Wordpress site. As a final step, I created the Certbot certificate and it goes through successfully, but then after doing that my website becomes unsecured because: NET::ERRCERTCOMMONNAMEINVALID

I’ve tried this a few times today with the same result. Am I missing a step somewhere?

1 Answer

Hello Samcro

Can you please check the SSL for your domain using the following link:

https://www.sslshopper.com/ssl-checker.html

It will show you if there is an installed SSL Certificate on your server for the domain name. Also since you’ve mentioned that the DNS was recently updated, keep in mind that there might be DNS cache as the DNS needs some time in order to fully propagate, usually it’s faster but this might take up to 24 hours.

If the domain does not have a SSL Certificate installed and you can see that it’s loading from your droplet you can check the apache/nginx virtual host for the domain name and make sure everything is set correctly.

The other option will be to issue/install the SSL using certbot again. This article is really good:

https://www.digitalocean.com/community/tutorials/how-to-secure-apache-with-let-s-encrypt-on-ubuntu-18-04

Let me know how it goes.

Alex

by Kathleen Juell
by Erika Heidi
Let's Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. In this tutorial, you will use Certbot to obtain a free SSL certificate for Apache on Ubuntu 18.04 and set up your certificate to renew automatically.
Have another answer? Share your knowledge.