Server2008web Change Password

Source: Internet
Author: User
Tags base64 ssl certificate

in Windows 2003 IIS, the domain user password can be modified by using the ASP Web page file Iisadmpwd module that modifies the domain user password. However, the IISADMPWD feature is no longer supported on IIS 7, and there will be no IISADMPWD modules for Windows Server 2008 and IIS to install properly. What should we do if we want to let Server 2008 have the ability to modify passwords on the Web?


Test environment:

1) Server2003 needs to be equipped with webiis characters

2) Server2008dc+ca+webiis


    1. Server2003 the Iisadmpwd file, copy the folder to the Server2008 (note the file directory)

      For everyone to have a better test I'll add this file to the post attachment!

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/A8/wKioL1deSuXDbLenAABtRNGi-n0293.png "title=" 03iispwd file. PNG "alt=" Wkiol1desuxdblenaabtrngi-n0293.png "/>


2. Copy 03 of the files to the 08 image directory

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/AA/wKiom1deSjeiOa4MAAB9ie5d6Ec571.png "title=" Copy the file to 08. PNG "alt=" Wkiom1desjeioa4maab9ie5d6ec571.png "/>


3. Registering a dynamic link library file

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/A9/wKioL1deS4vhBBgWAABCdMsNm7s853.png "title=" register the Dynamic Library. PNG "alt=" Wkiol1des4vhbbgwaabcdmsnm7s853.png "/>


4.08 Installing the IIS role

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/A9/wKioL1deTVbyVGLuAACCelwwhVU839.png "title=" 08 Install the IIS role. PNG "alt=" Wkiol1detvbyvgluaaccelwwhvu839.png "/>


5.08 Installing the CA

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/82/A9/wKioL1deTgTgUBVvAACMQf7HVFQ876.png "title=" CA installation Complete . PNG "alt=" Wkiol1detgtgubvvaacmqf7hvfq876.png "/>


6. There are two ways to create a password Change access page 1. Add an application on the default Web site

2. Right-click on the server icon to add a website

Method 1

6.1) Add an application to the default site website to test if the webpage is open correctly

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/82/A9/wKioL1deTveQMZiHAAB54rP_rBw829.png "title=" Add application . PNG "alt=" Wkiol1detveqmzihaab54rp_rbw829.png "/>

6.2) Aliases can be customized, here I use the file name definition, the physical path to select the location of the copy file

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M02/82/AB/wKiom1deTh7xLzO5AAAfGGkP6cI406.png "title=" Find the target file . PNG "alt=" Wkiom1deth7xlzo5aaafggkp6ci406.png "/>

6.3) Use HTTP//server IP address/iisadmpwd (alias you defined) to access normal, test the next method

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/82/A9/wKioL1deUKvyxED_AABC7ESHzT0471.png "title=" Opens the Web page ip.png "alt=" Wkiol1deukvyxed_aabc7eshzt0471.png "/>


Method 2

6.4) Add a new website and use the domain name to access the site later, so you need to create a record

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/82/A9/wKioL1deUaWTA_cdAAB50cbpTyg343.png "title=" DNS records. PNG "alt=" Wkiol1deuawta_cdaab50cbptyg343.png "/>


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/82/AB/wKiom1deUCqiEsQdAAE6Q_c8IPI630.png "title=" Add the site. PNG "alt=" Wkiom1deucqiesqdaae6q_c8ipi630.png "/>


6.5) SSL Certificate guarantees security and user experience

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/82/A9/wKioL1deUVCTA8v8AAAnyHusMWI624.png "title=" add site 2. PNG "alt=" Wkiol1deuvcta8v8aaanyhusmwi624.png "/>


6.6) Use domain name to access password modification page, password modification success! The certificate creation process will be written in section 7 later! 650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/82/AA/wKioL1deU9uhqmqQAABMD_1uwHI385.png "style=" float: none; "title=" Changes the password. PNG "alt=" Wkiol1deu9uhqmqqaabmd_1uwhi385.png "/>


650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/82/AA/wKioL1deU9uzy6-zAAAT1PzblwA132.png "style=" float: none; "Title=" modified successfully. png "alt=" Wkiol1deu9uzy6-zaaat1pzblwa132.png "/>


7. Certificate creation, this step is optional, do not create certificate user can also access, just will prompt certificate error, in order to better user experience and security, we use HTTPS way access.


7.1) First create a certificate request in the IIS console this is important, we have created a record in Chapter 6.4, the generic name and a record remain consistent

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/82/AC/wKiom1deVEeAart7AAA68oZBgQI117.png "title=" New certificate. PNG "alt=" Wkiom1deveeaart7aaa68ozbgqi117.png "/>


7.2) HTTP://CA Server ip/certsrv Access Web certificate enrollment 650) this.width=650; src= http://s4.51cto.com/wyfs02/M00/82/AC/ Wkiom1devohyoqckaabm5r4skyq130.png "title=" Application certificate. PNG "alt=" Wkiom1devohyoqckaabm5r4skyq130.png "/>


7.3) using Base64 encoded ...

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/82/AA/wKioL1deVmuDiTA0AAAoT0JJWIA700.png "style=" float: none; "Title=" base64. PNG "alt=" Wkiol1devmudita0aaaot0jjwia700.png "/>


Advanced Certificate Request

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/82/AC/wKiom1deVVziyJkEAAARavT7Aww107.png "style=" float: none; "Title=" advanced. PNG "alt=" Wkiom1devvziyjkeaaaravt7aww107.png "/>


7.4) Copy the values from the application file into the

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/82/AA/wKioL1deVx_wmxfnAACRKFriOZY713.png "title=" copies the values in the graph. PNG "alt=" Wkiol1devx_wmxfnaacrkfriozy713.png "/>


7.5. Click Finish to save the file to your computer

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/82/AA/wKioL1deVmzRHwOcAABQOoHleu4456.png "style=" float: none; "title=" Copy and paste content. PNG "alt=" Wkiol1devmzrhwocaabqoohleu4456.png "/>


7.6) Complete Certificate creation

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M01/82/AC/wKiom1deVknSuNunAAA0GY5X8K8592.png "title=" to complete the creation. PNG "alt=" Wkiom1devknsununaaa0gy5x8k8592.png "/>


7.7) The certificate error is not alerted when using HTTPS access

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/82/AA/wKioL1deV_PRr5-rAABzomy7NAE584.png "title=" opens the page. PNG "alt=" Wkiol1dev_prr5-raabzomy7nae584.png "/>

8. The error may occur during the test, can open the page normally, enter the user password will pop up the following message

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/82/AA/wKioL1deWGWzVnEvAACCE0kllpQ933.png "title=" error. png "alt=" Wkiol1dewgwzvnevaacce0kllpq933.png "/>

9. Workaround, see if there is a aexp2.asp in the default document, if there is a conflict, delete it and then access it normally

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/82/AC/wKiom1deV5fAYTEXAACTiUDo9Pw089.png "title=" Error resolution. png "alt=" Wkiom1dev5faytexaactiudo9pw089.png "/>


If you have any questions, leave a comment!

This article is from the "Sameold" blog, make sure to keep this source http://1163739403.blog.51cto.com/11663406/1788665

Server2008web Change Password

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.