https://issues.apache.org/bugzilla/show_bug.cgi?id=56780

--- Comment #10 from Konstantin Kolinko <knst.koli...@gmail.com> ---
> 3. Is it possible to try several names in turn in
> "SSLContext.getInstance("TLS");" such as "TLS", "TLSv1.1" and "TLSv1.2"?

Other ideas:
A) Use JSSESocketFactory.defaultProtocol field here and allow it to be
configured via a system property.

B) Defer evaluation of DEFAULT_SERVER_PROTOCOLS until there is a SSLContext
instance that can be used to evaluate it, created from user-provided protocol
name.

SSLContext.getProtocol() returns the protocol name and that allows to create a
different SSLContext instance to test its defaults.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to