Application Server supports HTTPS

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.