revocation request #678
Replies: 5 comments 3 replies
-
Complete log: 2024-10-01 05:50:47,772+0000 INFO [org.ejbca.ui.web.protocol.CmpServlet] (default task-4) CMP message received from: 172.19.91.116, for CMP alias: CMP-Server |
Beta Was this translation helpful? Give feedback.
-
2024-10-01 05:50:47,777+0000 INFO [org.ejbca.core.protocol.cmp.RevocationMessageHandler] (default task-4) No request was found in the PKIMessage Means that you are probably trying to revoke another users certificate with CMP in client mode? You can find samples code in the test suite. For example see genRevReq() in https://github.com/Keyfactor/ejbca-ce/blob/main/modules/systemtests/src-test/org/ejbca/core/protocol/cmp/CmpTestCase.java, which is called from other test methods the simulate a whole workflow. |
Beta Was this translation helpful? Give feedback.
-
How we can request for revocation of certificate through openssl cmp. can you provide code for Revoke request or any reference document |
Beta Was this translation helpful? Give feedback.
-
I have tried: protected static PKIMessage genRevReq(String issuerDN, X500Name userDN, BigInteger serNo, Certificate cacert, byte[] nonce, byte[] transid,
2024-10-01 05:50:47,777+0000 DEBUG [com.keyfactor.util.StringTools] (default task-4) Using encrypted CmpConfiguration Is there any setting we need to enable or is there any changes in URL for revocation |
Beta Was this translation helpful? Give feedback.
-
hi ,is there any java code available for Revoke request?
I am getting error :
2024-10-01 05:50:47,776+0000 DEBUG [com.keyfactor.util.keys.KeyTools] (default task-4) MaxAllowedKeyLength for DES is: 2147483647
2024-10-01 05:50:47,777+0000 DEBUG [com.keyfactor.util.StringTools] (default task-4) Using encrypted CmpConfiguration
2024-10-01 05:50:47,777+0000 DEBUG [org.ejbca.core.protocol.cmp.authentication.VerifyPKIMessage] (default task-4) Trying to verify the message using CMP authentication module 'HMAC' with parameter '-'
2024-10-01 05:50:47,777+0000 DEBUG [org.ejbca.core.protocol.cmp.authentication.VerifyPKIMessage] (default task-4) Trying to verify the message using CMP authentication module 'DnPartPwd' with parameter 'UID'
2024-10-01 05:50:47,777+0000 INFO [org.ejbca.core.protocol.cmp.RevocationMessageHandler] (default task-4) No request was found in the PKIMessage
Can u please help
Beta Was this translation helpful? Give feedback.
All reactions