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

[client] Allow not to verify SSL certificates #737

Merged
merged 1 commit into from
Feb 9, 2023

Conversation

jjmerchante
Copy link
Contributor

This PR allows to perform SSL requests to a domain without verifying its certificate.

This PR changes the class for sgqlc endpoint. It now uses RequestsEndpoint because is easier to define a session with the verify option to False. With HTTPEndpoint it should be necessary to overwrite the urlopen function with a custom context with SSL disabled.

Update sgqlc package to lastest version.

This commit allow to perform SSL requests to a domain
without verifying its certificate with the option
`ssl_verify`.

This commit changes the class for sgqlc endpoint. It now
uses RequestsEndpoint because is easier to define a session with
the verify option to False. With HTTPEndpoint it should be necessary
to overwrite the urlopen function with a custom context with SSL
disabled.

Signed-off-by: Jose Javier Merchante <[email protected]>
Copy link
Member

@sduenas sduenas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sduenas sduenas merged commit 0106435 into chaoss:master Feb 9, 2023
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

Successfully merging this pull request may close these issues.

2 participants