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

Add option for custom cert #135

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Add option for custom cert #135

wants to merge 3 commits into from

Conversation

abuonomo
Copy link

I don't see an easy way to add a custom ca cert for verifying your sparql requests. I made a simple change so that you can easily add a custom cert in your request.

@dayures
Copy link
Contributor

dayures commented Mar 22, 2020

@abuonomo @syats these two PR (#135 #147) are quite similar. From your experience, what could be the best and simplest solution?

@abuonomo
Copy link
Author

@dayures I'm not sure if there is a motivation to create an ssl.Context if we are ultimately passing just one cert file. @syats might have a reason for that which I am not totally aware of. From my perspective, I think my solution seems simpler. However, I can see that in the future, even greater extensibility may be offered by allowing for an ssl.Context to be passed to urlopen by the user.

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