Microsoft MVP성태의 닷넷 이야기
IIS : 16. 인증서 검증 - CRL 체크 설정 [링크 복사], [링크+제목 복사],
조회: 18771
글쓴 사람
정성태 (techsharer at outlook.com)
홈페이지
첨부 파일
 


인증서 검증 - CRL 체크 설정


CRL 체크 관련해서 전에 말씀을 드렸었지요?

IIS 7에서 클라이언트 측 인증서 사용 시 주의점
; https://www.sysnet.pe.kr/2/0/418

CRL(Certificate Revocation List) 관리
; https://www.sysnet.pe.kr/2/0/414

IE 6/7 측에서도 서버 인증서의 CRL을 체크할 수 있는 옵션이 있는 것처럼, IIS 6/7에서도 클라이언트에서 제공하는 인증서의 CRL을 체크할 수 있는 옵션이 제공됩니다. 아쉽게도 관리 콘솔에서는 그 기능을 제공하지는 않고 간단한 스크립트를 만들어야 가능합니다. 이에 대해서는 다음의 토픽을 참고하십시오.

Client Certificates Authentication - Dirty Trick To Disable CRL Check. For Demos Only!
; http://blogs.msdn.com/alikl/archive/2007/08/14/client-certificates-authentication-dirty-trick-to-disable-crl-check-for-demos-only.aspx

간단히 정리해 보면, IIS 6에서는 다음과 같은 간단한 스크립트릍 통해 가능하고.

Set oWeb = GetObject("IIS://localhost/W3SVC")
   oWeb.CertCheckMode = 1 ' 기본값: 0
   oWeb.SetInfo

관련 레지스트리 경로도 누군가 파악해서 올려놨군요.

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters\SslBindingInfo\0.0.0.0:443
DefaultSslCertCheckMode
 
Which was defult set to 0, but I changed it to 1 and rebooted (important) and....guess what...it worked!

IIS 7에서는 netsh을 통해서 가능합니다. netsh을 통한 방법은 일단 서버 측에 매핑된 SSL을 제거한 다음, 다시 설정할 때 클라이언트 측 인증서의 CRL 체크 여부를 같이 하는 것 같습니다.

"netsh http show sslcert" will show the details of the existing sslcert

SSL Certificate bindings:
-------------------------

    IP:port                 : 0.0.0.0:443
    Certificate Hash        : ...
    Application ID          : ...
    Certificate Store Name  : ...
    ...

then delete the cert using "netsh http delete sslcert"

and recreate using

netsh http add sslcert ipport=0.0.0.0:443 certhash=... appid=...
certstorename=MY verifyclientcertrevocation=disable

of course, this would require some parsing code to do in a script, would be easier to do using HttpSetServiceConfiguration with HttpServiceConfigSSLCertInfo - http://msdn2.microsoft.com/en-us/library/aa364503.aspx






[이 토픽에 대해서 여러분들과 의견을 공유하고 싶습니다. 틀리거나 미흡한 부분 또는 의문 사항이 있으시면 언제든 댓글 남겨주십시오.]







[최초 등록일: ]
[최종 수정일: 12/26/2022]


비밀번호

댓글 작성자
 




... 31  32  33  34  35  36  37  38  39  40  41  42  [43]  44  45  ...
NoWriterDateCnt.TitleFile(s)
119정성태10/9/200510449Internet Information Services (IIS) 6.0 Resource Kit Tools (English)
117정성태10/8/200511045Windows Server 2003 Service Pack 1 Administration Tools Pack
116정성태10/7/200510981Microsoft Shared Computer Toolkit for Windows XP
115정성태10/7/200511285SourceForge - VSTS Plugins
114정성태10/7/200510981Configuring ASP.NET 2.0 Application Services to Use SQL Server 2000 or SQL Server 2005
113정성태9/29/200510984MS 제품 로드맵
112정성태9/29/200510854Internet Explorer Developer Toolbar Beta [2]
111정성태9/29/200511001All Recently Published Microsoft Driver Downloads
110정성태9/29/200510640[사이트 소개] http://www.15seconds.com/
109정성태9/28/200512110XP SP2 / Windows 2003 SP1 에서의 DEP 를 Disable 시키는 방법
108정성태9/20/200512312방화벽 - 개발자에게 미치는 영향
107정성태9/16/200511273The LINQ Project - .NET Language Integrated Query
106정성태9/5/200513108한국 Microsoft 가 공개한 .NET 관련 무료 기술 서적 3권파일 다운로드1
105정성태9/2/200510430Understanding Security in Microsoft Internet Explorer 6 in Windows XP SP2파일 다운로드1
104정성태9/1/200511557Symmetric Encryption: .NET, CryptoAPI and Java 2파일 다운로드1
103정성태8/29/200511290[블로그 소개] Loner's .NET Blog
102정성태8/26/200512002Creating an Installation Page That Automatically Detects the .NET Framework Version
101정성태8/24/200511676The Basics of UTF-8파일 다운로드1
100정성태10/12/200515784CPU 듀얼코어 관련 읽을만한 기사
99정성태8/18/200512937101 Samples for Visual Studio 2005
98정성태8/18/200512501Mike Woodring's .NET Sample Page [1]
97정성태6/1/200512167IIS 6.0 에서 SF_NOTIFY_READ_RAW_DATA ISAPI 필터가 동작안하는 문제
96정성태5/17/200512490Custom CheckDBNull function in Whidbey using Generics.
95정성태5/12/200511716Visual Studio 2005: Whitehorse를 이용한 개발과 운영간의 연결
93정성태5/5/200512727윈도우즈에서 1ms 이하로 시간측정하는 방법
92정성태5/5/200511838XP SP2 방화벽에 대한 내용을 정라한 블로그 소개
... 31  32  33  34  35  36  37  38  39  40  41  42  [43]  44  45  ...