Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Server sending two certificates for a virtual host |
|
Author |
|
20160413
Joined: 13 Apr 2016 Posts: 28
|
Posted: Thu 01 Feb '24 15:42 Post subject: Server sending two certificates for a virtual host |
|
|
I am a bit puzzled. I have a website at www.example.org , and I configured it for HTTPS with a certificate via a dedicated virtual host (www.example.org.conf). Everything works; however, the server also sends a second certificate configured for the default HTTPS host, which is meant to be used for www.defauthostformyserver.org. (000-default.tls.conf) It is also being used for that default host without issues.
Is there a way to skip the additional loading of the certificate configured in 000-default.tls.conf for www.example.org.conf? |
|
Back to top |
|
20160413
Joined: 13 Apr 2016 Posts: 28
|
Posted: Sat 03 Feb '24 0:03 Post subject: |
|
|
If I am not mistaken, the second cert from the default host is sent to clients with no SNI support.
I'm unsure why immuniweb.com scans consider "Server sends useless certificates." a "Misconfiguration or weakness". Qualys SSL Labs also detect this but do not complain about it.
Hmm, does anybody have a comment on this? I will be interested to read a second opinion. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Fri 16 Feb '24 23:54 Post subject: |
|
|
Use your "best" domains certificate for the default vhost. It will never match, but at least it is a valid one.
Keep in mind that immuniweb wants to sell you consultation. |
|
Back to top |
|
|
|
|
|
|