He-Pin commented on code in PR #2821:
URL: https://github.com/apache/pekko/pull/2821#discussion_r3004782950
##########
remote/src/test/scala/org/apache/pekko/remote/artery/tcp/ssl/RotatingKeysSSLEngineProviderSpec.scala:
##########
@@ -143,6 +143,10 @@ class RotatingProviderWithChangingKeysSpec
case _: java.lang.AssertionError =>
// This assertion error is expected because we expect a failure in
contact() since
// the SSL credentials are invalid
+ case _: java.util.NoSuchElementException =>
+ // On JDK 25+, stricter X.509 Extended Key Usage validation rejects
the client-only
+ // certificate for TLS server authentication, causing the SSL
handshake to fail before
+ // actor identification completes. This results in ActorIdentity.ref
being None.
Review Comment:
Maybe we can use a better-suited certificate for TLS server authentication
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]