cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Manual setting of TLS Server Name Indication

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 13 Aug 2010 10:59:34 +0200 (CEST)

On Fri, 13 Aug 2010, Peter Sylvester wrote:

>> Can the SNI field really not be set to work with an IP address? What if you
>> have multiple IP addresses, have the server listen on all of them and
>> connect to the host using https://1.2.3.4/moo ?
>
> "HostName" contains the fully qualified DNS hostname of the server
>
> Literal IPv4 and IPv6 addresses are not permitted in "HostName".

Right, thanks for that. I guess we need to use two separate fields then when
we extract the field from the Host: header - cookie host name and TLS host
name.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-13