This issue can be caused by a user attribute (password, property, etc.) that starts with AM6J or contains spaces. This will interfere with Artifactory’s encryption mechanism. It has been resolved in Artifactory versions 5.8.4 and above. Accordingly, an upgrade will permanently address the problem. Should you encounter this issue in a prior version, the workaround is as follows:
- Delete $ART_HOME/data/.deleteForSecurityMarker on the primary node and reboot the node
- Run POST /api/system/decrypt
- Run POST /api/system/security
- Compare the contents of the exported security descriptor to your Source instance and note any
- non-ascii characters, as these can interfere with the export process
- usernames, passwords, or properties that start with AM6J
- Encrypt the source Artifactory again using POST /api/system/encrypt
If there are no errors, follow these instructions to populate your source:
- Rename security.xml to security.import.xml
- Decrypt Artifactory using POST /api/system/decrypt
- Move security.import.xml to the $ART_HOME/etc directory
- Restart the target node
Published: Jan. 21, 2019
Last updated: Mar. 15, 2021
Keywords: decrypt API, encrypt API, blank security screen