I am trying to get SSL certificate for my website crepemerinos.com by securing Nginx on Ubuntu 16.04. I am using these steps to obtain the certificate : [https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04]
I’m facing a problem in this step:
During the configuration of HTTPS settings, it asks for two options:-
- Easy - Allow both HTTP and HTTPS access to these sites
- Secure - Make all requests redirect to secure HTTPS access
First time, I tried to opt 2nd option thus redirecting all requests to HTTPS, but I see this screen with ERR_CERT_COMMON_NAME_INVALID error while opening https://crepemerinos/wp-admin
I tried to use the 1st option, in which case, the site works with http but if it is opened with https:// it does something else as shown.
if i open the admin panel using https:// it shows the same error page ERR_CERT_COMMON_NAME_INVALID
Could you help me figuring out what the problem could be?
I have another website for which I obtained the certificate using the same instructions but 5 months ago, and it works perfectly and I am not having any problem.
Hoping to get this problem resolved.