-
Notifications
You must be signed in to change notification settings - Fork 405
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
mlaunch: Support --ssl option to automatically setup a fully SSL-enabled cluster #127
Comments
Can you help me with that? I haven't played around with SSL yet. Can I tell if a build has SSL enabled? For example by parsing the |
That would probably work. But rather than trying to second guess whether it's there (which is needlessly fragile/racy in general), wouldn't it just be better to just do it, and see if the mongod exits with an error? I believe the necessary steps are to create a PEM file (not sure if there is a more portable way than calling out to the If the build lacks SSL support, it will just fail to accept the
Are such errors currently caught and returned to the user? If so, I think this would be explanatory enough. If not, and the failure is completely silent (except that doing |
Fixed with PR#524 |
#524 adds a bunch of SSL options but it does not appear that it has any functionality to generate the apparently required pem file to launch an SSL-enabled cluster. |
Assuming you already have an SSL-enabled build. Currently you have to muck about generating a keypair with openssl, followed by adding
--sslOnNormalPorts
and--sslPEMKeyFile <filename>
to the command line.The text was updated successfully, but these errors were encountered: