• Matt Holt's avatar
    caddytls: Raise TLS alert if no certificate matches SAN (closes #1303) (#2339) · f6e50890
    Matt Holt authored
    * caddytls: Raise TLS alert if no certificate matches SAN (closes #1303)
    
    I don't love this half-baked solution to the issue raised in #1303 way
    more than a year after the original issue was closed (the necro comments
    are about an issue separate from the original issue that started it),
    but I do like TLS alerts more than wrong certificates.
    
    * Restore test to match
    
    * Restore another previous test
    f6e50890
handshake_test.go 3.11 KB