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

TLS/SSL setup for replica sets is not working. #177

Open
BhanuCh opened this issue Sep 25, 2017 · 1 comment
Open

TLS/SSL setup for replica sets is not working. #177

BhanuCh opened this issue Sep 25, 2017 · 1 comment

Comments

@BhanuCh
Copy link

BhanuCh commented Sep 25, 2017

I am trying to setup 3 node replica set with TLS/SSL configured. which is not working as expected.

In file
sous-chefs/mongodb/blob/master/libraries/mongodb.rb (line 76)

connection = Mongo::Connection.new('localhost', node['mongodb']['config']['port'], op_timeout: 5, slave_ok: true)
is breaking.
I have checked the mongo ruby gem, it looks here we should make connection/client initiation using ssl options, like passing ssl:true and ssl key file.

Let me know if any one setup replica set successfully using TLS/SSL configured.

@github-actions
Copy link

Marking stale due to inactivity. Remove stale label or comment or this will be closed in 7 days. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help! Thanks, Sous-Chefs.

@github-actions github-actions bot added the Stale label Sep 30, 2020
@xorimabot xorimabot removed the Stale label Sep 30, 2020
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