Github user StephanEwen commented on a diff in the pull request: https://github.com/apache/flink/pull/3486#discussion_r105371699 --- Diff: flink-runtime/src/main/java/org/apache/flink/runtime/net/SSLUtils.java --- @@ -55,6 +58,42 @@ public static boolean getSSLEnabled(Configuration sslConfig) { } /** + * Sets SSl version and cipher suites for SSLServerSocket + * @param socket + * Socket to be handled + * @param config + * The application configuration + */ + public static void setSSLVerAndCipherSuites(ServerSocket socket, Configuration config) { + if (socket instanceof SSLServerSocket) { + ((SSLServerSocket) socket).setEnabledProtocols(config.getString( + ConfigConstants.SECURITY_SSL_PROTOCOL, + ConfigConstants.DEFAULT_SECURITY_SSL_PROTOCOL).split(",")); --- End diff -- I think you are right, it is probably hard to do good verification here, and better to rely on the verification by the `SSLServerSocket`.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---