• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

OpenSSL Connection returns default certificate instead of domain name certificate

Tradelogic C

New Pleskian
When I connect to get my certificate using

openssl s_client -connect mysite.com:443

it returns the certificate for mydefaultsite.com instead of the certificate for mysite.com.

I have commented out all of <VirtualHost _default_:443> in /etc/apache2/sites-available/default-ssl but still the same result.

If I do openssl s_client -connect mysite.com:443 -servername mysite.com it works fine, but I don't have control over that. Another site that connects to mine is the one having the problem and they apparently just use openssl s_client -connect mysite.com:443 and can't change it.

Is there anything I can do to make openssl s_client -connect mysite.com:443 recognize the correct certificate?
 
Hi,

where did you configure your certificate?
Within the Subscription or below Tools & Settings?

If you go to Tools & Settings and go to "IP Addresses" and click on your IP Address for this site, you should be shown a drop down box for "
SSL certificate". Try changing that.

If your certificate is not in the drop down, then you'll have to go back to "Tools & Settings" -> "Security" -> "SSL Certificates" and set it up again.

Regards,
Kristian
 
Back
Top