Searched refs:CERTFILE (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/test/ |
H A D | ssl_servers.py | 17 CERTFILE = os.path.join(here, 'keycert.pem') variable 150 def make_https_server(case, *, context=None, certfile=CERTFILE, 198 context.load_cert_chain(CERTFILE)
|
H A D | test_poplib.py | 35 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert3.pem") variable 166 context.load_cert_chain(CERTFILE) 429 self.server.port, keyfile=CERTFILE, context=ctx) 431 self.server.port, certfile=CERTFILE, context=ctx) 433 self.server.port, keyfile=CERTFILE, 434 certfile=CERTFILE, context=ctx)
|
H A D | test_ssl.py | 73 CERTFILE = data_file("keycert.pem") variable 74 BYTES_CERTFILE = os.fsencode(CERTFILE) 412 ssl._ssl._test_decode_cert(CERTFILE), 650 ssl.wrap_socket, sock, keyfile=CERTFILE) 657 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s: 667 certfile=CERTFILE, keyfile=NONEXISTINGCERT) 922 with test_wrap_socket(s, server_side=True, certfile=CERTFILE) as ss: 940 env["SSL_CERT_FILE"] = CERTFILE 942 self.assertEqual(paths.cafile, CERTFILE) 1376 ctx.load_cert_chain(CERTFILE, keyfil [all...] |
H A D | test_imaplib.py | 29 CERTFILE = os.path.join(os.path.dirname(__file__) or os.curdir, "keycert3.pem") variable 103 context.load_cert_chain(CERTFILE) 585 self.imap_class('localhost', 143, certfile=CERTFILE) 1050 ssl_context.load_cert_chain(CERTFILE) 1079 certfile=CERTFILE, ssl_context=self.create_ssl_context()) 1085 keyfile=CERTFILE, ssl_context=self.create_ssl_context())
|
H A D | test_ftplib.py | 330 CERTFILE = os.path.join(os.path.dirname(__file__), "keycert3.pem") variable 341 context.load_cert_chain(CERTFILE) 987 self.assertRaises(ValueError, ftplib.FTP_TLS, keyfile=CERTFILE, 989 self.assertRaises(ValueError, ftplib.FTP_TLS, certfile=CERTFILE, 991 self.assertRaises(ValueError, ftplib.FTP_TLS, certfile=CERTFILE, 992 keyfile=CERTFILE, context=ctx)
|
Completed in 10 milliseconds