« Previous Next »

Thread: CSR and Cert installation via C#

Last post 04-18-2009 12:34 AM by lextm. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 04-16-2009, 1:13 PM

    CSR and Cert installation via C#

    Hello,

    I am using IIS7 on windows 2008 and need to programatically generate CSRs and install certificates for customers.

    I cant seem to find any documentation on this, and was wondering if some one could point me in the right direction.

    On a side note, I am planning to use this on a shared configuration behind a load balancer (BigIP) and am not clear if this will work - does the new IIS bind the port and SSL to host headers, or is the dedicated IP still required ?  If the IP is required, how will IIS know which IP to use on the other boxes in the shared configuration - does it need to have a different dedicated IP on each of the shared configuratino boxes ?

    Thank you in advance for all the assistance.

  • 04-17-2009, 2:36 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,412

    Re: CSR and Cert installation via C#

    If you are using BigIP, why not install Cert on the load balancer directly? Then you don't even need to change anything on IIS.

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 04-17-2009, 12:22 PM In reply to

    Re: CSR and Cert installation via C#

    That is one option that we are pursuing, but we need to be able to do it in real time with csr generation and installation with pre-configured vips and the easiest way is through IIS - if going through the BigIP is the only option then thats one thing, but I was wondering what the options are with shared configuration and SSL even if we dont have a bigip.

     

     

  • 04-18-2009, 12:34 AM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 4:18 AM
    • Shanghai, PRC
    • Posts 1,412

    Re: CSR and Cert installation via C#

    Although IIS 7 exposes a rich set of interfaces, I cannot find any related to cert creation. Note that even in the following article, it is documented that WMI and appcmd.exe have such limitations.

    http://learn.iis.net/page.aspx/144/how-to-setup-ssl-on-iis-7/

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (4 items)
Microsoft Communities