MongoDB-Charts Stitch SSL Cert Issues

Hello Tom! Thanks for the reply. Sorry for the late reply I was trying to run thru things again to see if I can fix before replying, but no joy.

I have read most of the installation documentation a few times. I’ll admit I mostly get confused on the SSL part. It seems there might be a combination of connection-uri and cert file confusion on my part. Below are the various connection-uri I have tried (all get verified), and the stitch-startup.log output:

connection-uri:

docker run --rm quay.io/mongodb/charts:19.12.2 charts-cli test-connection 'mongodb://admin:password@172.17.0.1?ssl=true'

stitch ouput:

2021-02-22T00:48:33.633Z        ERROR   main_server     server/main.go:88       error starting up servers: error parsing uri

I think I figured the above issue, it seems stitch wants a ‘/’ after the host.

connection-uri:

docker run --rm quay.io/mongodb/charts:19.12.2 charts-cli test-connection 'mongodb://admin:password@172.17.0.1/?ssl=true'

stitch ouput:

Addr: 172.17.0.1:27017, Type: Unknown, State: Connected, Average RTT: 0, Last error: x509: cannot validate certificate for 172.17.0.1 because it doesn't contain any IP SANs

I will try some more testing and read the docs again in the morning. Thanks.