{"id":1176,"date":"2017-12-04T04:36:16","date_gmt":"2017-12-04T04:36:16","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1176"},"modified":"2020-01-09T09:34:29","modified_gmt":"2020-01-09T09:34:29","slug":"installing-ssl-website-on-iis-7-5-using-wix-3-0","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/installing-ssl-website-on-iis-7-5-using-wix-3-0\/","title":{"rendered":"Installing SSL website on IIS 7.5 using Wix 3.0"},"content":{"rendered":"<p><strong>InstallerGeek created the topic: installing SSL website on IIS 7.5 using Wix 3.0<\/strong><br \/>\nHello,<\/p>\n<p>I am trying to install a SSL website on a Windows Server 2008 R2, IIS 7.5 box using an existing certificate.<br \/>\nThe cert gets installed on the machine but does not get attached to the website SSL bindings. Post installation, if I manually attach the cert to the SSL bindings of the site, the website works.<\/p>\n<p>NOTE: I am using Wix 3.0 here.<\/p>\n<p>Also, I was looking through the archive mails and I found a mail chain stating that cert fixes not ported to WiX v3.<br \/>\n<a href=\"http:\/\/www.mail-archive.com\/wix-users@lists.sou...ge.net\/msg04373.html\" target=\"_blank\" rel=\"noopener\">www.mail-archive.com\/wix-users@lists.sou&#8230;ge.net\/msg04373.html<\/a> . However this is a 2006 mail chain. Would like to know if the issue is still open. If yes, then is there a work around because we are planning to WiX for production deployment.<\/p>\n<p>Below is my code snippet.<\/p>\n<p><iis:Certificate Id=\"MyCertificate\" Name=\"demo.pfx\" Request=\"no\"  StoreLocation=\"localMachine\"        StoreName=\"personal\" Overwrite=\"yes\" BinaryKey=\"MyCertificateIDRoot\" PFXPassword=\"certTest\"\/><\/p>\n<p><iis:WebAppPool Id=\"AppPool1' Name='AppPool1' Identity='networkService' VirtualMemory='156'> <\/iis:WebAppPool><\/p>\n<p><iis:WebSite AutoStart='yes' ConnectionTimeout='900' Id='AbcServices' Description='AbcServices'\n              Directory='APPLICATIONROOTDIRECTORY'> <iis:WebAddress Id=\"WebAddr1\" Port=\"80\" \/><br \/>\n              <iis:WebDirProperties Read='yes' Script='yes' Execute='yes' Id='WDprop_WSite' AccessSSL='yes'\n                  AccessSSL128='yes'\/><br \/>\n                <iis:CertificateRef Id=\"MyCertificate\"\/> <\/iis:WebSite><\/p>\n<p>Any help would be greatly appreciated.<\/p>\n<p><strong>pgadmin replied the topic: Re: installing SSL website on IIS 7.5 using Wix 3.0<\/strong><br \/>\nThat mail thread is out of date &#8211; WiX 3.0 RTM (and 3.5) should have all fixes that existed in WiX 2.0 (and in fact additional bugfixes as well).<\/p>\n<p>The IIS7+ support works completely differently on WiX 3.5 and above &#8211; have you tried building your product with the latest build of WiX 3.5, to see if that solves the problem?<\/p>\n<p>If it doesn&#8217;t solve the problem, file a bug on sourceforge against v3.5, attach a repro (make sure to exclude any sensitive things from your authoring, if there are any), and attach a verbose MSI log of the install which didn&#8217;t seem to work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>InstallerGeek created the topic: installing SSL website on IIS 7.5 using Wix 3.0 Hello, I am trying to install a SSL website on a Windows Server 2008 R2, IIS 7.5&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[49],"tags":[290],"class_list":["post-1176","post","type-post","status-publish","format-standard","hentry","category-general","tag-installing"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1176"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1176\/revisions"}],"predecessor-version":[{"id":1177,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1176\/revisions\/1177"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}