Coherence of certificate trust option naming
This commit is contained in:
parent
095af19246
commit
9c9c2f51ab
|
@ -285,7 +285,7 @@ def main():
|
||||||
with open(config_path, "r") as config_file:
|
with open(config_path, "r") as config_file:
|
||||||
config_data = json.load(config_file)
|
config_data = json.load(config_file)
|
||||||
try:
|
try:
|
||||||
bool_validate_cert = config_data["trustInvalidCerts"]
|
bool_validate_cert = config_data["validateCert"]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
if os.environ.has_key('PROXMOX_INVALID_CERT'):
|
if os.environ.has_key('PROXMOX_INVALID_CERT'):
|
||||||
|
|
Reference in New Issue