diff --git a/nifi-extension-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java b/nifi-extension-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java index 23b6f9137c57..4664c5778fb8 100644 --- a/nifi-extension-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java +++ b/nifi-extension-bundles/nifi-standard-services/nifi-ssl-context-bundle/nifi-ssl-context-service/src/main/java/org/apache/nifi/ssl/StandardSSLContextService.java @@ -250,7 +250,7 @@ public SSLContext createContext() { final StandardSslContextBuilder sslContextBuilder = new StandardSslContextBuilder().protocol(protocol); final TrustManager trustManager; - final String trustStoreFile = getKeyStoreFile(); + final String trustStoreFile = getTrustStoreFile(); if (trustStoreFile == null || trustStoreFile.isBlank()) { getLogger().debug("Trust Store File not configured"); } else {