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

How to connect with insecure mode? #403

Open
shiyao-afterpay opened this issue Oct 13, 2021 · 4 comments
Open

How to connect with insecure mode? #403

shiyao-afterpay opened this issue Oct 13, 2021 · 4 comments

Comments

@shiyao-afterpay
Copy link

I am seeing issues like:

Error 1 connecting to foobar.com. [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1091)
@shiyao-afterpay
Copy link
Author

I'd like to bypass the cert verification process.

@laixintao
Copy link
Owner

currently, i think it is not possible, need to change code to add a new option, allow bypass certs.

redis/redis-py#1017

@shiyao-afterpay
Copy link
Author

Hi @laixintao
I did a search: https://github.com/redis/redis-py/search?q=ssl_cert_reqs
seems the option is in there.

For example, if iredis can honor the param ssl_cert_reqs in the url:
https://github.com/redis/redis-py/blob/fa76ac49a9ea02c204bd4f1644f39d90140cf356/tests/test_asyncio/test_connection_pool.py#L565, then the problem can be solved.

@laixintao
Copy link
Owner

Yes

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