File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -37,3 +37,19 @@ In MongoDB deployments with mixed versions of :binary:`~bin.mongod`, it is
37
37
possible to get an ``Unrecognized pipeline stage name: '$sample'``
38
38
error. To mitigate this situation, explicitly configure the partitioner
39
39
to use and define the Schema when using DataFrames.
40
+
41
+ How can I use mTLS for authentication?
42
+ --------------------------------------
43
+
44
+ To use mTLS, include the following options when you run ``spark-submit``:
45
+
46
+ .. code-block:: bash
47
+
48
+ --driver-java-options -Djavax.net.ssl.trustStore=<path to your truststore.jks file> \
49
+ --driver-java-options -Djavax.net.ssl.trustStorePassword=<your truststore password> \
50
+ --driver-java-options -Djavax.net.ssl.keyStore=<path to your keystore.jks file> \
51
+ --driver-java-options -Djavax.net.ssl.keyStorePassword=<your keystore password> \
52
+ -conf spark.executor.extraJavaOptions=-Djavax.net.ssl.trustStore=<path to your truststore.jks file> \
53
+ -conf spark.executor.extraJavaOptions=-Djavax.net.ssl.trustStorePassword=<your truststore password> \
54
+ -conf spark.executor.extraJavaOptions=-Djavax.net.ssl.keyStore=<path to your keystore.jks file> \
55
+ -conf spark.executor.extraJavaOptions=-Djavax.net.ssl.keyStorePassword=<your keystore password> \
You can’t perform that action at this time.
0 commit comments