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

ASF subversion and git services commented on NIFI-13985:
--------------------------------------------------------

Commit 4554aaf5b6a1e0aa51c47a05760eb2e485c6cb24 in nifi's branch 
refs/heads/main from markobean
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4554aaf5b6 ]

NIFI-13985 Fixed typo causing Trust Store loading failures in 
StandardSSLContextService (#9503)

Signed-off-by: David Handermann <[email protected]>

> StandardSSLContextService error for when keystore file is not provided
> ----------------------------------------------------------------------
>
>                 Key: NIFI-13985
>                 URL: https://issues.apache.org/jira/browse/NIFI-13985
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Mark Bean
>            Assignee: Mark Bean
>            Priority: Major
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Currently, when the Keystore file is not provided in the 
> StandardSSLContextService configuration, a TrustManager not be created.
> {{252         final TrustManager trustManager;}}
> {{253         final String trustStoreFile = {*}getKeyStoreFile{*}();}}
> {{254         if (trustStoreFile == null || trustStoreFile.isBlank()) {}}
> {{255             getLogger().debug("Trust Store File not configured");}}
> {{256         } else {}}
> {{257             trustManager = createTrustManager();}}
> {{258             sslContextBuilder.trustManager(trustManager);}}
> {{259         }}}
> Line 254 should be:
> {{         final String trustStoreFile = {*}getTrustStoreFile{*}();}}



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

Reply via email to