Can't set AccessSSLFlags

Got a problem you cannot solve? Try here.
Post Reply
bobkaine
Posts: 4
Joined: Tue Aug 27, 2013 2:04 pm

Can't set AccessSSLFlags

Post by bobkaine »

What am I doing wrong?

I am testing on Windows 7, the install will eventually be run on Windows 2008 R2

I cannot set the flag to Require SSL. I have read the InstallAware documentation. I have reviewed my application.host.config file. I have selected 'Use IIS 7 Processing'

Using InstallAware Studio 17
Attachments
ss1.png
ss1.png (14.95 KiB) Viewed 5727 times
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can't set AccessSSLFlags

Post by FrancescoT »

Dear Bobkain,

I may suggest you to have a look at the following topic, where it is available a sample on how to use the Set IIS property command;
http://www.installaware.com/forum/viewt ... f=2&t=6793

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
bobkaine
Posts: 4
Joined: Tue Aug 27, 2013 2:04 pm

Re: Can't set AccessSSLFlags

Post by bobkaine »

That link was very little help.

I understand what is being said however, it seems to directly conflict with the InstallAware documentation.
ss1.png
ss1.png (47.36 KiB) Viewed 5707 times
So do I have to use the "system.webServer/security/access‐>sslFlags" syntax or is it 'automatically mapped' when I use 'AccessSSLFlags'?

If I have to use the IIS7 configuration path (system.webServer/security/access‐>sslFlags) how do I identify the correct location, is it "[location:path=$Website$]/system.webServer/..." or something different?

As you see below <system.webServer> is within the <location> element and there is more than one <location> so simply setting the value to "system.WebServer/..." will not access the correct website.
ss2.png
ss2.png (62.43 KiB) Viewed 5705 times
Also, do I set the value to 8 or Ssl or "8" or "Ssl"?

Please provide me with a helpful response.

Thank you.
FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Can't set AccessSSLFlags

Post by FrancescoT »

Dear Bobkain,

I am not an IIS expert, but for what I understand by the InstallAware documentation in accordance with Microsoft documentation, if you don't use the "Use IIS 7 Processing" mode with the command, the given IIS6 Metabase Property (if within the list) will be automatically mapped to the IIS7 Configuration Path.

So if you pass with the command the IIS6 Metabase Property "AccessFlags", this will mapped to the respective IIS7 Configuration Path.

Anyway, this is not what InstallAware says, but what Microsoft reports with its documentation.
You should also verify, with consulting the appropriate Microsoft documentation, if anything as been updated.
If I have to use the IIS7 configuration path (system.webServer/security/access‐>sslFlags) how do I identify the correct location, is it "[location:path=$Website$]/system.webServer/..." or something different?
It should be the location of your website.

I may suggest to you to have a look at the following link, where an exhaustive Microsoft documentation and samples are available
http://www.iis.net/configreference/syst ... ity/access

Note that with the above documentation, along with all the samples available, it is described how to process IIS settings from ccommand line.

If you still have difficulties with the IA command, you can simply use the IA "Run Program" command to execute the "AppCmd.exe" CMD line tool whitin your script.

Hope this helps you.

PLEASE DON'T USE MULTIPLE TOPICS TO DISCUSS THE SAME ARGUMENT!

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
bobkaine
Posts: 4
Joined: Tue Aug 27, 2013 2:04 pm

Re: Can't set AccessSSLFlags

Post by bobkaine »

Used the AppCmd.exe approach.

Worked great.

Thanks.
Post Reply