Issue
After upgrading from Release 8.x to a supported version, the script task which was working previously is throwing the following error:
Exception during execution:
javax.script.ScriptException: java.lang.IllegalArgumentException: java.lang.IllegalArgumentException:
Could not accept encrypted password in <script> at line number 127
Affected Products & Versions
When upgrading to version Release 9.7.x or above
Cause
The script task contains an encrypted password. As a part of security improvement, Release restricts users from passing encrypted values for any create or update operation from version 9.7.x.
Workaround/Resolution Action
You can fall back to previous behavior for script tasks by adding the following config in RELEASE_SERVER_HOME/conf/xl-release.conf
xl {
security {
accept-encrypted-secrets {
enabled = true
}
}
}
Please restart the service after making this change and test the task once again.
Ref: https://docs.xebialabs.com/xl-release/9.7.x/releasemanual.html (ENG-261)
Comments
Please sign in to leave a comment.