Skip to content

Commit 8cf7871

Browse files
committed
Use UNKNOWN for auth algorithm type as this is what also gets passed during the Tls handshake.
1 parent 032d292 commit 8cf7871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

netty/src/main/java/io/grpc/netty/X509AuthorityVerifier.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,6 @@ private void verifyAuthorityAllowedForPeerCert(String authority)
103103
throw new IllegalStateException("checkServerTrustedMethod not found");
104104
}
105105
checkServerTrustedMethod.invoke(
106-
x509ExtendedTrustManager, x509PeerCertificates, "RSA", sslEngineWrapper);
106+
x509ExtendedTrustManager, x509PeerCertificates, "UNKNOWN", sslEngineWrapper);
107107
}
108108
}

0 commit comments

Comments
 (0)