Python Requests Default CA Certs

from requests.utils import DEFAULT_CA_BUNDLE_PATH
print(DEFAULT_CA_BUNDLE_PATH)
C:\Users\bo671\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\certifi\cacert.pem
import certifi
certifi.where()
'C:\\Users\\bo671\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages\\certifi\\cacert.pem'
>>> from requests.utils import DEFAULT_CA_BUNDLE_PATH
>>> print(DEFAULT_CA_BUNDLE_PATH)
/usr/local/lib/python3.9/site-packages/certifi/cacert.pem
>>> import certifi
>>> certifi.where()
'/usr/local/lib/python3.9/site-packages/certifi/cacert.pem'

--

--

--

Engineer, formerly at Amazon, currently at Google. All opinions are my own. Consider supporting here: https://devblabs.medium.com/membership

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

CS371p Fall 2020: Benjamin Cheatham

Visual Studio App Center : Building a CI/CD pipeline for mobile app deployment

Case Study: What do you need to build a successful SaaS?

Knowing when to put code into your API/microservice vs. outside API (wrapper microservice)

Compiler Adventures, part 2: Constant Propagation

A blurry photo of a galaxy, with a bright blob in the middle surrounded by fuzzy swirling clouds of gas. Next to it, a crisp and sharp image of the same galaxy, showing many dots of light and and individual clouds where previously there was just a blur of color.

No Sharding, No ETL: Use a Scale-Out MySQL Alternative to Store 160+ TB of Data

Implementing Graceful Shutdown in Go

How to Crack Android Interviews in 2022?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Brian Olson

Brian Olson

Engineer, formerly at Amazon, currently at Google. All opinions are my own. Consider supporting here: https://devblabs.medium.com/membership

More from Medium

Is Pandas really that slow?

End of the Road for Python 3.6 — What’s Next

Efficient backtracking in Python using monads

7 Old School String Methods to Format Your Strings in Python