twekkel / htpdate

HTTP Time protocol
https://www.vervest.org/htp
Other
50 stars 13 forks source link

Set SSL server hostname on SSL object. #28

Closed danielmewes closed 1 year ago

danielmewes commented 1 year ago

First of all, thanks so much for providing htpdate!

I've encountered some firewalls / transparent proxies that require the server hostname to be set during TLS negotiation, or the connection will fail.

This change sets the hostname on the SSL object using https://www.openssl.org/docs/man1.1.1/man3/SSL_set_tlsext_host_name.html .

twekkel commented 1 year ago

Thanks for your contribution.