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

Can't connect TLS #1011

Closed
no0neCare opened this issue Jan 17, 2022 · 2 comments
Closed

Can't connect TLS #1011

no0neCare opened this issue Jan 17, 2022 · 2 comments

Comments

@no0neCare
Copy link

Hello! I tried to start TLS connection with self-signed cert., but i get error "('unable to open socket', [(LDAPSocketOpenError("('socket ssl wrapping error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1108)',)"), ('adress', 636))])". How can i add my certs to trusted for lib or get with this error somehow?
Thank you!

@iskylite
Copy link

How did you solve this problem

@no0neCare
Copy link
Author

How did you solve this problem

Hello! In my case, coz i work in closed network i just used validate = ssl.CERT_NONE. But it is dangerously unsafe.

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