# 需要导入模块: from OpenSSL import SSL [as 别名]# 或者: from OpenSSL.SSL importVERIFY_FAIL_IF_NO_PEER_CERT[as 别名]defcreate_dest_sslcontext(insecure=False, trusted_ca_certs="", alpn=None):ssl_ctx = create_basic_sslcontext()ifnotinsecure: trusted_ca_certs = trusted_ca_certsorcertifi...