aboutsummaryrefslogtreecommitdiff
path: root/wraptool.py
diff options
context:
space:
mode:
Diffstat (limited to 'wraptool.py')
-rwxr-xr-xwraptool.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wraptool.py b/wraptool.py
index 9d4ca93..ecb2899 100755
--- a/wraptool.py
+++ b/wraptool.py
@@ -112,6 +112,10 @@ def open_wrapdburl(urlstring):
print('Warning: ssl not available, traffic not authenticated.',
file=sys.stderr)
ssl_warning_printed = True
+ # Trying to open SSL connection to wrapdb fails because the
+ # certificate is not known. Use plain http. For some
+ # reason OSX fails here again.
+ urlstring = 'http' + urlstring[5:]
return urllib.request.urlopen(urlstring)
def get_result(urlstring):