mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Clear SSL
This commit is contained in:
@@ -465,6 +465,15 @@ func runnerConfig(config *config.Config, vaultToken string) (*ctconf.Config, err
|
||||
CaCert: &config.VaultConfig.TLSCaFile,
|
||||
CaPath: &config.VaultConfig.TLSCaPath,
|
||||
}
|
||||
} else {
|
||||
conf.Vault.SSL = &ctconf.SSLConfig{
|
||||
Enabled: &f,
|
||||
Verify: &f,
|
||||
Cert: &emptyStr,
|
||||
Key: &emptyStr,
|
||||
CaCert: &emptyStr,
|
||||
CaPath: &emptyStr,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user