try:
r = requests.post(url, data=data, verify='/path/to/public_key.pem')
More Related Contents:
- Python Requests throwing SSLError
- SSL InsecurePlatform error when using Requests package
- using requests with TLS doesn’t give SNI support
- Python Requests – How to use system ca-certificates (debian/ubuntu)?
- Requests (Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”) Error in PyCharm requesting website
- Python requests.exceptions.SSLError: EOF occurred in violation of protocol
- Python requests SSL error – certificate verify failed
- Python – requests.exceptions.SSLError – dh key too small
- OpenSSL errors in python requests
- Python Requests getting SSLerror
- Requests failing to connect to a TLS server
- SSL error with Python requests despite up-to-date dependencies
- Caused by SSLError(“Can’t connect to HTTPS URL because the SSL module is not available.”
- How to get around python requests SSL and proxy error?
- urllib and “SSL: CERTIFICATE_VERIFY_FAILED” Error
- pip install fails with “connection error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:598)”
- How to “log in” to a website using Python’s Requests module?
- MaxRetryError: HTTPConnectionPool: Max retries exceeded (Caused by ProtocolError(‘Connection aborted.’, error(111, ‘Connection refused’)))
- Can I set max_retries for requests.request?
- How to use cookies in Python Requests
- Python Request Post with param data
- Python FTP implicit TLS connection issue
- python ignore certificate validation urllib2
- Only download a part of the document using python requests
- Python : Trying to POST form using requests
- What is the difference between ‘content’ and ‘text’
- parse multipart/form-data, received from requests post
- How to get the raw content of a response in requests with Python?
- Building Python 3.7.1 – SSL module failed
- openssl, python requests error: “certificate verify failed”