deedy5 / primp

🪞PRIMP (Python Requests IMPersonate). The fastest python HTTP client that can impersonate web browsers
MIT License
90 stars 7 forks source link

Provide an Environment Variable for CA Certificates #48

Closed Alberto706 closed 1 week ago

Alberto706 commented 1 week ago

The PRIMP library currently does not provide an environment variable to specify the CA Certificates. This feature is essential for configuring secure HTTP connections, similar to what other Python HTTP clients offer. Adding this capability would enhance the flexibility and security of the library.

deedy5 commented 1 week ago

Fixed in v0.8.0 Use CA_CERT_FILE env var to provide CA Certificates:

export CA_CERT_FILE="/home/user/cert.pem"