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

https endpoints are not working #12

Closed
jreadey opened this issue Jul 25, 2016 · 3 comments
Closed

https endpoints are not working #12

jreadey opened this issue Jul 25, 2016 · 3 comments

Comments

@jreadey
Copy link
Member

jreadey commented Jul 25, 2016

Https endpoints fail with SSLError.
E.g.:

requests.exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:600)

@jreadey
Copy link
Member Author

jreadey commented Jul 25, 2016

This is actually a problem with the cert installation on data.hdfgroup.org. For some reason it doesn't verify, even though the same link in a browser works fine.

While that's getting sorted out, I made verify=False the option for http requests.

@jreadey jreadey closed this as completed Aug 25, 2016
@jreadey
Copy link
Member Author

jreadey commented Aug 25, 2016

Note data.hdfgroup.org:7253 is the non-SSL endpoint and data.hdfgroup.org:7258 is SSL.

After converting the data.hdfgroup.org server to use Amazon certificate, running requests works ok. E.g.:

requests.get('https://data.hdfgroup.org:7258')

The h5ls.py examples now fails with a different error:

$ python h5ls.py -e https://data.hdfgroup.org:7258 /Users/jreadey/anaconda/envs/py34/lib/python3.4/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html InsecureRequestWarning) OSError: Forbidden

Need to investigate what is going wrong with h5ls.py.

@jreadey jreadey reopened this Aug 25, 2016
@jreadey
Copy link
Member Author

jreadey commented Aug 25, 2016

The problem was base.py was explicity setting verify to False. Fixed in 1a9c913.

@jreadey jreadey closed this as completed Aug 25, 2016
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