• Matthew Holt's avatar
    PoC: on-demand TLS · 47079c3d
    Matthew Holt authored
    Implements "on-demand TLS" as I call it, which means obtaining TLS certificates on-the-fly during TLS handshakes if a certificate for the requested hostname is not already available. Only the first request for a new hostname will experience higher latency; subsequent requests will get the new certificates right out of memory.
    
    Code still needs lots of cleanup but the feature is basically working.
    47079c3d
handshake.go 3.13 KB