cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Trailing dot in FQDN TLS SNI/HTTP HostName

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Tue, 22 Apr 2014 14:43:37 +0200 (CEST)

On Tue, 22 Apr 2014, Leon Winter wrote:

> section 3.1 of RFC 3546 [0] states:
>> "HostName" contains the fully qualified DNS hostname of the server,
>> as understood by the client. The hostname is represented as a byte
>> string using UTF-8 encoding [UTF8], without a trailing dot.
>
> However when using curl sends the hostname also when a trailing dot is
> included, e.g.
>
> $ curl --trace out.log 'https://www.google.de.'

Are you possibly using a libcurl before 7.36.0 built to use OpenSSL ?

Patch 965690f67e190 from March 3 was a fix for exactly that kind of trailing
dots.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2014-04-22