locked
Sign CMC request (CX509CertificateRequestCmcClass) twice RRS feed

  • Question

  • Hi!

    I have a CX509CertificateRequestCmcClass request created from inner PKCS#10 request. I need to sign it with CSignerCertificateClass twice. If I do it on the same computer twice in a row (without Encode and InitializeDecode) it is fine. But I need to sign it on two different computers with two different users. So I need to Encode/Decode. The second time I do this:

    cx509CertificateRequestCmc.SignerCertificates.Add(signer);
    cx509CertificateRequestCmc.Encode();

    But it fails with CERTSRV_E_PROPERTY_EMPTY (something is missing for the first certificate). If I remove the first certificate it is OK, but it is only signed once then.

    Any suggestions?

    Thanks, Toni

    • Moved by Fred Bao Monday, May 11, 2015 6:22 AM move to a proper forum
    Friday, May 8, 2015 11:16 AM

All replies

  • Hello Toni,

    Since this issue is related with application security issues, I move it to the Application Security forum there are Application Security experts will help you better.

    Thanks & Regards,

    Fred.


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    Monday, May 11, 2015 6:22 AM