<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: javax.crypto.AEADBadTagException: Tag mismatch! in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382574#M244629</link>
    <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96482"&gt;@Dave0x1&lt;/a&gt;, I'm happy to see that you resolved your issue. Can you kindly mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future?&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2024 04:42:58 GMT</pubDate>
    <dc:creator>VidyaSargur</dc:creator>
    <dc:date>2024-01-23T04:42:58Z</dc:date>
    <item>
      <title>javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382463#M244598</link>
      <description>&lt;P&gt;Hi there, I need some help regarding using a flow.xml.gz from 1.13 to 1.24. First our nifi setup:&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 node cluster running on ec2 instances in aws where we run nifi in docker containers. We have succesfully upgraded from 1.13 to 1.24 after making a backup of the flow.xml.gz file.&lt;/P&gt;&lt;P&gt;We then stop the nifi containers and put back the flow.xml.gz from version 1.13. Then startup nifi. Unfortunately we get the following error:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:58 nifi-node-1 docker[27934]: 2024-01-19 07:20:58,216 INFO [main] org.eclipse.jetty.server.Server Started @78240ms&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:58,304 INFO [main] org.apache.nifi.web.server.JettyServer Loading Flow...&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:58,326 INFO [main] o.apache.nifi.io.socket.SocketListener Now listening for connections from nodes on port 8888&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,036 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 10, col 20: cvc-complex-type.2.4.b: The content of element &lt;/SPAN&gt;&lt;SPAN&gt;'flowRegistry'&lt;/SPAN&gt;&lt;SPAN&gt; is not complete. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{class}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,037 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 16, col 20: cvc-complex-type.2.4.b: The content of element &lt;/SPAN&gt;&lt;SPAN&gt;'flowRegistry'&lt;/SPAN&gt;&lt;SPAN&gt; is not complete. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{class}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,037 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 27, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,037 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 33, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,045 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 39, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,045 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 45, col 19: cvc-complex-type.2.4.b: The content of element &lt;/SPAN&gt;&lt;SPAN&gt;'parameter'&lt;/SPAN&gt;&lt;SPAN&gt; is not complete. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,046 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 50, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,046 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 56, col 19: cvc-complex-type.2.4.b: The content of element &lt;/SPAN&gt;&lt;SPAN&gt;'parameter'&lt;/SPAN&gt;&lt;SPAN&gt; is not complete. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,046 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 61, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,047 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 67, col 19: cvc-complex-type.2.4.b: The content of element &lt;/SPAN&gt;&lt;SPAN&gt;'parameter'&lt;/SPAN&gt;&lt;SPAN&gt; is not complete. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,047 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 72, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,047 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 78, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:20:59 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,048 WARN [main] o.a.nifi.fingerprint.FingerprintFactory Schema validation error parsing Flow Configuration at line 84, col 16: cvc-complex-type.2.4.a: Invalid content was found starting with element &lt;/SPAN&gt;&lt;SPAN&gt;'value'&lt;/SPAN&gt;&lt;SPAN&gt;. One of &lt;/SPAN&gt;&lt;SPAN&gt;'{provided}'&lt;/SPAN&gt;&lt;SPAN&gt; is expected.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,703 WARN [main] org.apache.nifi.web.server.JettyServer Failed to start web server... shutting down.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: org.apache.nifi.encrypt.EncryptionException: Decryption Failed with Algorithm [AES/GCM/NoPadding]&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.encrypt.CipherPropertyEncryptor.decrypt(CipherPropertyEncryptor.java:78)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.decrypt(FingerprintFactory.java:996)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.getLoggableRepresentationOfSensitiveValue(FingerprintFactory.java:605)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.addParameter(FingerprintFactory.java:360)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.addParameterContext(FingerprintFactory.java:326)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.addFlowControllerFingerprint(FingerprintFactory.java:219)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.createFingerprint(FingerprintFactory.java:155)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.fingerprint.FingerprintFactory.createFingerprint(FingerprintFactory.java:129)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.controller.inheritance.FlowFingerprintCheck.checkInheritability(FlowFingerprintCheck.java:45)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.controller.XmlFlowSynchronizer.sync(XmlFlowSynchronizer.java:205)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.controller.serialization.StandardFlowSynchronizer.sync(StandardFlowSynchronizer.java:42)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.controller.FlowController.synchronize(FlowController.java:1530)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.persistence.StandardFlowConfigurationDAO.load(StandardFlowConfigurationDAO.java:104)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.controller.StandardFlowService.loadFromBytes(StandardFlowService.java:817)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:457)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.web.server.JettyServer.start(JettyServer.java:896)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:172)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.NiFi.&amp;lt;init&amp;gt;(NiFi.java:83)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.NiFi.main(NiFi.java:332)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: Caused by: javax.crypto.AEADBadTagException: Tag mismatch!&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at java.base/com.sun.crypto.provider.GaloisCounterMode.decryptFinal(Unknown Source)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at java.base/com.sun.crypto.provider.CipherCore.finalNoPadding(Unknown Source)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(Unknown Source)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at java.base/com.sun.crypto.provider.CipherCore.doFinal(Unknown Source)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(Unknown Source)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at java.base/javax.crypto.Cipher.doFinal(Unknown Source)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: at org.apache.nifi.encrypt.CipherPropertyEncryptor.decrypt(CipherPropertyEncryptor.java:74)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: ... 18 common frames omitted&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;SPAN&gt;Jan 19 07:21:00 nifi-node-1 docker[27934]: 2024-01-19 07:20:59,733 INFO [Thread-0] org.apache.nifi.NiFi Application Server shutdown started&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Any help would be much appreciated. Thank you.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Greetz&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="3"&gt;&lt;SPAN&gt;Dave&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jan 2024 07:34:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382463#M244598</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-01-19T07:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382485#M244604</link>
      <description>&lt;P&gt;After some trial and errors found where the problem lies, our nifi 1.13 uses the old alogrithm:&amp;nbsp;&lt;STRONG&gt;&lt;SPAN&gt;PBEWITHMD5AND256BITAES-CBC-OPENSSL&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I tried to change this running the following command to change the flow.xml.gz and flow.json.gz to the correct algo.&lt;/P&gt;&lt;P&gt;# &lt;STRONG&gt;./nifi.sh set-sensitive-properties-algorithm NIFI_PBKDF2_AES_GCM_256&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Java home: /opt/java/openjdk&lt;BR /&gt;NiFi home: /opt/nifi/nifi-current&lt;/P&gt;&lt;P&gt;Bootstrap Config File: /opt/nifi/nifi-current/conf/bootstrap.conf&lt;/P&gt;&lt;P&gt;Failed to process Flow Configuration [/nifi-data/conf/flow.xml.gz]&lt;BR /&gt;org.apache.nifi.encrypt.EncryptionException: Decryption Failed with Algorithm [AES/GCM/NoPadding]&lt;BR /&gt;at org.apache.nifi.encrypt.CipherPropertyEncryptor.decrypt(CipherPropertyEncryptor.java:78)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.AbstractFlowEncryptor.getOutputEncrypted(AbstractFlowEncryptor.java:31)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.XmlFlowEncryptor.processFlow(XmlFlowEncryptor.java:57)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.StandardFlowEncryptor.processFlow(StandardFlowEncryptor.java:50)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.command.FlowEncryptorCommand.processFlowConfiguration(FlowEncryptorCommand.java:135)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.command.FlowEncryptorCommand.processFlowConfigurationFiles(FlowEncryptorCommand.java:119)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.command.FlowEncryptorCommand.run(FlowEncryptorCommand.java:96)&lt;BR /&gt;at org.apache.nifi.flow.encryptor.command.SetSensitivePropertiesAlgorithm.main(SetSensitivePropertiesAlgorithm.java:29)&lt;BR /&gt;Caused by: javax.crypto.AEADBadTagException: Tag mismatch!&lt;BR /&gt;at java.base/com.sun.crypto.provider.GaloisCounterMode.decryptFinal(Unknown Source)&lt;BR /&gt;at java.base/com.sun.crypto.provider.CipherCore.finalNoPadding(Unknown Source)&lt;BR /&gt;at java.base/com.sun.crypto.provider.CipherCore.fillOutputBuffer(Unknown Source)&lt;BR /&gt;at java.base/com.sun.crypto.provider.CipherCore.doFinal(Unknown Source)&lt;BR /&gt;at java.base/com.sun.crypto.provider.AESCipher.engineDoFinal(Unknown Source)&lt;BR /&gt;at java.base/javax.crypto.Cipher.doFinal(Unknown Source)&lt;BR /&gt;at org.apache.nifi.encrypt.CipherPropertyEncryptor.decrypt(CipherPropertyEncryptor.java:74)&lt;BR /&gt;... 7 more&lt;BR /&gt;NiFi Properties Processed [/opt/nifi/nifi-current/conf/nifi.properties]&lt;/P&gt;&lt;P&gt;So i know here it's failing, but no solution yet.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 15:51:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382485#M244604</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-01-19T15:51:37Z</dc:date>
    </item>
    <item>
      <title>Re: javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382488#M244606</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96482"&gt;@Dave0x1&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;That is a big jump in versions from 1.13 directly to 1.24.&lt;BR /&gt;&lt;BR /&gt;Use NiFi toolkit instead to change the algorithm.&lt;BR /&gt;&lt;A href="https://nifi.apache.org/download/" target="_blank"&gt;https://nifi.apache.org/download/&lt;/A&gt;&lt;BR /&gt;&lt;A class="uk-button uk-button-primary uk-button-small" title="nifi-1.24.0-source-release.zip" href="https://www.apache.org/dyn/closer.lua?path=/nifi/1.24.0/nifi-toolkit-1.24.0-bin.zip" target="_blank"&gt;NiFi Toolkit 1.24.0&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./encrypt-config.sh -n &amp;lt;nifi.properties from original 1.13 NiFi&amp;gt; -f &amp;lt;flow.xml.gz from original 1.13 NiFi&amp;gt; -x -s &amp;lt;sensitive props key from NiFi&amp;gt; -b &amp;lt;bootstrap.conf from original 1.13 NiFi&amp;gt; -A NIFI_PBKDF2_AES_GCM_256 -g &amp;lt;new 1.24 flow.xml.gz filename&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then in your NiFi 1.24 remove or rename the current flow.xml.gz and flow.json.gz files.&lt;BR /&gt;Place the flow.xml.gz output from above toolkit command into same location and make sure permissions and ownership are correct.&lt;BR /&gt;&lt;BR /&gt;Start your NiFi 1.24.&amp;nbsp; Since the flow.json.gz does not exist, NiFi will load the flow.xml.gz and upon successful startup generate the new flow.json.gz file it will load from that point forward each time NiFi is restarted.&lt;BR /&gt;&lt;BR /&gt;Hope this works for you.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If you found any of the suggestions/solutions provided helped you with your issue, please take a moment to login and click "&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;Accept as Solution&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;" on one or more of them that helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you,&lt;BR /&gt;Mat&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Jan 2024 18:07:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382488#M244606</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2024-01-19T18:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382530#M244617</link>
      <description>&lt;P&gt;Thank you very much Mat for your advice. I'll try it out today and get back to you with the results. Sounds promising&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":nerd_face:"&gt;🤓&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 07:28:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382530#M244617</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-01-22T07:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382548#M244619</link>
      <description>&lt;P&gt;Hi Mat, it works! Awesome, nifi 1.24 starts up with the flow we had from 1.13&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":clapping_hands:"&gt;👏&lt;/span&gt; Thank you very much for the advice. We are again one step further towards finalizing our migration plan.&lt;/P&gt;&lt;P&gt;Only thing left is is now we get the following error from the flow with regards to the nifi-registry.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;Jan 22 10:57:46 awsinstancename docker[19956]: 2024-01-22 10:57:45,991 ERROR [Timer-Driven Process Thread-4] o.a.nifi.groups.StandardProcessGroup Failed to synchronize StandardProcessGroup[identifier=9311b848-f003-3b2a-ab11-af9e8884bc89,name=CheckScratchPrijs] with Flow Registry because could not retrieve version 7 of flow with identifier ab161029-c69f-4cf2-b6b3-12f444896e3e in bucket 3be9f87e-3a97-400c-a174-f335de21f23a Jan 22 10:57:46 awsinstancename docker[19956]: javax.net.ssl.SSLHandshakeException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.Alert.createSSLException(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.TransportContext.fatal(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.checkServerCerts(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.onCertificate(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.CertificateMessage$T12CertificateConsumer.consume(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.SSLHandshake.consume(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.HandshakeContext.dispatch(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.TransportContext.dispatch(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.SSLTransport.decode(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.SSLSocketImpl.decode(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(Unknown Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.net.&lt;A href="http://www.protocol.https.HttpsClient.afterConnect(Unknown" target="_blank"&gt;www.protocol.https.HttpsClient.afterConnect(Unknown&lt;/A&gt; Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.net.&lt;A href="http://www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown" target="_blank"&gt;www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown&lt;/A&gt; Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.net.&lt;A href="http://www.protocol.http.HttpURLConnection.getInputStream0(Unknown" target="_blank"&gt;www.protocol.http.HttpURLConnection.getInputStream0(Unknown&lt;/A&gt; Source) Jan 22 10:57:46 awsinstancename docker[19956]: at java.base/sun.net.&lt;A href="http://www.protocol.http.HttpURLConnection.getInputStream(Unknown" target="_blank"&gt;www.protocol.http.HttpURLConnection.getInputStream(Unknown&lt;/A&gt; Source)&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;I'll open een separate thread for this&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 12:21:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382548#M244619</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-01-22T12:21:11Z</dc:date>
    </item>
    <item>
      <title>Re: javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382549#M244620</link>
      <description>&lt;P&gt;Above registry issue also solve, with the help of this thread&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":nerd_face:"&gt;🤓&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/t5/Support-Questions/NIfi-and-Nifi-Registry-Integration/m-p/286469" target="_blank"&gt;https://community.cloudera.com/t5/Support-Questions/NIfi-and-Nifi-Registry-Integration/m-p/286469&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jan 2024 14:12:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382549#M244620</guid>
      <dc:creator>Dave0x1</dc:creator>
      <dc:date>2024-01-22T14:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: javax.crypto.AEADBadTagException: Tag mismatch!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382574#M244629</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/96482"&gt;@Dave0x1&lt;/a&gt;, I'm happy to see that you resolved your issue. Can you kindly mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future?&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2024 04:42:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/javax-crypto-AEADBadTagException-Tag-mismatch/m-p/382574#M244629</guid>
      <dc:creator>VidyaSargur</dc:creator>
      <dc:date>2024-01-23T04:42:58Z</dc:date>
    </item>
  </channel>
</rss>

