How to use .p12 certificate to authenticate rest api
问题 I have received a certificate.p12 with username and password. While I am able to use Rest Client for post requests after i install this certificate in my system. How can i use this certificate to authenticate post requests on Rest API using Python requests method ? I am using below code but it is not working. import requests headers = {'Content-Type': 'application/json'} payload = {'folder': '/Trial/trial_dir'} response = requests.post('https://<IP>:8080/siteapi/availabletests', params