mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 03:27:54 +00:00
command/listener: Request TLS client cert. Fixes #214
This commit is contained in:
@@ -54,6 +54,7 @@ func listenerWrapTLS(
|
||||
tlsConf.Certificates = []tls.Certificate{cert}
|
||||
tlsConf.NextProtos = []string{"http/1.1"}
|
||||
tlsConf.MinVersion = tls.VersionTLS12 // Minimum version is TLS 1.2
|
||||
tlsConf.ClientAuth = tls.RequestClientCert
|
||||
|
||||
ln = tls.NewListener(ln, tlsConf)
|
||||
props["tls"] = "enabled"
|
||||
|
||||
Reference in New Issue
Block a user