ethaden opened a new pull request, #14130:
URL: https://github.com/apache/kafka/pull/14130

   This contribution extends the TrustManager created by the 
DefaultSSLEngineFactory class with code  that checks for any invalid 
certificate whether it is just expired but valid otherwise. If this is the 
case, it extracts the common name and logs it. Apart from that, the trust 
manager will behave exactly as the default one.
   
   Extensive unit tests are included in this pull request for ensuring that the 
modified trust manager will behave exactly as the default one, except for 
logging expired certificates common name. The test code generates several 
certificate chains with valid, invalid and expired end certificates, root CAs 
and even intermediate CAs.
   
   This contribution is my original work and I license the work to the project 
under the project's open source license.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   
   


-- 
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: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to