When I execute the below line,
req = urllib2.Request(requestwithtoken) 
self.response = urllib2.urlopen(req,self.request).read()
I am getting the following exception:
SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:590)
The thing is I am able to get the token by pinging the service by using curl.
During the process of retrieving the token, all the certificates were verified.
In turn, by using the generated token, i am not able to connect to the service.
I am getting the above error while trying.
What could be the reason for that?