Or put another way is the following ENVIRONMENTID public property reference in 
the CertificateRef Id value an option when it comes to defining certs 
associated with a given web site so that I can have the msi use a different 
cert for the web site depending on the service deliverable environment I'm 
deploying the cert to?

<iis:WebSite Id="Site1WebSite" Description="Site1 Web Site" 
Directory="Site1Dir">
    <iis:WebAddress Id="Site1WebAddress" Port="[SITE1PORT]" Secure="yes" />
    <iis:CertificateRef Id="Site1Certificate[ENVIRONMENTID]" />
</iis:WebSite>

From: Robert O'Brien
Sent: Thursday, May 15, 2008 9:57 AM
To: Rob Mensching; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] How to associate certificate with IIS website without 
adding certificate to store?

I have a service deliverable msi where I need to be able to pass in a public 
property value that defines the name of an existing cert that the msi will 
associate with a new 443 site it creates.

q1 - If I include the ssl certs for each of my service deliverable environments 
where the msi will be run to deploy service bits (e.g. dev, deployment 
verification test, test, perf, beta, pre-production, user acceptance testing, 
production hot standby, production)  then do I have a way of using a public 
property value to define which cert gets used in each case?

q2 - if there currently isn't a way to reference a cert already installed on 
the host (which is the case in beta, pre-production, user acceptance testing, 
production hot standby, production environments where we don't create & manage 
the systems) can I include some type of dummy cert for those cases and flag the 
iis:Certificate entry such that it won't try and install it if it already sees 
a certificate of that name in the local machine store?

From: Rob Mensching
Sent: Wednesday, May 14, 2008 11:38 PM
To: Robert O'Brien; 'wix-users@lists.sourceforge.net'
Subject: RE: [WiX-users] How to associate certificate with IIS website without 
adding certificate to store?

Unfortunately, I don't think the current Certificate code is going to support 
that.  The code could be updated to handle the scenario though.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert O'Brien
Sent: Wednesday, May 14, 2008 18:51
To: 'wix-users@lists.sourceforge.net'
Subject: Re: [WiX-users] How to associate certificate with IIS website without 
adding certificate to store?

Did this work and if so does there exist a sample of what it means to create a 
permanent component Certificate entry that refers to an ssl certificate already 
known to be present on hosts you are deploying to?  In other words I just want 
my iis site settings to bind to port 443 and use an known in advance ssl 
certificate already present on the target systems.

From: Rob Mensching <[EMAIL PROTECTED]> - 2007-12-21 11:15
Try putting the Certificate element in a permanent Component.

Lin wrote:
> Hi,
>
> I am new to Wix so I hope this is the correct mailing list for such
> questions.
>
> I am using Wix3. I would like to associate a certificate with a IIS
> website. The certificate already exists in machine store, so I don't
> need to add it during installation. I have tried the
> <iis:Certificate>/<iis:CertificateRef> combination, but
> <iis:Certificate> not only overwrites the certificate (which is still
> acceptable) but removes it during uninstall (this is not acceptable).
>
> So how do I just set up the IIS website certificate without touching
> the certificate store?
>
> Thanks,
> Dakun

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to