You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2019/07/24 22:05:00 UTC
[jira] [Assigned] (HDDS-1858) mTLS support for Ozone is incorrect
[ https://issues.apache.org/jira/browse/HDDS-1858?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Siddharth Wagle reassigned HDDS-1858:
-------------------------------------
Assignee: Siddharth Wagle
> mTLS support for Ozone is incorrect
> -----------------------------------
>
> Key: HDDS-1858
> URL: https://issues.apache.org/jira/browse/HDDS-1858
> Project: Hadoop Distributed Data Store
> Issue Type: Bug
> Reporter: Josh Elser
> Assignee: Siddharth Wagle
> Priority: Critical
> Labels: newbie
>
> Thanks to Josh for reporting that we have missing 'Not' in the if condition check.
> {code}
> if (conf.isGrpcMutualTlsRequired()) {
> return new GrpcTlsConfig(
> null, null, conf.getTrustStoreFile(), false);
> } else {
> return new GrpcTlsConfig(conf.getClientPrivateKeyFile(),
> conf.getClientCertChainFile(), conf.getTrustStoreFile(), true);
> }
> {code}
> it should have been
> {code}
> if (!conf.isGrpcMutualTlsRequired()) {
> return new GrpcTlsConfig(
> null, null, conf.getTrustStoreFile(), false);
> } else {
> return new GrpcTlsConfig(conf.getClientPrivateKeyFile(),
> conf.getClientCertChainFile(), conf.getTrustStoreFile(), true);
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)
---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org