marcelkoopman opened a new issue #8:
URL: https://github.com/apache/mina-ftpserver/issues/8
In the IODataConnectionFactory class, the method createDataSocket is using
this code:
` if (ssl.getEnabledProtocol() != null) {
ssoc.setEnabledProtocols(new String[] { ssl.getEnabledProtocol()
});
}`
So clearly, when we have multiple protocols (TLSv1.2, TLSv1.3) this will not
work.
We also have to change the sslProtocol to this:
`sslConfigurationFactory.setSslProtocol("TLSv1.2");`
Because it seems that the default is "TLS", which is not a valid option in
the ProtocolVersion class from jdk 11
`enum ProtocolVersion {
TLS13(772, "TLSv1.3", false),
TLS12(771, "TLSv1.2", false),
TLS11(770, "TLSv1.1", false),
TLS10(769, "TLSv1", false),
SSL30(768, "SSLv3", false),
SSL20Hello(2, "SSLv2Hello", false),
DTLS12(65277, "DTLSv1.2", true),
DTLS10(65279, "DTLSv1.0", true),
NONE(-1, "NONE", false);`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]