How to fix SSLError [SSL: CERTIFICATE_VERIFY_FAILED]

ritakrp
On 20th Jan I have renewed 'Kite Connect' subscription.
Now I am getting "SSLCertVerificationError " while trying to access API .

request_token='pnLMX06Zm6PIB5Ft6TcpiDB6OeRNWg1K'
data=kite.generate_session(request_token,api_secret=api_secret)
access_token=data['access_token']
print(access_token)
kite.set_access_token(access_token)

I have used same above script , which was working in past , but now it's showing error !!
@sujith , @Imran can you please help .

Note: For more details have attached the complete error log.
Sign In or Register to comment.