Since renewal. all virtual hosts secure except main domain

So I have three difference sub domains hosted on one server.

I originally did the certbot -d name1.xxx.com -d name2.xxx.com, etc

It seems Let's Encrypt put all three domains into one certificate of billing.voce.systems from looking at my virtual hosts configuration.

So I visit the two other domains, and the sites show secure, but visiting billing.voce.systems shows insecure all of a sudden.

The technical details show are:

  • This website presented identification that belongs to a different website.
  • This website’s identification was not issued by a trusted organization.

Any ideas on this one?

Thanks!

2 Likes

It might be worth checking in your Apache configuration whether the default self-signed certificate (that Apache comes with) is overriding the Let's Encrypt one for that domain.

sudo apachectl -t -D DUMP_VHOSTS
4 Likes

That was it.

I went into the ssl.conf file which in fact the dump was showing it was using for the afflicted host instead of the hosts file I made. I commented everything out except for Listen 443, and all is well now.

Thanks a lot for the help!

3 Likes

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