glyph / txsni

Simple support for running a TLS server with Twisted.
MIT License
25 stars 10 forks source link

Log a warning(?) in SNIMap for missing certificates #11

Open mithrandi opened 8 years ago

mithrandi commented 8 years ago

If a client requests a hostname for which we do not have a certificate, it is possible that the client is misconfigured, but more likely the misconfiguration is something the server operator should fix (eg. install a missing certificate, or fix an incorrect DNS entry).

Logging a message about this (at a suitable log level) would assist in diagnosing this sort of issue.