diff --git a/src/common/connection.py b/src/common/connection.py index 6924f0eb286940f35f222c3be4413d52516d2b58..c2aefdaf84b587640e041c97c4e3ab21a1478c98 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -1168,6 +1168,8 @@ class Connection(CommonConnection, ConnectionHandlers): port = self._current_host['port'] cacerts = os.path.join(common.gajim.DATA_DIR, 'other', 'cacerts.pem') + if not os.path.exists(cacerts): + cacerts = '' mycerts = common.gajim.MY_CACERTS secure_tuple = (self._current_type, cacerts, mycerts)