Common name mismatch

Posted September 24, 2016 5.1k views
ApacheUbuntu 16.04

I have installed a ssl certificate from godaddy on Ubuntu 16.04 /Apache

But after following this tutorial

The website does not open.

When I test on this link I get common name mismatch error.

my FQDN is or how can I edit the ubuntu-512mb-blr1-01 MISMATCH error provided in above link to my FQDN

Can anyone help me in this regard.

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.

Submit an Answer
4 answers

You cannot edit a certificate. I suggest that you generate one using Letsencrypt

by Erika Heidi
This tutorial will show you how to set up a free TLS/SSL certificate from Let’s Encrypt on a Ubuntu 16.04 server running Apache as web server. TLS certificates are used within web servers to encrypt the traffic between server and client, providing extra security for users accessing your application.

Looks like you are using self-issued certificate instead of GoDaddys one.
If you look at Issuer field at SSLabs, you will notice your host name - Self-issued.

Make sure you followed right tutorial to download cert from GoDaddy.

Tutorial you linked is right one, I would recommend you trying again to obtain cert. Follow Example CA 2 : GoDaddy again.

Also verify in GoDaddy panel that you entered right domain, but I don’t that it is problem.

Thanks for the reply @xMudrii , this time I have created a new droplet and re assigned the CSR,
even then I am not able to get the website up and running with ssl. the moment I configure 000-default.conf the website goes down.

The certificate does not match the private key -is the error I get when testing - but how can a key mismatch when it was generated through the server?

It has been 24 hours - I am just banging my heads on this!!!

One question is it necessary to have a sudo user? As I am only doing as a root user.

Please help.