mirror of
https://gitlab.com/MoonTestUse1/AdministrationItDepartmens.git
synced 2025-08-14 00:25:46 +02:00
10 lines
187 B
Python
10 lines
187 B
Python
import ssl
|
|
|
|
import certifi
|
|
|
|
|
|
def default_ssl_context() -> ssl.SSLContext:
|
|
context = ssl.create_default_context()
|
|
context.load_verify_locations(certifi.where())
|
|
return context
|