Skip to content

Raising SSLError when init session #20

@gBuff

Description

@gBuff

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions