Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raising SSLError when init session #20

Open
gBuff opened this issue Nov 20, 2017 · 0 comments
Open

Raising SSLError when init session #20

gBuff opened this issue Nov 20, 2017 · 0 comments

Comments

@gBuff
Copy link

gBuff commented Nov 20, 2017

Hello,

I've been trying to use the token-based authentication to connect to my GLPI instance but I've been facing the following error an SSL Error.

This comes from the request generated by the line 214 in glpi.py :
r = requests.request('GET', full_url, auth=auth, headers=headers)

I would like to add the possibility to choose verify=True/False in order to skip the error for "certificate verify failed" :
r = requests.request('GET', full_url, auth=auth, headers=headers, verify=verify)

Thanks again for all the work you've been doing, and all improvements to come !

Best regards,
Guillaume

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant