Hacker News new | ask | show | jobs
by singpolyma3 973 days ago
Unfortunately the DANE SRV RFC is kind-of mismatched with how SRV and TLS work in practise. It requires the server to serve a certificate matching its own hostname (the hostname of the SRV target) rather than a certificate matching the expected host (the hostname that the SRV record was on). This is fine and secure if you use only DANE but if you want to use DANE with CA-issued certs it makes it somewhere between hard and impossible.
1 comments

Note the owner of a SRV record is a service name not a host name.

There are a few reasons for this oddity: partly so it matches with DANE for MX records, partly to support large scale virtual hosting without reissuing certificates.

You should be able get a cert with subject names covering the server host name(s) and the service name(s).