Lines Matching full:certificate
104 # provided solely for this test, to exercise the certificate
359 self.fail("No server certificate on svn.python.org:443!")
367 self.fail("Got server certificate %s for svn.python.org!" % pem)
371 self.fail("No server certificate on svn.python.org:443!")
373 sys.stdout.write("\nVerified certificate for svn.python.org:443 is\n%s\n" % pem)
377 # certificate.
394 Certificate is:\n%s\n" %
439 certfile=self.server.certificate,
446 # a mismatching protocol version, an invalid certificate,
527 def __init__(self, certificate, ssl_version=None,
536 self.certificate = certificate
548 certfile=self.certificate,
713 # we assume the certfile contains both private key and certificate
801 connect to it with the given client certificate fails.
977 self.assertTrue(cert, "Can't get peer certificate.")
983 self.fail("No subject field in certificate: %s." %
988 "Missing or invalid 'organizationName' field in certificate subject; "
997 """Connecting with a badly formatted certificate (syntax error)"""
1375 raise test_support.TestFailed("Can't read certificate files!")