Cannot connect to a server with TLS with a non valid certificate
I connect to a jabber server that do no have a valid certificate, since it is signed with a certificate authority that is not recognized by Gajim.
If I start from a fresh install, I can connect when I ask to ignore the error. However, I noticed that once I both ask to memorize the certificate as valid and ask to ignore the error next time, I have the error whose traceback is provided below.
On the other hand, if I do not tick the option to ignore the error next time, although I explicitly asked Gajim to memorize the certificate as a valid one, it still prompts me the next time as connect with the same invalid error. But I guess this could be another ticket.
Now, the traceback :
22:27:05 (D) gajim.c.connection Connected to server im.sanctuaire.fr.eu.org:5222 with tls Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/idlequeue.py", line 533, in _process_events return IdleQueue._process_events(self, fd, flags) File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/idlequeue.py", line 394, in _process_events obj.pollin() File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/transports_nb.py", line 420, in pollin self._do_receive() File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/transports_nb.py", line 606, in _do_receive self._on_receive(received) File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/transports_nb.py", line 620, in _on_receive self.on_receive(data) File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/client_nb.py", line 320, in <lambda> self.onreceive(lambda _data:self._xmpp_connect_machine(mode, _data)) File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/client_nb.py", line 375, in _xmpp_connect_machine self._xmpp_connect_machine(mode='STREAM_STARTED') File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/client_nb.py", line 378, in _xmpp_connect_machine self._on_stream_start() File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/client_nb.py", line 414, in _on_stream_start self._on_connect() File "/usr/lib/python2.7/site-packages/gajim/common/xmpp/client_nb.py", line 451, in _on_connect self.on_connect(self, self.connected) File "/usr/lib/python2.7/site-packages/gajim/common/connection.py", line 1287, in _connect_success return self.connection_accepted(con, con_type) File "/usr/lib/python2.7/site-packages/gajim/common/connection.py", line 1329, in connection_accepted cert=con.Connection.ssl_cert_pem[i], IndexError: list index out of range