Wrong SSL Settings - Advanced Installer Community
ANikolova
Posts: 15
Joined: Thu Dec 18, 2014 4:47 pm

Wrong SSL Settings

Hello, I have a Server setup that creates a new web site under the default web site. The the setup project I have configured Bindings/SSL settings to: Require SSL, Require 128-bit SSL, Client certificate: Accept. But when I run my setup, at the end of it the new web site is created with wrong ssl settings: the checkbox require ssl is unchecked and the Client certificate is Ignore. Why is that happening and how can we fix it? I use the latest version of AI : 12.3.1

Edit: I run the setup on Windows Server 2008 Enterprise
Thanks in advance.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Wrong SSL Settings

Hello,

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 test and investigate your installation scenario?

If you cannot share with us your project file, then you can try to isolate the behavior in a buildable sample (.aip + its referenced files) which we can build and test on our side.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Wrong SSL Settings

Hello Anna,

It seems that you are using a property formatted reference (which is resolved to "Default Web Site") in the "Name" field of your added web site. Please note that if a web site name, configured in "IIS" page, it resolves to "Default Web Site" at install time, then all of its configured settings will be skipped. The web site settings won't be applied on the server. This happens because we don't have support to configure settings for the "Default Web Site" (e.g. add HTTPS bindings, etc). I'm afraid this is an Advanced Installer limitation. However, all of the web site child items (web applications and virtual directories) will be correctly installed and configured.

So, the only way to achieve what you need (add an HTTPS binding for the "Default Web Site") would be to try to develop your own custom action.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ANikolova
Posts: 15
Joined: Thu Dec 18, 2014 4:47 pm

Re: Wrong SSL Settings

Thank you for your prompt reply. Can you advise me on which stage to run this custom action?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Wrong SSL Settings

Hello Anna,

You can add your custom action as *deferred* after "Install Execution Stage -> Add Resources" action group.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ANikolova
Posts: 15
Joined: Thu Dec 18, 2014 4:47 pm

Re: Wrong SSL Settings

It works perfectly, thank you.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Wrong SSL Settings

You're welcome.

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

Return to “Common Problems”