If a password file contain multi-byte (non-ASCII) characters, the ampassword utility does not return the correct encrypted value. However, encode.jsp does return the correct value.
Workaround. If you are using ampassword, use a password file that contain only ASCII characters. If the password contains multi-byte characters, use encode.jsp to encrypt the password:
Log in to the OpenSSO Admin Console as amadmin.
Specify the following URL: http://host.example.com:58080/deploy-uri/encode.jsp
When you are prompted, enter the password and click Encode.
Copy the encrypted password.