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

issue with certificacion #7

Closed
rogerio77 opened this issue May 10, 2022 · 0 comments
Closed

issue with certificacion #7

rogerio77 opened this issue May 10, 2022 · 0 comments

Comments

@rogerio77
Copy link

I got this message in the client when I have to connect
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

` ./https_linux_client
Traceback (most recent call last):
File "urllib/request.py", line 1346, in do_open
File "http/client.py", line 1279, in request
File "http/client.py", line 1325, in _send_request
File "http/client.py", line 1274, in endheaders
File "http/client.py", line 1034, in _send_output
File "http/client.py", line 974, in send
File "http/client.py", line 1448, in connect
File "ssl.py", line 500, in wrap_socket
File "ssl.py", line 1040, in _create
File "ssl.py", line 1309, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "client.py", line 145, in
File "client.py", line 84, in execute
File "commands.py", line 38, in open_session
File "commands.py", line 26, in _send
File "client.py", line 78, in post
File "urllib/request.py", line 214, in urlopen
File "urllib/request.py", line 517, in open
File "urllib/request.py", line 534, in _open
File "urllib/request.py", line 494, in _call_chain
File "urllib/request.py", line 1389, in https_open
File "urllib/request.py", line 1349, in do_open
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>
[3535] Failed to execute script 'client' due to unhandled exception!`

Both certificates were build with the generate_certs.sh

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

2 participants