We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

leirbag
Posts: 13
Joined: Mon Jun 16, 2014 2:56 pm

Optional HTTPS Binding

Hi,

Is there a way in Advance Installer to set the HTTPS binging only if the user provides the Thumbprint during setup?

For example :

The Dialog asks for the Thumbprint if a thumbprint is inputted it will do the binding if not it will not do the binding at all.
I know that the thumbprint can take [PROPERTY] so from the input part its doable but from the condition part is it possible?

Thanks in Advance.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Optional HTTPS Binding

Hello,

I'm afraid we don't have support for setting a condition only on an HTTPS binding. However, as a workaround you can create your own custom action which will set the HTTPS bindings based on condition. Please take a look on the "Powershell IIS7 Snap in Assign SSL certificate to https binding" link which could be useful for you.

Also, as another workaround you can create in "IIS" page a copy of you web site and add the desired HTTPS bindings to the web site copy. Then, you can add a condition in the "Install Condition" field from "Basic Site Settings" tab. In this way you will condition the installation of the entire web site installation (also you should add a complementary condition on the first added web site in "IIS" page so the two created web sites be mutually exclusive).

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
leirbag
Posts: 13
Joined: Mon Jun 16, 2014 2:56 pm

Re: Optional HTTPS Binding

Hi ,

Thanks for the help I managed to implement the second work around you suggested.

So I am giving the option so the user can insert the thumbprint. To test it I applied a self signed certificate on my server and I am using its thumbprint.

I am getting an error during the Setup which cannot bind to it.

What do I have to fill in System Store Name can this be the issue?

This is the thumbprint I'm inputting:
76 2a 9a 25 d6 61 fc 85 2c 27 1d 96 30 b3 5e a9 e0 16 44 62
I got this form Server Certificate properties in IIS.

Thanks in advance.
leirbag
Posts: 13
Joined: Mon Jun 16, 2014 2:56 pm

Re: Optional HTTPS Binding

Hi,

So I managed to find out the details

I am entering

Personal (My)
762a9a25d661fc852c271d9630b35ea9e0164462 (also tried in uppercase)

This issue only occurs when I put [PROPERTY] in the ThumbPrint(Hash) field when I enter it manully in the field it works..

Thanks in Advance
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Optional HTTPS Binding

Hello,

I'm not sure why this happens. I've tested the scenario using a thumbprint entered at install time and the installation succeeded. Can you please make sure the thumbprint your are entering at install time on the setup dialogs is typed without spaces (e.g. 762a9a25d661fc852c271d9630b35ea9e0164462) and see if the behavior still persist? If so, can you please send us the .AIP (project file) and a verbose log of the installation to support at advancedinstaller dot com so we can investigate them?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”