Unable to create Adobe IMS configuration for Target in AEMaaCS
Decryption errors and missing permissions prevent the creation of Adobe IMS Technical Account Configurations for Target integration in AEMaaCS. To fix this, verify and recreate the keystore, enable permissions on the configuration folder, check deployment keys, and validate the configuration creation.
Description description
Environment
- Product: Adobe Experience Manager as a Cloud Service (AEMaaCS) - Sites
- Environment: Development and Stage environments
Issue/Symptoms
- Logs show error: Cannot retrieve certificates: com.adobe.granite.crypto.CryptoException: Unable to decrypt.
- Selecting Adobe Target from Cloud Solution dropdown returns a 500 error.
- IMS Technical Account Configurations are created but don’t appear in the UI.
- Decryption fails due to mismatched HMAC keys or master keys between environments.
- Missing Cloud Configurations permissions on
/conf/globalfolder prevent configurations from displaying.
Resolution resolution
To resolve this issue, follow these steps:
-
Verify that the keystore for the
target-imsconfig-serviceuser is properly synchronized across environments. -
If keystore migration issues exist, delete the keystore at
/home/users/system/cq:services/internal/target/<UUID>for the affected service account. -
Recreate the keystore for the
target-imsconfig-serviceuser in each environment where errors occur. -
In AEM Author, go to Tools
>Security>Permissions, locate the/conf/globalfolder, and enable Cloud Configurations. Add Browse, Modify, and Delete Configurations permissions. -
Retry creating the IMS Technical Account Configuration:
- Go to AEM Author
>Tools>Security>Adobe IMS Configurations. - Click Create and select Target from Cloud Solution dropdown.
- Enter the required details, and select Submit.
- Go to AEM Author
-
Review deployment configurations to ensure encryption and HMAC keys are correctly injected as secure properties (for example,
_osgistructure or CI/CD pipeline secrets) in each environment. -
Confirm that the configurations are created and visible in both the UI and backend systems like Legacy Cloud Services under Target connections.
-
For production environments, repeat these steps after verifying the UUIDs of the affected service accounts.