blob: c99c5a67945b8a3a3544d481e979c791ab45fe23 (
about) (
plain)
1
2
3
4
5
6
7
8
9
|
import ssl
import certifi
def default_ssl_context() -> ssl.SSLContext:
context = ssl.create_default_context()
context.load_verify_locations(certifi.where())
return context
|