You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that this connection doesn't check authority. Whenever I put a path to properly CA certificate file or not (certificate which don't verify server's certificate) I'm able to connect to remote server and do some operations.
I guess the issue is in factory/ssl.connection.py file. There is no cert_reqs argument passed to args_dict which goes to ssl.wrap_socket.
One solution is to add
ssl_kwargs["cert_reqs"] = ssl.CERT_REQUIRED
diff out:
123a124
ssl_kwargs = {"server_side" : False}
if keyfile:
ssl_kwargs["keyfile"] = keyfile
if certfile:
ssl_kwargs["certfile"] = certfile
if ca_certs:
ssl_kwargs["ca_certs"] = ca_certs
> ssl_kwargs["cert_reqs"] = ssl.CERT_REQUIRED
if ssl_version:
ssl_kwargs["ssl_version"] = ssl_version
The text was updated successfully, but these errors were encountered:
Hi,
I want to safely connect to remote service through tls. I need authorization from server.
I use
The problem is that this connection doesn't check authority. Whenever I put a path to properly CA certificate file or not (certificate which don't verify server's certificate) I'm able to connect to remote server and do some operations.
I guess the issue is in factory/ssl.connection.py file. There is no cert_reqs argument passed to args_dict which goes to ssl.wrap_socket.
One solution is to add
ssl_kwargs["cert_reqs"] = ssl.CERT_REQUIRED
diff out:
123a124
The text was updated successfully, but these errors were encountered: