[issue30175] Random test_imaplib.test_logincapa_with_client_certfile failure on x86 Gentoo Installed with X 3.x

STINNER Victor report at bugs.python.org
Thu Apr 27 09:51:49 EDT 2017


STINNER Victor added the comment:

> "tlsv1 alert unknown ca" means our client certificate isn't accepted by the server.  I suggest simply skipping the test, unless we find a remote IMAP server that accepts random TLS certs.

Wait, the test tries to connect to a public IMAP server using a x509 client certificate? Wow, I'm surprised that it works sometimes :-)

In RemoteIMAP_SSLTest, I see 3 unit tests which use create_ssl_context(), the method which loads the client certificate, but I only see 2 failures, not 3. Should I understand that sometimes the TLS connection succeeded, but sometimes it fails, on the same server? Strange :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30175>
_______________________________________


More information about the Python-bugs-list mailing list