Some capsules do not seem to work without TLSv1.3, but it seems too restrictive for older devices to force 1.3 as a requirements. Therefore we should use 1.3 as a default but accept setting 1.2 as the desired protocol in the options. Other versions are not accepted by the spec.
Unsure how to test 1.3 capabilities but java.security.NoSuchAlgorithmException is thrown by SSLContext.getInstance("blah").
Some capsules do not seem to work without TLSv1.3, but it seems too restrictive for older devices to force 1.3 as a requirements. Therefore we should use 1.3 as a default but accept setting 1.2 as the desired protocol in the options. Other versions are not accepted by the spec.
Unsure how to test 1.3 capabilities but `java.security.NoSuchAlgorithmException` is thrown by `SSLContext.getInstance("blah")`.
Some capsules do not seem to work without TLSv1.3, but it seems too restrictive for older devices to force 1.3 as a requirements. Therefore we should use 1.3 as a default but accept setting 1.2 as the desired protocol in the options. Other versions are not accepted by the spec.
Unsure how to test 1.3 capabilities but
java.security.NoSuchAlgorithmException
is thrown bySSLContext.getInstance("blah")
.Preference is there, now to test the capability...
This actually fixes the connection issue with the capsule given as example above. It does not fix the connection issue described in #13 though.