Lines Matching refs:CERTFILE
71 CERTFILE = data_file("keycert.pem") variable
72 BYTES_CERTFILE = os.fsencode(CERTFILE)
410 ssl._ssl._test_decode_cert(CERTFILE),
643 ssl.wrap_socket, sock, keyfile=CERTFILE)
650 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s:
660 certfile=CERTFILE, keyfile=NONEXISTINGCERT)
915 with test_wrap_socket(s, server_side=True, certfile=CERTFILE) as ss:
933 env["SSL_CERT_FILE"] = CERTFILE
935 self.assertEqual(paths.cafile, CERTFILE)
1357 ctx.load_cert_chain(CERTFILE, keyfile=None)
1358 ctx.load_cert_chain(CERTFILE, keyfile=CERTFILE)
1359 self.assertRaises(TypeError, ctx.load_cert_chain, keyfile=CERTFILE)
1435 ctx.load_cert_chain(CERTFILE, password=getpass_exception)
1439 ctx.load_verify_locations(CERTFILE)
1440 ctx.load_verify_locations(cafile=CERTFILE, capath=None)
1450 ctx.load_verify_locations(CERTFILE, CAPATH)
1451 ctx.load_verify_locations(CERTFILE, capath=BYTES_CAPATH)
1531 ctx.load_dh_params(CERTFILE)
1596 ctx.load_cert_chain(CERTFILE)
1599 ctx.load_verify_locations(CERTFILE)
1610 ctx.load_verify_locations(CERTFILE)
1654 env["SSL_CERT_FILE"] = CERTFILE
1668 env["SSL_CERT_FILE"] = CERTFILE
1846 ctx.load_dh_params(CERTFILE)
2389 pem = ssl.get_server_certificate((host, port), ca_certs=CERTFILE)
3216 client_context.load_cert_chain(CERTFILE)
3249 client_context.load_cert_chain(CERTFILE)
3476 server = ThreadedEchoServer(CERTFILE,
3535 with open(CERTFILE, 'rb') as f:
3540 server.port, os.path.split(CERTFILE)[1])
3561 server = AsyncoreEchoServer(CERTFILE)
3589 server = ThreadedEchoServer(CERTFILE,
3592 cacerts=CERTFILE,
3598 certfile=CERTFILE,
3599 ca_certs=CERTFILE,
3721 server = ThreadedEchoServer(CERTFILE)
3741 server = ThreadedEchoServer(CERTFILE,
3744 cacerts=CERTFILE,
3750 certfile=CERTFILE,
3751 ca_certs=CERTFILE,
3896 with ThreadedEchoServer(CERTFILE,
4901 CERTFILE, BYTES_CERTFILE,