[Pki-users] Dogtag is changing my renewal request after enrollment

Marcin Mierzejewski marcinmierzejewski1024 at gmail.com
Sat Oct 31 17:05:28 UTC 2015


I got method which creates renewal request for given certificate

> private CertEnrollmentRequest createUserEncryptionArchivedCertRenewalEnrollment(int oldCertificateId) {
>
>     CertEnrollmentRequest data = new CertEnrollmentRequest();
>     data.setProfileId("caManualRenewal");
>     data.setRenewal(true);
>
>         ProfileInput certReq = data.createInput("Serial Number of Certificate to Renew");
>         certReq.addAttribute(new ProfileAttribute("serial_num", Integer.toString(oldCertificateId), null));
>
>     return data;
> }
>
> but after enroll this request I get request for renewal of PKI
Administrator for localdomain. If I choose not to loging in as PKI Admin,
there is a error telling me that I don't have any certificates to renewal
or certificate is corupted.That's weird becouse it works via dogtag enduser
entity, even without loggin in.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pki-users/attachments/20151031/1043d907/attachment.htm>


More information about the Pki-users mailing list