Fix a few bugs introduced in recent changes
Change-Id: Ic939cc65208c4e3eb90f547ffac09ce40924641e
diff --git a/scripts/tenant_validator.py b/scripts/tenant_validator.py
index 86c9702..0ce504e 100644
--- a/scripts/tenant_validator.py
+++ b/scripts/tenant_validator.py
@@ -386,7 +386,7 @@
netbox_config["api_endpoint"], token=netbox_config["token"], threading=True
)
- if not netbox_config.get("validate_certs", False):
+ if not netbox_config.get("validate_certs", True):
session = requests.Session()
session.verify = False
netboxapi.http_session = session