简体   繁体   中英

Ensure HTTPS binding exists in IIS' Default Web Site in Wix

How can I ensure HTTPS binding exists in IIS' Default Web Site? I have tried doing that using C# Custom Action, which just checks existence using Microsoft.Web.Administration.ServerManager class, but it requires admin permissions. It's not ok for me because I need to check that on pushbutton click, so I can't mark my customaction as deffered(I've tried and got an error)

You can ensure HTTPs binding in iis Site Binding.

1.Select Default Web Site in the Connections and click Bindings... in the Actions pane.

2.Click Add... to add your new SSL binding to the site.

3.Select https in the Type drop-down list.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM