Skip to content
Snippets Groups Projects
Commit 4bc8fba7 authored by Quazgar's avatar Quazgar Committed by Henrik tom Wörden
Browse files

ENH: Print "insecure ssl" warning to stderr.

parent 2f0ec24e
No related branches found
No related tags found
No related merge requests found
......@@ -172,7 +172,7 @@ class _DefaultCaosDBServerConnection(CaosDBServerConnection):
print("*** Warning! ***\n"
"Insecure SSL mode, certificate will not be checked! "
"Please consider removing the `ssl_insecure` configuration option.\n"
"****************")
"****************", file=sys.stderr)
context.verify_mode = ssl.CERT_NONE
if (not context.verify_mode == ssl.CERT_NONE and
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment