25 Nov
2015
25 Nov
'15
9:04 p.m.
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.