Skip to content
Snippets Groups Projects
Commit 5af2eddb authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: load default certificates for letsencrypt and other normal certs

parent 3fa7b837
No related branches found
No related tags found
Loading
...@@ -197,6 +197,8 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection): ...@@ -197,6 +197,8 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
"`{}`: {}".format(config["cacert"], "`{}`: {}".format(config["cacert"],
exc)) exc))
context.load_default_certs()
if "url" in config: if "url" in config:
parsed_url = parse_url(config["url"]) parsed_url = parse_url(config["url"])
host = parsed_url.netloc host = parsed_url.netloc
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment