[Pki-devel] [PATCH 0043] sslget must set Host HTTP header

Christian Heimes cheimes at redhat.com
Wed Nov 25 21:04:12 UTC 2015


On 2015-11-25 20:51, Christian Heimes wrote:
> The sslget tool sends a TLS SNI header. Apache doesn't like server name
> indication without a matching HTTP header. Requests without a Host
> header are refused with
> 
> HTTP/1.1 400 Bad Request
> Hostname example.org provided via SNI, but no hostname provided in HTTP
> request
> 
> sslget now sets a Host HTTP header for all requests.
> 
> https://fedorahosted.org/pki/ticket/1704

Per IRC discussion John has suggested to include the port in the Host
header. It's required for non-standard ports.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pki-cheimes-0043-2-sslget-must-set-Host-HTTP-header.patch
Type: text/x-patch
Size: 2399 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20151125/040dea52/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pki-devel/attachments/20151125/040dea52/attachment.sig>


More information about the Pki-devel mailing list