Unable to create ÃÛ¶¹ÊÓÆµ IMS configuration for Target in AEMaaCS
Decryption errors and missing permissions prevent the creation of ÃÛ¶¹ÊÓÆµ 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: ÃÛ¶¹ÊÓÆµ 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 ÃÛ¶¹ÊÓÆµ 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/global
folder prevent configurations from displaying.
Resolution resolution
To resolve this issue, follow these steps:
-
Verify that the keystore for the
target-imsconfig-service
user 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-service
user in each environment where errors occur. -
In AEM Author, go to Tools
>
Security>
Permissions, locate the/conf/global
folder, and enable Cloud Configurations.Ìý´¡»å»å Browse, Modify, and ¶Ù±ð±ô±ð³Ù±ðÌý°ä´Ç²Ô´Ú¾±²µ³Ü°ù²¹³Ù¾±´Ç²Ô²õ permissions. -
Retry creating the IMS Technical Account Configuration:
- Go to AEM Author
>
Tools>
Security>
ÃÛ¶¹ÊÓÆµ 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,
_osgi
 structure 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.