Python - SSL Issue with Oauth2

前端 未结 6 1020
醉话见心
醉话见心 2020-12-14 03:41

I seem to be having an issue with SSL whenever trying to use oAuth2 in Python. I\'ve spent most of the afternoon attempting to debug it but can\'t seem to figure it out.

6条回答
  •  爱一瞬间的悲伤
    2020-12-14 04:22

    The default cacerts.txt that comes with httplib2 contains these certificates:

    • Verisign/RSA Secure Server CA
    • Thawte Personal Basic CA
    • Thawte Personal Premium CA
    • Thawte Personal Freemail CA
    • Thawte Server CA
    • Thawte Premium Server CA
    • Equifax Secure CA
    • Verisign Class 1 Public Primary Certification Authority
    • Verisign Class 2 Public Primary Certification Authority
    • Verisign Class 3 Public Primary Certification Authority
    • Verisign Class 1 Public Primary Certification Authority - G2
    • Verisign Class 2 Public Primary Certification Authority - G2
    • Verisign Class 3 Public Primary Certification Authority - G2
    • Verisign Class 4 Public Primary Certification Authority - G2
    • Verisign Class 1 Public Primary Certification Authority - G3
    • Verisign Class 2 Public Primary Certification Authority - G3
    • Verisign Class 3 Public Primary Certification Authority - G3
    • Verisign Class 4 Public Primary Certification Authority - G3
    • Equifax Secure Global eBusiness CA
    • Equifax Secure eBusiness CA 1
    • Equifax Secure eBusiness CA 2
    • Thawte Time Stamping CA
    • thawte Primary Root CA
    • VeriSign Class 3 Public Primary Certification Authority - G5
    • Entrust.net Secure Server Certification Authority
    • Go Daddy Certification Authority Root Certificate Bundle

    The instagram HTTPS certificate is signed by:

    • GeoTrust Global CA

    You will need to add the certificate to your cacerts.txt

提交回复
热议问题