[PATCH 0043] sslget must set Host HTTP header
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
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.
Per IRC discussion John has suggested to include the port in the Host header. It's required for non-standard ports.
participants (1)
-
Christian Heimes