locked
Creating a Certificate Request RRS feed

  • Question

  • I want to sign our ClickOnce deployments using a CA signed PFX. We have an account at startssl.com (mightily recommended btw), but to generate a code signing certificate, I need to generate a "Certificate Request" - and apparently saying "Please can I have a certificate" isn't what they mean :). I've searched and searched but can't find how to do it. I can find API references for how to do it programmatically, examples of how to do it with IE5, IIS, OpenSSL etc.

    I'm assuming there's an SDK tool to create a certificate request. If so, what is it? And how do I do it?

    Cheers,

    Tim
    Wednesday, January 6, 2010 11:12 AM

Answers

  • Hi Tim,

    After I done some research on the issue, I found the following document.
    http://msdn.microsoft.com/en-us/library/ms867026.aspx

    This document shows how to use Certificate Enrollment Control and CryptoAPI to generate some kinds of certificate request. For example, it uses IEnroll4 interface to create PKCS #10 request. I am also not familiar with that field. I don’t know what kind of request you want. Hope you can find the one in the document.

    Sincerely,
    Kira Qian
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework!
    • Marked as answer by RobinDotNet Sunday, January 10, 2010 10:44 PM
    Thursday, January 7, 2010 7:52 AM
  • Thanks, but I was able to create a cert request on Linux using OpenSSL

    Tim
    • Marked as answer by RobinDotNet Sunday, January 10, 2010 10:44 PM
    Friday, January 8, 2010 11:07 AM

All replies

  • Hi Tim,

    After I done some research on the issue, I found the following document.
    http://msdn.microsoft.com/en-us/library/ms867026.aspx

    This document shows how to use Certificate Enrollment Control and CryptoAPI to generate some kinds of certificate request. For example, it uses IEnroll4 interface to create PKCS #10 request. I am also not familiar with that field. I don’t know what kind of request you want. Hope you can find the one in the document.

    Sincerely,
    Kira Qian
    MSDN Subscriber Support in Forum
    If you have any feedback on our support, please contact msdnmg@microsoft.com
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework!
    • Marked as answer by RobinDotNet Sunday, January 10, 2010 10:44 PM
    Thursday, January 7, 2010 7:52 AM
  • Thanks, but I was able to create a cert request on Linux using OpenSSL

    Tim
    • Marked as answer by RobinDotNet Sunday, January 10, 2010 10:44 PM
    Friday, January 8, 2010 11:07 AM