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 not work when server require client present a CA file. #113

Open
zhcwang opened this issue Apr 3, 2020 · 0 comments
Open

Can not work when server require client present a CA file. #113

zhcwang opened this issue Apr 3, 2020 · 0 comments

Comments

@zhcwang
Copy link

zhcwang commented Apr 3, 2020

Through the read me, i notice three special param that allowConnectionsWithoutCertificates: true
、allowInvalidHostnames: true、 allowInvalidCertificates: true。
That means sidecar want to connect mongo without using any CAs. But the problem comes when the server security police is very high, and don't allow anyone without CA to access.

So if there any solutions like we can mount all the CA in mongo container in a special path and with a special name. Or just mount it to sidecar. Anyway, make sure that sidecar can use correct CAs to run commend .e.g.

mongo --host localhost:27017 --ssl --sslPEMKeyFile /xxx --sslCAFile /xxx --sslAllowInvalidHostnames

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

1 participant