def enable_tls(self, p_cacert, p_cert, p_key):
self.m_handle.setopt(pycurl.CAINFO, p_cacert)
self.m_handle.setopt(pycurl.SSLCERT, p_cert)
self.m_handle.setopt(pycurl.SSLKEY, p_key)
self.m_handle.setopt(pycurl.SSL_VERIFYPEER, True)
评论列表
文章目录