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

SSL error #47

Closed
sannemuis opened this issue Aug 16, 2019 · 2 comments · Fixed by #48
Closed

SSL error #47

sannemuis opened this issue Aug 16, 2019 · 2 comments · Fixed by #48
Labels
Milestone

Comments

@sannemuis
Copy link

I get a SSL error when I try to log in with OPENID. It seems that there is a mismatch between OpenSSL versions between my environment and the LLNL node. Would you be able to tell me on version of pyopenssl ESGF Pyclient is built?

@cehbrecht cehbrecht added the bug label Aug 16, 2019
@cehbrecht cehbrecht added this to the 0.3.0 milestone Aug 16, 2019
@cehbrecht
Copy link
Collaborator

@sannemuis You need the latest myproxyclient (2.1.0) which is not on conda-forge yet.

I tried it with the following installation:

$ conda create -c conda-forge -n esgf-pyclient python=3.6 pip esgf-pyclient
$ conda activate esgf-pyclient
(esgf-pyclient) pip install myproxyclient

@cehbrecht
Copy link
Collaborator

You need to use the bootstrap=True option on first logon, otherwise the following error may occur:

OpenSSL.SSL.Error: [('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')]

The following procedure worked:

conda create -c conda-forge -n esgf-pyclient python=3.6 pip esgf-pyclient
conda activate esgf-pyclient
(esgf-pyclient) pip install myproxyclient
(esgf-pyclient) python
import pyesgf.logon
lm = pyesgf.logon.LogonManager()
lm.logon(hostname='esgf-data.dkrz.de', interactive=True, bootstrap=True)

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

Successfully merging a pull request may close this issue.

2 participants