After the upgrade of the Policy Server, the SAML assertions are being rejected with the error:
Assertion Rejected. Exception:Transaction with ID: <value> failed. java.lang.Exception: Could not get certificate from DB (IssuerName: CN=<value>) - Error - unable to connect to the keystore. The KeyDB object was not created.
The CDS (Certificate Data Store) was corrupted somehow during the upgrade.
Test to confirm with smkeytool.
# smkeytool.sh -listCerts
Failed to create a Certificate Data Store instance. Check installation.
Could not register an existing Certificate Data Store: Error - unable to connect to the keystore. The KeyDB object was not created.
Restoring the Policy Store from backup and re-applying the schema of the current version resolved the issue.