SSL Encryption Basic Authentication

Source: Internet
Author: User
Tags ssl certificate

SSL Encrypt Basic Authentication

U Case Requirements

How do I encrypt Basic authentication over SSL?

U Knowledge Tips

Multiple user authentication methods are available in IIS 7.0, and if Basic authentication is enabled, weak encrypted passwords are transmitted over the network and are easily stolen. So you can use SSL encryption, so that the security of the user password is protected.

The concrete implementation steps are described in the play.

(1) In IIS, the user authentication of the Web site is changed to "Basic Authentication", as shown in 5.1.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image002 "border=" 0 "alt=" clip_image002 "src=" http://s3.51cto.com/wyfs02/M02/77/8A/ Wkiol1zpgawhokwoaaauyzy6ouy374.jpg "" 244 "height=" 174 "/>

Figure 5.1 Changing the authentication method

(2) Request a certificate for the Web server, as shown in 5.2.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image004 "border=" 0 "alt=" clip_image004 "src=" http://s3.51cto.com/wyfs02/M01/77/8A/ Wkiol1zpgaab8os0aaaxkyq4ljw201.jpg "" 244 "height=" 174 "/>

Figure 5.2 Completing the certificate request

(3) To add site bindings for the Web site, type select "https", SSL certificate Select the certificate that you just requested, and then click the "OK" button as shown in 5.3.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image006 "border=" 0 "alt=" clip_image006 "src=" http://s3.51cto.com/wyfs02/M01/77/8C/ Wkiom1zpgaadbbbkaaam2el0ptc441.jpg "" 244 "height=" 123 "/>

Figure 5.3 Adding a site binding (1)

(4) Delete the HTTP type web site bindings, leaving only the newly added site bindings, and then click the Close button, as shown in 5.4.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image008 "border=" 0 "alt=" clip_image008 "src=" http://s3.51cto.com/wyfs02/M01/77/8A/ Wkiol1zpgaetjuksaaaeo3rkki0680.jpg "244" height= "/>"

Figure 5.4 Adding a site binding (2)

(5) Access the site via HTTPS on the client, as shown in 5.5. After successfully logging in, click 650 in the Address bar shown in 5.6 this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image010 "border=" 0 "alt=" clip_image010 "src=" http://s3.51cto.com/wyfs02/M02/77/8C/ Wkiom1zpgaeqheuzaaadjmvlx2o832.jpg "" "Height="/> "button, the connection between the client and the Web server is indicated to be encrypted.

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; margin:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image012 "border=" 0 "alt=" clip_image012 "src=" http://s3.51cto.com/wyfs02/M01/77/8C/ Wkiom1zpgaidpnkiaaarxykpl9y885.jpg "" 244 "height=" 184 "/>

Figure 5.5 Accessing the Web site via HTTPS

650) this.width=650; "Style=" background-image:none; border-bottom:0px; border-left:0px; padding-left:0px; padding-right:0px; border-top:0px; border-right:0px; padding-top:0px "title=" clip_image014 "border=" 0 "alt=" clip_image014 "src=" http://s3.51cto.com/wyfs02/M00/77/8C/ Wkiom1zpganiohfaaaalkjjj6ww284.jpg "" 244 "height=" 184 "/>

Figure 5.6 Connection is encrypted

SSL Encryption Basic Authentication

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.