Member since
07-22-2024
2
Posts
1
Kudos Received
0
Solutions
08-01-2024
03:56 AM
1 Kudo
Hi @MattWho Seems the 2.0.0-M4 Nifi toolkit does not have an option to encrypt(encrypt-config). When compared to lower versions of nifi toolkit -1.0.xx . Will there be a fix for this issue on any upcoming Milestone versions?
... View more
07-29-2024
08:09 PM
Error while trying to upgrade nifi-registry from 1.25.0 to 2.0.0M1 ------------------------------------------------------------------------------------------------------------------- Error : ERROR [main] o.springframework.boot.SpringApplication Application run failed org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'accessResource' defined in file [/opt/nifi-registry/nifi-registry-current/work/jetty/nifi-registry-web-api-2.0.0-M1.war/webapp/WEB-INF/classes/org/apache/nifi/registry/web/api/AccessResource.class]: Unsatisfied dependency expressed through constructor parameter 5: Error creating bean with name 'getIdentityProvider' defined in class path resource [org/apache/nifi/registry/security/authentication/IdentityProviderFactory.class]: Failed to instantiate [org.apache.nifi.registry.security.authentication.IdentityProvider]: Factory method 'getIdentityProvider' threw exception with message: Identity Provider configuration XML was protected using aes/gcm/256, which is not supported. Cannot configure this Identity Provider due to failing to decrypt protected configuration properties. ----------------------------------------------------------------------------------------------------------------- Java home: /usr/lib/jvm/jdk-21.0.1-bellsoft-x86_64 Encrypt config command using nifi toolkit : ./encrypt-config.sh --nifiRegistry -v -r nifi-registry.properties -a authorizers.xml -i identity-providers.xml -p "XXXXXXX" -b bootstrap.conf Logs after encrypting : [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Neither Migration Bootstrap Root Key nor Migration Bootstrap Password specified [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.registry.properties.NiFiRegistryPropertiesLoader - Loaded 46 properties from /opt/nifi-registry/nifi-registry-current/conf/nifi-registry.properties [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Bootstrap Configuration [bootstrap.conf] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Bootstrap Configuration [bootstrap.conf] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Application Properties [nifi-registry.properties] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Application Properties [nifi-registry.properties] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Authorizers [authorizers.xml] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Authorizers [authorizers.xml] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Started processing Identity Providers [identity-providers.xml] [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Bootstrap Root Key Derivation started [main] INFO org.apache.nifi.toolkit.config.command.RegistryEncryptConfig - Completed processing Identity Providers [identity-providers.xml]
... View more
Labels:
- Labels:
-
Apache NiFi
-
NiFi Registry