You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "MegaManSec (via GitHub)" <gi...@apache.org> on 2025/11/02 15:48:29 UTC
[PR] JNDIRealm: use constructed SSLSocketFactory for StartTLS [tomcat]
MegaManSec opened a new pull request, #915:
URL: https://github.com/apache/tomcat/pull/915
createSSLSocketFactoryFromClassName(String) returned the field `sslSocketFactory` instead of the newly constructed instance. On first use this field is null, causing getSSLSocketFactory() to cache null and StartTLS to proceed without the administrator-supplied factory.
Impact: custom truststores/hostname verification/cipher selection are silently ignored for LDAP StartTLS connections.
Fix: return the constructed `(SSLSocketFactory) o` so the configured factory is applied and cached correctly.
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
Re: [PR] JNDIRealm: use constructed SSLSocketFactory for StartTLS [tomcat]
Posted by "rmaucher (via GitHub)" <gi...@apache.org>.
rmaucher merged PR #915:
URL: https://github.com/apache/tomcat/pull/915
--
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: dev-unsubscribe@tomcat.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org