???? ID: 239875 - ????? ???????: 02 ?????? 2010 - ??????: 2.0

TO HOW: ????? ???? ?? ??? ?? SSL ASP ??????? ????? ?? ???

?????? ??????This article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
?? ?????? ??????? ???? ??? ?? ??? ???????????? ?? ??? Microsoft ??????? ?????????? ???????? (IIS) ??????? 7.0 ???????? ?? Microsoft Windows Server 2008 ??? ??? ??? IIS 7.0 ???????????? ??? ?????? ??????? ?????? ??? IIS ???????-?????? ?????? ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://www.Microsoft.com/technet/Security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
IIS 7.0 ?? ???? ??? ???? ??????? ?? ??? ????? Microsoft ??? ???? ?? ????:
HTTP://www.IIS.NET/default.aspx?tabid=1 (http://www.iis.net/default.aspx?tabid=1)

?? ????? ??

??? ?? ??????? ???? | ??? ?? ??????? ????

??????

???? ??? ???? ?? ??? ??????? ?? ??? ???????? ????? ???? (SSL) ?? ???????? ?? ??? ??????? ?? ???? ????? ?????? ??? ?????? ?? ?? ???? ?? ???????? ?? ?????? ?? ??????? ???? ??????? (ISM) ??? Microsoft ??????? ????? (MMC), ?? ?? ????? ?? ???? ?????? ????? ????? (ASP) MMC ??? ???????? ??? ???? SSL ??????? ??????? ?? ??? ????? ???? ?? ????

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

?? ???? ??? ????? ??? ?? ???? ?????? ????? ??:
  • IIS ???? ????? ?? ?? ??? ??:
    • HTTP ????? 80 =
    • HTTPS ????? 443 =
  • IIS ??? ??? ????? SSL ?????????? ??????? ???
  • ??? ???? ?? ??????? ????? ????? ???? ???? ?? ?? ????? ???? HTTP/1.1 ????? ????? ??? ??? ?????? ?? ????

ASP ?? ????? ???? SSL ??

ASP ?? ????? ???? SSL ????????, ?? ????? ?? ???? ????:
  1. ????? ????,???????????? ????,???????????:???????? ????-????? ????, ?? ???? ???OK.
  2. ???? ????? ?????? ???????? ??? ????? ??? ?? ???????? ????? ???????????? ??,?? ??? ??? ??????, ?? ???? ??? ????? ??? ??? ?????? ???? ??? ????? ?? ??? ??? ???????? ????? ?? ??? ???ForceSSL.inc:
    <%
       If Request.ServerVariables("SERVER_PORT")=80 Then
          Dim strSecureURL
          strSecureURL = "https://"
          strSecureURL = strSecureURL & Request.ServerVariables("SERVER_NAME")
          strSecureURL = strSecureURL & Request.ServerVariables("URL")
          Response.Redirect strSecureURL
       End If
    %>
    					
  3. ???????? ????? ?? SSL ?? ???????? ??, ?? ??? ????? ??? ?? ???????? ????? ?? ?????? ?? ??? ????? ?? ????? ?? ????? ??? ???????:
    <%@Language="VBSCRIPT"%>
    <!--#include virtual="/ForceSSL.inc"-->
    					
    ???????? ????? browsed ??, ?? ASP ??? ???????? ????? ??? ????? ?? ?? ??? HTTP ????? ???? ???? ?? ?? ???????? ???? ?? ??? ????? ??? ????? ??? ?? ??? HTTP ????? ???? ???? ??, ?? ???????? ?????????????? ???? ?? ?? ????? HTTPS ?? ????? ???

??????

187504  (http://support.microsoft.com/kb/187504/EN-US/ ) HTTP 1.1 ????? ????? ??? ??????? ???? ???? ?? ?? SSL ?? ????? ????
228991  (http://support.microsoft.com/kb/228991/EN-US/ ) ???? ????? ?? ??????? ????? ????? 4.0 ??? SSL ?????? ???? ??????? ????
228836  (http://support.microsoft.com/kb/228836/EN-US/ ) SSL/TLS ??? ????? ?? ??? ?????? ???? ??????? ?? ??? ??? ?????? ???? ??????? ????
257591  (http://support.microsoft.com/kb/257591/EN-US/ ) ???????? ????? ???? (SSL) ??????? ?? ?????

???? ???? ???? ??:
  • Microsoft Internet Information Services 6.0
  • Microsoft Internet Information Services 7.0
??????: 
kbhowtomaster kbmt KB239875 KbMthi
???? ?????? ???????????? ?????? ????????
??????????: ?? ???? ?? ???? ??????? ?? ????? ?? Microsoft ????-?????? ?????????? ?????? ?????? ???? ??? ??. Microsoft ???? ??? ????-???????? ?? ????-???????? ????? ?????? ?? ???? ???????? ???? ?? ???? ????? ????? ??? ?? ??? ?????? ?? ???? ???? ???? ??? ????? ??. ???????, ????-???????? ???? ????? ???? ???? ???? ???. ?????, ????????, ?????-???? ?? ??????? ?? ???????? ?? ???? ???, ???? ?? ??? ?????? ???? ???? ??? ????? ??? ?? ???? ??. Microsoft ??????? ??? ???? ?? ?????? ?? ??????????, ????????? ?? ??? ?????? ?? ???? ????? ?? ???? ???????? ?? ??? ???? ????? ?? ??? ????????? ???? ??. Microsoft ????-?????? ?????????? ?? ????? ?????? ?? ?? ??? ??.
?????????? ?? ??????? ????????? ??????? ??:239875  (http://support.microsoft.com/kb/239875/en-us/ )