Hi Jeff -We have docs on this at https://docs.mongodb.com/charts/v0.12/administration/configure-ssl-data-sources/. Basically you need to copy the PEM files into the mongodb-charts_db-certs Docker volume.Let me know how you go.Tom
Is there a doc that list the SSL parameters that I need to pass? I need to pass the private key and the CA filename as well ...
Thanks,
Jeff
Ah, in this particular case, the test-connection script is likely to be misleading. This is because the volume with the certs isn't mounted. Also the test-connection script uses the Node driver, not the Go driver, and I'm not positive it handles the SSL parameters in the same way.I'd suggest skipping this step and moving on with the installation - store the URI in the Docker secret and then start the stack. Once the stack is running you can use docker ps to get the ID of the container, and then docker exec -it <containerId> bash to launch a shell in the container. From there you can check the certs and also look at the log files in /mongodb-charts/logs.Tom
Anything else I can try?
Appreciated your help. please send me an email when the release is a available for testing! My email is jeff.ch...@gmail.com
Jeff
any new updates?
Thanks,
Jeff
echo "mongodb://<user>:<pw>@<server:port>/[db or in my case its empty]?authsource=admin&ssl=true&sslclientcertificatekeyfile=/mongodb-charts/volumes/db-certs/client.pem&sslcertificateauthorityfile=/mongodb-charts/volumes/db-certs/ca.pem" | docker secret create charts-mongodb-uri -Certificate:...
-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----
-----BEGIN CERTIFICATE----- ...-----END CERTIFICATE-----
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/be2154a0-4d7e-4418-ab53-090f418a11df%40googlegroups.com.