Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.19.0
Description
Flink always creates a keystore and trustore using the default type defined in the JDK, which in most cases is JKS.
KeyStore trustStore = KeyStore.getInstance(KeyStore.getDefaultType());
We should add other configuration options to set the type explicitly to support other custom formats, and match the options provided by other applications by Spark and Kafka already. The default would continue to be specified by the JDK.
The SSLContext for the REST API can read the configuration option directly, and we need to add extra logic to the CustomSSLEngineProvider for Pekko.
Attachments
Issue Links
- links to