Пример #1
0
 def get_cert(cls, domain):
     return CertUtil.load_server_cert(TestEnv.HTTPD_HOST,
                                      TestEnv.HTTPS_PORT, domain)
Пример #2
0
 def get_cert(cls, domain, tls=None, ciphers=None):
     return CertUtil.load_server_cert(TestEnv.HTTPD_HOST,
                                      TestEnv.HTTPS_PORT, domain, tls=tls, ciphers=ciphers)