certfp: Add certfp retrieval from client

This commit is contained in:
Daniel Oaks
2016-09-05 13:53:39 +10:00
parent d3d88cfa0c
commit 49034cb20e
3 changed files with 34 additions and 0 deletions
+1
View File
@@ -261,6 +261,7 @@ func (s *Server) listen(addr string, tlsMap map[Name]*tls.Config) {
tlsString := "plaintext"
if listenTLS {
config.ClientAuth = tls.RequestClientCert
listener = tls.NewListener(listener, config)
tlsString = "TLS"
}