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.
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.