Reputation: 857
Came across a packet capture where the client hello SNI had this value *.immedia-semi.com
. Is having a wildcard in the SNI valid?
Upvotes: 1
Views: 2061
Reputation: 123461
The server_name
extension (SNI) is intended to specify a hostname. From RFC 6066:
"HostName" contains the fully qualified DNS hostname of the server, as understood by the client.
Given that a wildcard is not a valid FQDN it is not valid here either. Similar IP addresses are not FQDN too and are even explicitly forbidden here.
Client TLS implementations usually don't check what is given by the program as SNI too use and thus sometimes broken SNI are seen in the wild, caused by application bugs.
Upvotes: 2