'How to prevent SNI from displaying incorrect web page over port 443?

I have a server with ISPConfig 3 installed.

When a new website is added to the server and is accessed via a browser with HTTPS, the website that is displayed is that of the first website (alphabetically).

This appears to be due to SNI.

How do I (with apache), ensure that a website is still served over HTTPS with an error even if no certificate is installed.

Normally a site simply displays a warning but allows one to proceed to the website.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source