Hi. I came up against this too. I had the server SSL certificate in (Local 
machine\my) already. I wrote a custom action in C# to take the name of the 
website as a parameter and install the certificate into the website given the 
certificate's 'friendly id' using the Microsoft.Web.Administration library. (I 
set a useful friendly id to match the targeted fully qualified host header on 
the SSL certificate so that it would show up as something identifiable in IIS 
at the end of this activity).

I posted on Stack Overflow with a similar question, but didn't get an answer. 
(http://stackoverflow.com/questions/12427654/assign-ssl-certificate-that-is-already-installed-on-a-server-to-an-https-binding)
 - As stated - I can't give the code over, but the general idea should be 
enough for a good developer to manage it.

Hope that helps. Si.


When I'd created a new website in IIS and wanted to bind a certificate to the
>IP address, I didn't find a WiX element that would do it. At the time, I
>used a shell script to do this binding, using netsh. I ran the shell script
>as a custom action. This probably isn't the most robust way to do it. So I
>am eager to hear alternatives.
>
>
>
>--
>View this message in context: 
>http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-create-a-website-with-HTTPS-using-WIX-tp7580728p7580749.html
>Sent from the wix-users mailing list archive at Nabble.com.
>
>------------------------------------------------------------------------------
>Got visibility?
>Most devs has no idea what their production app looks like.
>Find out how fast your code is with AppDynamics Lite.
>http://ad.doubleclick.net/clk;262219671;13503038;y?
>http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>_______________________________________________
>WiX-users mailing list
>WiX-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to