net::ERR_CERT_AUTHORITY_INVALID on .market domain


My domain is: Wow.balance

My web server is (include version): Apache 2

The operating system my web server runs on is (include version): Ubuntu

My hosting provider, if applicable, is: VDS

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

I’ve got net::ERR_CERT_AUTHORITY_INVALID when using “certbot”


For some reason I can’t phantom, you deleted the following questions from the questionair you got presented when you started this thread. Could you answer them? Without them, we can’t help you, because for some reason, your webserver doesn’t have the Let’s Encrypt certificate in use, but still uses a self signed certificate. This is most likely because of how you envoked certbot.

I ran this command:

It produced this output:


Hmmm, I imagine you probably have another virtual host definition that is conflicting with this one somehow. Could you run something like this?

grep -r SSLCert /etc/apache2


Interestingly, the site presents the certificate for (!!) while the site for presents a self-signed certificate. I have not seen this particular error mode before.

Could you may run some other greps?

grep 443 /etc/apache2
grep -ir ssl /etc/apache2

$ dig +short

$ dig +short

$ dig +short

Why do the domains appear to point to different servers? has a cert for but not the www variant.


Sorry, I mean grep -r 443 /etc/apache2


I think @_az has probably found the most important problem, that the domain name might not be pointed at the right web server at all!


One other thing, are the port 443 virtual hosts enabled?

ls -l /etc/apache2/sites-enabled


Which IP address is correct for your web server?


OK! So, you should make sure that your certificate covers both and (not just and change your DNS settings so that the A record is pointed at


Great! Then that explains why the other site served the certificate too. So I think if you reissue the certificate to cover both and and also update the DNS A record to point to the correct server, everything sohuld work properly.


It looks like you’ve made certificates for both of them at different times:


@schoen, thanks! The problem was on GoDaddy DNS Templates.


We like to have old topics available because they might help other people with a similar situation. If you want to remove the particular domain names and IP addresses from the thread, that’s fine—you can edit your own posts and I can also edit other people’s posts to remove these identifiers if you’d like.


I agree, sometimes I find older posts on this forum that end up helping me out a lot because I can see the issues that other people had with the error i’m having.


This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.