[ https://issues.apache.org/jira/browse/DIRMINA-1122?focusedWorklogId=861155&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-861155 ]
ASF GitHub Bot logged work on DIRMINA-1122: ------------------------------------------- Author: ASF GitHub Bot Created on: 09/May/23 09:20 Start Date: 09/May/23 09:20 Worklog Time Spent: 10m Work Description: the-thing commented on PR #26: URL: https://github.com/apache/mina/pull/26#issuecomment-1539764637 I was able to crate 2 branches based of 2.2.X and they both work (still waiting for the CI to run). 1) The old method - by providing the peer address. https://github.com/the-thing/mina/tree/ssl_endpoint_algorithm Probably not desired. 2) Without providing the peer address - requires additional serverNames parameter https://github.com/the-thing/mina/tree/ssl_endpoint_2 The problem with this method is that the actual server peer address will not be automatically verified and will have to be passed as a "serverName". 3) There is also another fix that doesn't require any of the above. The unit tests uses "localhost" as a host name so I would have to recreate the keystores with appropriate hostname patterns. Issue Time Tracking ------------------- Worklog Id: (was: 861155) Time Spent: 2h 20m (was: 2h 10m) > Add support for endpoint identification algorithm > ------------------------------------------------- > > Key: DIRMINA-1122 > URL: https://issues.apache.org/jira/browse/DIRMINA-1122 > Project: MINA > Issue Type: Improvement > Components: Filter, SSL > Affects Versions: 2.0.22, 2.1.3 > Reporter: Marcin L > Assignee: Jonathan Valliere > Priority: Minor > Fix For: 2.2.0 > > Attachments: > DIRMINA-1122_-_endpoint_identification_algorithm_support.patch > > Time Spent: 2h 20m > Remaining Estimate: 0h > > Support for endpoint identification algorithm was added in Java 1.7. > Currently MINA supports providing single SNI name via > org.apache.mina.filter.ssl.SslFilter#PEER_ADDRESS session attribute, but > there is no way verifying it matches the certificate received. > It would be nice if we could provide endpoint identification algorithm to > SslFilter so certificate's common name or subject alternative names are > verified. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org For additional commands, e-mail: dev-h...@mina.apache.org