JPS-07508 or WSM-00401 Errors Seen When Accessing the Sysadmin Console

This issue occurs when upgrading from OIM 11g Release 2 (11.1.2.3.0) to OIM 12c (12.2.1.3) where the OPSS Keystore Service (KSS) certificates are either corrupted or missing.

In such cases, when you access Sysadmin Console > IT Resource or search for applications in the Self Service console, you will get the following error message:
<oracle.jps.trust> <JPS-07508> <Token issue operation failed.
oracle.security.jps.internal.trust.token.TokenProviderException: Private key
is unavailable

<Error> <oracle.iam.token> <BEA-000000> <Exception in getting token>
java.security.PrivilegedActionException:
oracle.security.jps.service.trust.token.TokenException:
oracle.security.jps.internal.trust.token.TokenProviderException: Token issue
operation failed.

OR

The jwt token found in the request, [[ Encoded token: [Token Content]
is invalid and token authentication failed, Failed due to :
oracle.wsm.security.SecurityException: WSM-00401 : JWT signature verification
failed.

To resolve this issue, perform the steps detailed in Doc ID 2735573.1.