h = http.client.HTTPSConnection('api.instagram.com', 443, context=context)
h.request('POST', '/oauth/access_token')
resp = h.getresponse()
print((resp.status, resp.reason))
print(resp.headers)
print(resp.read())
Python - SSL Issue with Oauth2