WattTime / watttime-python-client

A software development kit for the WattTime API, showing basic examples of usage.
7 stars 6 forks source link

Request to add custom SSL certificate verification to _login function #22

Closed malakhalifa0 closed 2 months ago

malakhalifa0 commented 2 months ago

Currently, the _login function watttime/api.py does not specify custom SSL certificate verification when making requests to the WattTime API, instead, it uses the system defaults. For enhanced security and compatibility with specific certificate requirements, we need to update the function to use a custom certificate location for SSL verification.

This would be really useful in the cases where we would need to trust a specific certificate and would improve the security and compatibility of the API login process.