I have a MongoDB server that requires X509 certificate based authentication. I can’t see how to configure Dremio to connect using anything other than username/password or no authentication.
Is there a way to configure it to use certificate based authentication?
In dremio-env, you can add the following parameters to the extra java options towards the end of the file:
# Extra Java options
#
DREMIO_JAVA_EXTRA_OPTS="-Djavax.net.ssl.keyStoreType=jks -Djavax.net.ssl.trustStore=/path/to/truststore
-Djavax.net.ssl.trustStorePassword=yourPassword"
You will have to have the truststore on each Dremio node. If you are NOT using YARN then this config change has to be made to dremio-env each node with the appropriate values.