z4r / python-rtkit

Python Api for Request Tracker's REST interface
http://z4r.github.com/python-rtkit/
Other
68 stars 44 forks source link

Bypass SSL checking #47

Open F00ker opened 8 years ago

F00ker commented 8 years ago

Hi,

I'm trying to automate ticket creations but the RT server has a self signed SSL which is raising: urllib2.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)>

Is there any way we could get a toggle for SSL checking?

rashed2014 commented 6 years ago

Hmm no one responded to this issue? I am having the same problem and would like to know how I can turn off the SSL checking.

eLderSoQueSemL commented 6 years ago

Hello, I'm having problems with requests when using rtkit related to the self-signed certificate. Is it possible to disable SSL verification in rtkit?

I'm running a request via GET in the following url: https://mydomain/rt/REST/1.0/user/myuser

A request like this would be possible? Requests.get ('https://mydomain/rt/REST/1.0/user/myuser', verify = False)