HOW: ????? ASP.NET ??????? ???????? ???? ?????? ??????

?????? ????????? ?????? ?????????
???? ???????: 315588 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

??????? ??? ???? ???? ??? ????? ????? ??????? ?? ????? ??? ????? ?? ???? ?????? ??????? ???????? ?? ?????? ??? ????? ???? ????????. ????? ??????? ?????? ?????? ????? ?????? ?? ???? ????????. ???????? ??? ???? ????? ????? ?????? ???????? ??????? ??? ?????? Windows ??? ?????? ??? ??? ?????.


???????

???? ??????? ??????? ??????? ?????? ??? ????? ?????? ???????? ?????? ? ??? ??????? ???? ???????:
  • ???? Microsoft Windows 2000 Service Pack 2
  • Microsoft Internet Explorer 6.0
  • Microsoft Visual Studio .NET
  • ????? ????? Microsoft (??? ??? ??? ????? ?????? ??????)
????? ??? ??????? ??? ??????? ??? ???????? ???????:
  • ????? ASP.NET ?? Visual Basic ?? Visual C#
  • ????? ????? ??????? ?????? ?? Microsoft (IIS)

????? ????? ??? ASP.NET

?? ??? ?????? ????? ????? ASP.NET ?????. ?? ??????? ??????? ???? ??????? ?????? ????? ?????? ?????? ??? ???????.
  1. ??? ????? Visual Studio .NET ?? ?? ?????? ????? ????? ??? ASP.NET ???? ???? SecureSite.
  2. ???? ???? ???? ??????? ?? ???? ??????? ??? ????? ??? WebForm1.aspx ?? ?? ?????? ????? ?????? ?????? ??? ??? greetingLabel.
  3. ???? ???? ???? ????? ???? WebForm1.aspx ?? ?? ?????? ????? ?????? ?????? ??? ??? certDataLabel.
  4. ?? ?????? ????????? ???????? ??????? ??? ????? ????? Page_Load:
    'Visual Basic
    Dim username As String
    userName = User.Identity.Name
    greetingLabel.Text = "Welcome " & userName
    Dim cert As HttpClientCertificate = Request.ClientCertificate
    If cert.IsPresent Then
    	'Get the Organization (O) field from the Subject section.
    	certDataLabel.Text = cert.Get("Subject O")
    Else
    	certDataLabel.Text = "No certificate was found."
    End If
    					
    //Visual C#
    string userName;
    userName = User.Identity.Name;
    greetingLabel.Text = "Welcome " + userName;
    HttpClientCertificate cert = Request.ClientCertificate;
    if (cert.IsPresent)
        certDataLabel.Text = cert.Get("SUBJECT O");
    else
        certDataLabel.Text="No certificate was found.";
    					
  5. ????? ?? ??? ??????? ?? ?? ?????? Visual Studio.
  6. ??? ????? Internet Explorer ?? ?? ?????????? ??? ?????? ???????:
    http://localhost/SecureSite/WebForm1.aspx
    ???? ?? ???? ?????? "???????" ? "??? ?? ??? ?????? ??? ?????" ???????. ???? ?? ?????? ?? ???? ??? ?????? ???? ?????? ????????.
  7. ????? Internet Explorer.

????? ???? ??? ?????? ??? ???????? ???????? ??? ?????

?? ??? ?????? ???? ?????? ??????? SecureSite ???????? ???????? ????????. ??????? ?????? ?????? ? ??? ????? ????? ?? ???? ??????. ????? ??????? ????? ???? ?????? ?? ?? ???? ?? ????? ????? ????? ?? ???? ?????? ?? ????? ????? Microsoft.


?????? ??? ????? ???? ??????

  1. ??? ??????? ???? ? ??? ??? ??????? ? ???? ??? ????? ?????? ?? ???? ??? ????? ????? ??????.
  2. ?? ?????? ???? ?????? ????? ?? ?? ???? ??? ???? ??? ?????????.
  3. ?? ??????? ?????? ???? ??? ?????.
  4. ?? ????? ??????? "???? ??????" ? ???? ??? ????? ??????. ???? ??? ??????? ?? ???????:
    1. ???? ??? ?????? ?? ?????? ?????? ?? ???????.
    2. ?? ???? "????? ????" ? ???? ??? ????? ????? ????? ?? ???? ??? ??????.
    3. ?? ?????? "????? ?? ??? ????" ? ???? ??? ????? ????? ????? ???? ?????? ?????? ?? ?? ???? ??? ??????.
    4. ?? ?????? "???" ? "??????? ??????" ? ???? ????????? ?????????? ?? ???? ??? ??????.
    5. ?? ???? "??????? ???????" ? ???? MSDN ??????? ? ???? ??? ??? ?????? ?????? ????????? ?? ?? ???? ??? ??????.
    6. ?? ?????? "?????? ????? ?? ????? ?????" ? ???? localhost ??? ?? ???? ??? ??????.
    7. ?? ???? ??????? ????????? ? ???? ????? ??????? ??????? ??????? ??? ?? ???? ??? ??????.
    8. ?? ?????? "??? ??? ??? ???????" ? ?? ????? ??? ????? ????????? (???? c:\certreq.txt) ?? ???? ??? ??????.
    9. ?? ???? "???? ??? ?????" ? ???? ?? ?? ???? ???????? ??? ?? ???? ??? ??????.
    10. ???? ??? "?????" ?????? ???????.
  5. ??? ??? ??????? ???? ??? ??????? ?? ?? ???? ????????? ??????? ??? ????? ??? ???????.

??? ????? ??? ????? ???? ??????

  1. ??? ????? Internet Explorer ?? ?? ?????????? ??? ?????? ???????:
    http://localhost/CertSrv
    ??????: ??? ?? ??? ????? "????? ????? Microsoft".
  2. ???? ??? ??????? ?? ???????:
    1. ???? ??? ??? ????? ?? ???? ??? ??????.
    2. ??? ???? ?????? ??? ??? ???? ??? ?????? ??? ?? ???? ??? ??????.
    3. ?? ?????? "????? ?????? ??????" ? ???? ??? ????? ??? ????? ???????? base64 ?? ????? ??? PKCS # 10 ?? ???? ??? ??????.
    4. ?? ?????? ????? "??? ?????" ? ???? ??? ?????? ??? ??????? ??????? Base64 (PKCS # 10 ?? # 7) ?? ???? ?????? ???????? CTRL + V ???? ??? ??????? ???? ??? ?????? ??? ??????? ??????. ???? ??? ?????.
  3. ????? Internet Explorer.

?????? ?????? ???? ??????

  1. ?? ??????? ???? ? ???? ??? ??????? ? ???? ??? ????? ?????? ?? ???? ??? ?????? ??????.
  2. ?? ?????? ???? ??????? ?????? ?? ??? ????? ?????.
  3. ??? ??? ??????? ???? ????? ???????. ?? ??????? ?????? ??? ??? ???? ?????? ?? ???? ??? ???????.
  4. ????? ???? ??????? ?? ???? "????? ????????" ??? ?? ???? ????? ??????? ??? ??????? ?????.
  5. ?? ????? ??????? "??????" ? ???? ??? ??? ??? ???. ??? ??????? ??? ????? X.509 ??? C:\Servercert.cer ????? ???? 64.
  6. ????? ???? ?????? ????? ???????.
  7. ????? ???? "?????? ??????".

?????? ????? ???? ??????

  1. ??? ??????? ???? ? ??? ??? ??????? ? ???? ??? ????? ?????? ?? ???? ??? ????? ????? ??????.
  2. ?? ?????? ???? ?????? ????? ?? ?? ???? ??? ???? ??? ?????????.
  3. ?? ??????? ?????? ???? ??? ?????.
  4. ?? ????? ??????? "???? ??????" ? ???? ??? ????? ??????. ???? ??? ??????? ?? ???????:
    1. ???? ??? ?????? ?? ?????? ?????? ?? ???????.
    2. ???? ??? ?????? "??? ????" ????? ??????? ?? ???? ??? ??????.
    3. ?????? ????? ?? ??? ????? C:\Servercert.cer ???? ??? ????? ??????. ???? ??? ?????? ????? ?? ???? ??? ?????.
  5. ???? ??? ????? ?????? ???? ?????? "?????".

????? ???? SecureSite SSL ? ???????? ???? ??????

  1. ?? "????? ????? ??????" ??? ???? ??? ????? SecureSite ?? ??? ??????.
  2. ???? ??? ??????? ?? ???????:
    1. ??? ????? ??????? "???? ??????" ? ???? ??? "?????" ?? ?????? ????????? ??????.
    2. ??? ???? ???????? ????? ???? ???? (SSL). ??? ???? ????? ????????? ??? ??? ???????.
    3. ??? ???? ???????? ??? ?????? ??????. ??? ???? ?? ?????? ???? ??? ????? ?? ??? ?????????? ????? ????? ????? ?????? ?????.
    4. ??? ???? ???????? ????? ????? ????? ??????. ??????? ?????? ?????? ?????? ??? ?????? ??????? Windows.
    5. ???? ??? ?????. ???? ??? ????? ????? ?? ????? ??? ???? Windows ????? ?? ????? ????? ??? ?????? ???? ???? Windows.
    6. ??? ????? ??????? "????? - ??? - 1" ? ???? ??? ????? ?????? ????? ?????. ??? ??? ??????? ????? ????? ?? ???? ??? ??????.
    7. ???? ??? ???? ?????? ????? ????? ??? ????? ????? ?????? O (???????) ?? ?????? "???????" ?? ??????? ?????? "MSDN". ???? ??? ????? ?????? ??????? ?????????? ???????? ???? ????? ??? ??? ????? "MSDN". ?? ???? ?????? ????? ????? stricter ??? ?????? ??????? ?? ??? ????? ??????? ???????? ??? ???????. ???? ??? ??????.
    8. ?? ?????? ????? ??? ???? ??? ??????? ??????? "????? ??????". ???? ??? "???????" ?????? ???? Windows ???? ???? ??????? ?????????? MSDN. ??? ???? ??????? ??????? ?????? Administrator. (?? ????? ????? ????? ????? ???? Windows ???? ????????? ????.) ???? ?? ????? ???? ?????? ???????.
    9. ???? ??? ????? ?? ?? ?????? ???? ??????.
  3. ???? ??? ????? ?????? ???? ?????? ??????? ????.
  4. ???? ??? ????? ?????? ???? ?????? ????????? ??????. ??? ??? ??????? ????? ????????? ??? ???????? ???????? ??????? ???? ??? ????? ???? ?? ???? ??? ?????.
  5. ???? ??? ????? ?????? ???? ?????? ????? SecureSite.

??? ???? ?? ???????? ???????? ??? ?????

  1. ??? ????? Internet Explorer ?? ?? ?????????? ??? ?????? ???????:
    https://localhost/SecureSite/WebForm1.aspx
    ???? ??????? ???????? ??? https.
  2. ????? ???? ????? ?? ?????? ????? ????? ????.
  3. ????? Internet Explorer.

????? ????? ????

?? ??? ?????? ????? ????? ??????. ????? ??????? ????? ?? ?????? ?????? ?? ?? ????? ??????? "????? ????? Microsoft" ?????? ????? ???? ??.


??? ??? ?????? ???? ??????

  1. ??? ????? Internet Explorer ?? ?? ?????????? ??? ?????? ???????:
    http://localhost/CertSrv
  2. ???? ??? ??????? ?? ???????:
    1. ???? ??? ??? ????? ?? ???? ??? ??????.
    2. ?? ?????? "?????? ??? ???" ? ???? ??? ????? ?????? ??? ?? ???? ??? ??????.
    3. ???? ????????? ????????. ???? ?? ????? MSDN ?? ???? ???? ??????.
    4. ???? ??? ????? ?????? ?????.
  3. ????? Internet Explorer.

?????? ?????? ???? ??????

  1. ??? ????? ???? "?????? ??????" ?? ?????? ?????? ??????? ????????.
  2. ?? ?????? ???? ??????? ?????? ?? ??? ????? ?????.
  3. ??? ??? ??????? ???? ????? ???????. ?? ??????? ?????? ??? ??? ???? ?????? ?? ???? ??? ???????.
  4. ????? ???? ??????? ?? ???? "????? ????????" ??? ?? ???? ????? ??????? ??? ??????? ?????.
  5. ?? ????? ??????? "??????" ? ???? ??? ??? ??? ???. ??? ??????? ??? ????? X.509 ??? C:\Clientcert.cer ????? ???? 64.
  6. ????? ???? ?????? ????? ???????.
  7. ????? ???? "?????? ??????".

?????? ????? ???? ??????

  1. ???? "?????? Windows" ?? ???? ????? ??????? ??? Clientcert.cer ???? ??? ???????.
  2. ???? ??????? ??????? ?? "????? ??????? ????????":
    1. ??? ?????? ?????? ?? ???????? ???? ??? ????? ??????? ?? ???? ??? ??????.
    2. ??? ???? ???????? ????? ???? ???????? ?????? ??? ??? ???????? ???????? ?? ???? ??? ??????.
    3. ???? ??? "?????" ?????? ???????.
  3. ??????? ???? ????? ??????? ?? ???? ??? ????? ?????? ???????.

???? ?? ???? ?? ???

?? ??? ?????? ???? ?? ?? ??????? ?????? ?? ???????? ??? "MSDN" ??? ???? ?????? ??? ???? SecureSite. ??? ????? ?????????? ??? ?????? ???? ??? ??????? ?? ??????? ???????.
  1. ??? ????? Internet Explorer ?? ?? ?????????? ??? ?????? ???????:
    https://localhost/SecureSite/WebForm1.aspx
  2. ????? ??:
    • ???? ???? ???.
    • ??? ??????? ???? Windows ???????.
    • ??? ????? ??????? "MSDN" ?? ???????.

?????

?????? ??? ??????? ?????? ??? ????? ??????? ???? ???? ??????? ?????? (SSL) ?????? ???? ??? ???? ??? ??? ??????? ????? ?????? ?? "????? ??????? ?? Microsoft:
298805HOW TO: ????? SSL ?????? ??? ???? ??????? ????? ??????? ?? ????? ????? ?? ????? ??????? ??????

???????

???? ???????: 315588 - ????? ??? ??????: 23/?? ??????/1428 - ??????: 4.6
????? ???
  • Microsoft ASP.NET 1.0
  • Microsoft Internet Information Services 5.0
  • Microsoft ASP.NET 1.1
  • Microsoft Internet Information Services 6.0
????? ??????: 
kbmt kbhowtomaster kbsecurity KB315588 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????315588

????? ???????

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com