aws_connector.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:snap-to-cloud-examples 作者: synapse-wireless 项目源码 文件源码
def get_cafile(self):
        """Download a certificate to authenticate the identity of the AWS IoT platform."""
        authority_location = "https://www.symantec.com/content/en/us/enterprise/verisign/roots/VeriSign-Class%203-Public-Primary-Certification-Authority-G5.pem"

        url = urllib.URLopener()
        cafile = self.get_abs_path(CAFILE)
        url.retrieve(authority_location, cafile)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号