Skip to content

Commit

Permalink
fix issue #104
Browse files Browse the repository at this point in the history
  • Loading branch information
Akretsch committed Apr 30, 2024
1 parent d96ecc9 commit 041927e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public Void validate(final PKIMessage message) throws BaseCmpException {
checkProtectingSignature(
message, message.getHeader().getProtectionAlg().getAlgorithm(), protectingCert);
if (trustCredentialAdapter.validateCertAgainstTrust(protectingCert, extraCertsAsX509) == null) {
final String errorDetails = "signature check failed, protecting cert not trusted";
final String errorDetails = "path building for validating the protection certificate failed";
LOGGER.warn(errorDetails);
throw new CmpValidationException(interfaceName, PKIFailureInfo.signerNotTrusted, errorDetails);
}
Expand Down

0 comments on commit 041927e

Please sign in to comment.