@Rayen Harchay Thanks for sharing the exception.
@Art
Based on the stack trace, it uses pyopenssl and there is an issue #1151 with this repo discussing this problem. I would recommend you checking cryptography version based on this comment. If you still face the issue, add a comment there so that experts from the repo can assist you further.
I would be happy to assist you if any other questions. Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community.