Commit 8fae9eaa authored by Jeff 'Raid' Baitis's avatar Jeff 'Raid' Baitis

In FreeBSD, the certificate file is NOT encoded in utf8.

parent 07355321
Pipeline #2736 passed with stages
in 26 seconds
......@@ -333,7 +333,7 @@ class NonBlockingTLS(PlugIn):
if not os.path.isfile(cert_path):
f = open(cert_path, encoding='utf-8')
f = open(cert_path, encoding='ISO-8859-1')
lines = f.readlines()
except (IOError, UnicodeError) as e:
log.warning('Unable to open certificate file %s: %s' % \
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment