I am trying to write a python script that, using the Imperva API, connects via TCP on a specific port and can modify certain settings. It has a ".cer" certificate, which I can download from the management panel. Trying to authenticate through the API, I get various errors related to SSL authentication.
https://docs.imperva.com/bundle/v14.6-waf-upgrade-guide/page/65959.htm
How do I implement through the request module in python this authorization? The API method is a login, along with base64 encrypted account login data. Unfortunately, the request also requires SSL. As far as I know, request has some problems with ".cer"