SSLError: bad handshake

I used to be able to download data from the permID API using my python script and access token. However, recently I have been getting an SSL error:

SSLError: HTTPSConnectionPool(host='permid.org', port=443): Max retries exceeded with url: /1-5042944306?format=json-ld&access-token=XXXXXXXXX (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])")))

I would appreciate it if somebody can provide a solution for this. Thank you.

Best Answer

Answers

  • Thank you, @zoya.farberov It was indeed the security restrictions from my organization.