The Web. config file that supports the HTTP protocol and HTTPS protocol in the current business system is not the same. By default, HTTPS and HTTP protocols cannot be supported at the same time.
To build a deployment package
If you need to support the HTTPS protocol, rename the Web site's Web.Https.config to a Web. config file.
Deployment
1. Check the Web. config file in the deployment package, which is in the following path: The configuration/system.servicemodel/bindings/basichttpbinding section should contain a name called The binding element of the securehttpbinding. If this setting is not available, the Web site cannot provide HTTPS support.
2.IIS Manager – Native – server certificate, import or create a self-signed certificate.
3.IIS Manager – Site, set bindings, add HTTPS protocol, and select SSL Certificate in step 2nd.
Precautions
The following is a list of what you should be aware of when using the HTTPS protocol.
Self-signed certificate
If you use a self-signed certificate or a certificate that is not issued by a trusted root certification authority, users who HTTPS a Web site in a browser will be prompted with a "problem with this site's security certificate." "
There are two ways in which users can handle:
1. On this page ignore the warning, click Continue browsing.
2. Install the certificate locally.
Application Server supports HTTPS