mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-28 06:01:08 +01:00
command: Fixing setup of client certificates
This commit is contained in:
parent
6d05df1596
commit
e659d93163
@ -96,7 +96,7 @@ func (m *Meta) Client() (*api.Client, error) {
|
||||
}
|
||||
}
|
||||
// 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 err error
|
||||
if m.flagCACert != "" {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user