IG 4.2 - workflow-api: Unable to decrypt data because no keys have been supplied

Hi,
after upgrading from IG 3.7.2 to 4.2 I get an error on starting tomcat:

[SCHWERWIEGEND] 2024-01-31 13:19:17.771 [com.netiq.iac.workflow.jee.IacWorkflowServerInitListener] Error initializing logging
java.lang.IllegalStateException: Unable to decrypt data because no keys have been supplied.
        at com.netiq.ism.obfuscate.CryptoUtils.decrypt(CryptoUtils.java:437)
        at com.netiq.ism.obfuscate.CryptoUtils.decipher(CryptoUtils.java:403)
        at com.netiq.ism.config.impl.ConfigurationImpl.decode(ConfigurationImpl.java:835)
        at com.netiq.ism.config.impl.ConfigurationImpl.getString(ConfigurationImpl.java:417)
        at com.netiq.iac.common.logging.ArcLoggingConfigurator.getConfigString(ArcLoggingConfigurator.java:283)

Currently I think this happens because my system is missing configurations in ism-configuration.properties:

# fgrep wfe ism-configuration.properties
com.microfocus.wfe.consumer.url = https://abc:8443/api/wfi
com.microfocus.wfe.consumer.password._attr_obscurity = ENCRYPT

My working reference system lists:

# fgrep wfe ism-configuration.properties
com.microfocus.wfe.consumer.url = https://def:8443/api/wfi
com.microfocus.wfe.consumer.userId = workflow
com.microfocus.wfe.consumer.password._attr_obscurity = ENCRYPT
com.microfocus.wfe.consumer.password = [AES/GCM/NoPadding]6xXXX:r/Harr18/t2XXXc9fXXX==

Any ideas where this configuration is coming from? Can neither find it in configupdate.sh nore in configutil.sh.

regards
Daniel

Parents Reply Children
  • 0   in reply to 

    Hello Daniel,

        Thanks for the update and I will investigate.  Some of the customers that I directly work with did not experience (or at least they did not tell me) this situation when upgrading from 3.7.x to 4.2.

     Please be aware that the link you provided is to "this" thread.  Did you want to reference a different thread?

    Sincerely,
    Steven Williams
    Principal Enterprise Architect
    OpenText Cybersecurity

  • 0 in reply to   

    Hello Steven,

    Thanks for the suggestion, I will open a support ticket for this. It is the same case in my set-up that workflow-api.war was still in tomcat/webapps folder. Now I have tried removing this file as suggested by Daniel but in my case i still see the same error after restarting tomcat.

     
    While upgrading to 4.2 I followed this 

    - utilized the 4.2 version of the upgrade component helper scripts to update Tomcat, Java and ActiveMQ.

    - postgres is running on different server so upgraded separately. 

    - Upgraded OSP 

    - Upgraded IG

    - Upgraded Workflow by running the installer again.

  • 0   in reply to 

    Hello,

    1.a) Make sure you deleted both the workflow-api.war and the workflow-api folder that are in the tomcat/webapps directory
    1.b) Also delete the localhost folder in the tomcat/work/Catalina directory
    1.c) Then restart tomcat can confirm if the issue is still seen

    2) In you case where you updated External Workflow separately, that is a bit different than Daniel's situation.  

    Sincerely,
    Steven Williams
    Principal Enterprise Architect
    OpenText Cybersecurity  

  • 0 in reply to   

    I did not delete the workflow-api folder before, now it is solved for me. Thank you! Slight smile