Common name mismatch

September 24, 2016 3.2k views
Apache Ubuntu 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.

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.

Ok got it solved. thanks for all the help

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!