mirror of
https://github.com/hashicorp/vault.git
synced 2025-11-29 06:31:10 +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 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 != "" {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user