mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-03 12:07:54 +00:00
command: Fixing setup of client certificates
This commit is contained in:
@@ -96,7 +96,7 @@ func (m *Meta) Client() (*api.Client, error) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// If we need custom TLS configuration, then set it
|
// If we need custom TLS configuration, then set it
|
||||||
if m.flagCACert != "" || m.flagCAPath != "" || m.flagInsecure {
|
if m.flagCACert != "" || m.flagCAPath != "" || m.flagClientCert != "" || m.flagClientKey != "" || m.flagInsecure {
|
||||||
var certPool *x509.CertPool
|
var certPool *x509.CertPool
|
||||||
var err error
|
var err error
|
||||||
if m.flagCACert != "" {
|
if m.flagCACert != "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user