SSL Certificate Issue: Second VHost Always Takes First VHost's Certificate

#1
Hello,

I have two VHosts on my LiteSpeed server:

  • vhost1.example.com
  • vhost2.example.com

Each VHost has its own SSL certificate properly configured in their respective vhost.conf files with different paths. However, vhost2 always serves vhost1's certificate.

I've tried:

  1. Different certificate paths in VHost configs
  2. Concatenating both certificates into a single file
  3. Enabling Multiple SSL Certificates in Global Settings
  4. Clearing SSL cache and server restarts

Running openssl verification always shows vhost1's certificate being served for vhost2.

Current server version: OpenLiteSpeed 1.8.2 OS: Ubuntu Server

Any help would be greatly appreciated as this is blocking our production deployment.

Thank you.
 
Top