Getting issue on revoke certificate test #3
-
@aaron-kumar Received a transaction that was not supposed to be initiated from sending AP. During the SMP lookup, a certificate was used that is revoked. Your Access Point implementation must be able to identify a certificate as revoked and never proceed with a transaction towards an Access Point that uses a revoked certificate. Please adjust your implementation accordingly and restart the test case. I am getting above error even I have configured below given options in config file.I have copied respective files into my conf folder also. mode.default.security.validator = { mode.TEST.security.pki = /pki/peppol-test.xml |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
@perneninag: Below is the minimal configuration you required in "oxalis.conf"
If certificate is revoked, then you will get following error while sending message: PS: Converting this is to discussion as it is Not an issue. Similar discussion happened in OxalisCommunity/oxalis#682 |
Beta Was this translation helpful? Give feedback.
-
@aaron-kumar I will surely join community, not only for this support but to sync with continuous updates related to Peppol world. |
Beta Was this translation helpful? Give feedback.
@perneninag the issue lies with the command.
Do NOT specify parameters like certificate (-cert), sender (-s) and receiver (-r) in the command. These parameters are only needed for point-to-point communication (locally).
In your case, you are specifying the certificate via the -cert parameter ("peppol_ap.cer") rather than retrieving it from SMP. This approach is incorrect for both testbed and production environments. As a result, even though the certificate has been revoked in SMP, your test isn't failing because you're overriding it with a valid certificate ("peppol_ap.cer").
Once you stop overriding the certificate, the OpenPeppol test with the revoked certificate will fail as expected, …