Renew certificate #686
Replies: 9 comments 5 replies
-
There are probably about 1 million ways to do that. Have fun, with some examples :-). |
Beta Was this translation helpful? Give feedback.
-
I tried to renew a certificate by tag 7 kur [7] CertReqMessages, --Key Update Request inside PKIBody in PKIMessage Getting error: 2024-10-15 10:02:08,920+0000 INFO [org.ejbca.ui.web.protocol.CmpServlet] (default task-3) CMP message received from: 172.19.91.116, for CMP alias: CMP-Server Can u help me in guiding how I can send renew certificate request in PKIMessage |
Beta Was this translation helpful? Give feedback.
-
Now getting error: Policy Tree: null |
Beta Was this translation helpful? Give feedback.
-
Can u help me in fixing the issue |
Beta Was this translation helpful? Give feedback.
-
Oh, a revoked certificate would not be possible to renew with a KUR though, as the old certificate can not be validated. If a certificate is revoked, you always need to do a fresh enrollment. It lies in the definition of revoked, that it is not trusted anymore, and if not trusted it can not be used to authorize a renewal. |
Beta Was this translation helpful? Give feedback.
-
I tried to renew active certificate but Getting error: 2024-10-16 11:09:38,152+0000 DEBUG [org.ejbca.core.protocol.cmp.authentication.EndEntityCertificateAuthenticationModule] (default task-1) The certificate in extraCert is active In which case this error occurs. Can u suggest any way to debug |
Beta Was this translation helpful? Give feedback.
-
I want to renew my certificate before it expires with same publickey but getting error:
Tell me how I can renew my certificate before it expires with same keypair |
Beta Was this translation helpful? Give feedback.
-
Yes I am using CMP. One more thing I want to clarify. As I tried to renew the certificate before it expires. I am not sure from rfc4210 in PKIBody which tag do I need to use tag 2 or tag 7. And in which case tag 7 is used. |
Beta Was this translation helpful? Give feedback.
-
Thanks for your confirmation. Now I can successfully Renewal certificate with KUR (7). |
Beta Was this translation helpful? Give feedback.
-
Hi I want a code to renew a revoked certificate. Can you provide java code for this or any reference
Beta Was this translation helpful? Give feedback.
All reactions