Skip to content
Snippets Groups Projects
Commit 21f4f4b0 authored by florian's avatar florian
Browse files

FIX: Use correct type of ssl_insecure

parent 5c30640e
No related branches found
No related tags found
2 merge requests!79Release 0.10.0,!77F bool config options
......@@ -282,7 +282,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
verify = True
if "cacert" in config:
verify = config["cacert"]
if "ssl_insecure" in config and config["ssl_insecure"].lower() == "true":
if "ssl_insecure" in config and config["ssl_insecure"]:
_LOGGER.warning("*** Warning! ***\n"
"Insecure SSL mode, certificate will not be checked! "
"Please consider removing the `ssl_insecure` configuration option.\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment