[ 
https://issues.apache.org/jira/browse/HBASE-28336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17812030#comment-17812030
 ] 

Bryan Beaudreault commented on HBASE-28336:
-------------------------------------------

Can you possibly add a test so we know we are covered here? I should have asked 
for that in the last jira. There are already some TLS tests, so you might be 
able to just add an assertion in an existing test.

> Fix casting bug in NettyRpcServer introduced in HBASE-28317
> -----------------------------------------------------------
>
>                 Key: HBASE-28336
>                 URL: https://issues.apache.org/jira/browse/HBASE-28336
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Charles Connell
>            Assignee: Charles Connell
>            Priority: Minor
>
> I introduced a bug in HBASE-28317 that makes it useless. I tried to up-cast 
> an array of {{java.security.cert.Certificate}} to an array of 
> {{java.security.cert.X509Certificate}}, which doesn't work. I'll fix this in 
> this ticket. This bug causes a lot of log spam and makes 
> {{RpcCallContext.getClientCertificateChain()}} always return empty, but does 
> not otherwise break the HBase server.
> I'm also immediately regretting my use of WARN logs when a certificate isn't 
> present, because it turns out this happens on connections from localhost, so 
> there's a lot of WARNs with stacktraces in the logs.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to