Closed ashwathishiva closed 4 years ago
PR: https://github.com/qlik-oss/sense-installer/pull/325
preflight mongo check with ca certificate option:
qliksense preflight mongo --url=<mongodb url> --tls --ca-cert=<path to ca cert>
Mongo command run: mongo <mongodb url> --tls --tlsCAFile=/etc/ssl/preflight-mongo-test-cacert/preflight-mongo-test-cacert
preflight mongo check with client certificate option:
qliksense preflight mongo --url=<mongodb url> --tls --ca-cert=<path to ca cert> --client-cert=<path to client cert>
Mongo command run: mongo <mongodb url> --tls --tlsCAFile=/etc/ssl/preflight-mongo-test-cacert/preflight-mongo-test-cacert --tlsCertificateKeyFile=/etc/ssl/preflight-mongo-test-clientcert/preflight-mongo-test-clientcert
At any time to view more info, use the -v
or --verbose
flag with any preflight command.
Currently
qliksense preflight mongo
command works with a url where mongodb is running locally. The expectation is for this command to work with a mongourl that exists on the cluster and be able to work with authentication and certificates.