Tim Meehan created SPARK-59181:
----------------------------------
Summary: Use system default trust managers when the RPC truststore
is missing
Key: SPARK-59181
URL: https://issues.apache.org/jira/browse/SPARK-59181
Project: Spark
Issue Type: Bug
Components: Input/Output
Affects Versions: 4.2.0
Reporter: Tim Meehan
Spark RPC TLS currently falls back to trusting all certificates when no usable
truststore is configured. This silently disables peer authentication and
permits man-in-the-middle attacks.
Use the JVM’s default TrustManagerFactory when no explicit truststore is
available. Operators using self-signed certificates or internal CAs must
configure a Spark truststore or add the CA to the JVM default truststore.
Pull request: https://github.com/apache/spark/pull/58478
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]