FAQ Database Discussion Community


Setting Apache VirtualHost up for proper SNI handshake

apache,ssl,sni
I have a problem with an Apache machine that won't match the server name expected from the client, resulting in a warning: TLSv1.2 Record Layer: Alert (Level: Warning, Description: Unrecognized Name) I am pretty sure this has to do with my VirtualHost configuration. Though I've set both ServerName and ServerAlias...

SSLV3_ALERT_HANDSHAKE_FAILURE with SNI using Tornado 4.2 in Python 2.9.10

python,python-2.7,ssl,tornado,sni
I have an issue setting the SNI flag correctly using ssl.SSLContext in Python 2.7.10, the handshake fails every time and I can't figure out why. Here is how I tried to do it: import ssl import socket if ssl.HAS_SNI: print "SNI is available" print(ssl.OPENSSL_VERSION) context = ssl.SSLContext(ssl.PROTOCOL_TLSv1) context.load_cert_chain('cacrt.pem', 'cakey.pem', 'password')...

Is it possible to run 2 servers with seperate SSL certificates on 1 IP address?

apache,ssl,sni
I have two domains running on separate local servers, each with their own SSL certificate. In the past, this would require two public IP addresses. With the advent of SNI (Server Name Indication), these two sites can be run on the same server by modifying Apache.conf like so- <NameVirtualHost *:443>...