Decrypt OPSS Credential store Generic Key
We are migrating application/users from a WLS domain to a new WLS domain. The application uses OPSS credential Store GenericKey (Java.secret.key, algo- HmacSHA256) to encrypt every user password and store it in DB. There is a custom DB authenticator which authenticates the user credential using this GenericKey.
The users are unable to login with same password in the new environment as the GenericKey is different in this new environment. Upon password reset from the application UI, users will be able to authenticate as the user password is newly encrypted using the new key.
We are trying to avoid this password reset. Tried copying the key from old domain to new domain from em consoles, but no luck as the key is read as string.