Microsoft MVP성태의 닷넷 이야기
IIS : 16. 인증서 검증 - CRL 체크 설정 [링크 복사], [링크+제목 복사],
조회: 13892
글쓴 사람
정성태 (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]


비밀번호

댓글 작성자
 




... 16  17  18  19  20  21  22  23  24  25  26  27  28  [29]  30  ...
NoWriterDateCnt.TitleFile(s)
475정성태11/8/200610010개발 환경 구성: 42. VHD 파일을 가상 하드 디스크로 설정하는 방법파일 다운로드1
474정성태10/17/20069819개발 환경 구성: 41. Getting Linq to work outside of a Linq project template
473정성태10/16/20069273개발 환경 구성: 40. Source/Documentation for Simple ASP.NET 2.0 SQL Providers Published
472정성태10/12/200610099개발환경 구성 : 39. Microsoft .NET Framework 버전 3.0 배포
471정성태10/12/20069727개발환경 구성 : 38. 서명되지 않은 어셈블리를 서명.
470정성태10/11/20069358.NET : 23. FxCop: SuppressMessage 특성에 Expiry 값 설정
469정성태10/29/200610100개발환경 구성 : 37. XSDClassgen = XSDObjectGen + .net framework 2.0
468정성태10/10/20069849.NET : 22. 잘 정리된 .NET Tips
467정성태10/10/200610228개발환경 구성 : 36. The Differences Between Rijndael and AES
466정성태10/9/20069674TFS : 42. TFS 도움말 업데이트 - 버전 61004
465정성태10/29/20069478Visual C++ : 3. COM 심층 분석(한기용님)파일 다운로드1
464정성태10/7/200610527개발환경 구성 : 35. Ngen 을 적용한 응용 프로그램을 디버깅하는 방법
463정성태10/7/200610242.NET : 21. C# - lock keyword == Monitor 사용
462정성태10/6/20069926.NET : 20. 명시적으로 Dispose 를 호출하도록 유도.
461정성태10/5/20069419TFS : 41. Configuring SSL and the ISAPI filter in TFS SP1 Beta
460정성태10/5/200610492TFS : 40. Team Build 에서 특정 폴더 제외하는 방법
459정성태10/5/200610064.NET : 19. LINQ 관련 링크 목록
458정성태10/1/200610938TFS : 39. Team System Source Code: Unlocking Checed Out Files
457정성태9/30/20069832개발환경 구성 : 34. Visual Studio 2005 Team Edition for (unmanaged) C++ Developers
456정성태9/30/200610387TFS : 38. Draft Documentation for Visual Studio 2005 Service Pack 1 Beta
455정성태9/30/200610498.NET : 18. Orcas CTP now includes STL/CLR
454정성태9/28/200610534개발환경 구성 : 33. Managed Lex and Yacc
453정성태10/20/200610227Vista : 11. A Vista update: integration between System.Transactions and the transacted file system and registry
452정성태9/28/20069764개발환경 구성 : 32. Simple Sharing Extensions for RSS and OPML
451정성태9/28/20069897.NET : 17. Enterprise Library v3: The Plan
450정성태9/28/20069605.NET : 16. ADO.NET vNext Entity Data Model Designer Prototype, CTP
... 16  17  18  19  20  21  22  23  24  25  26  27  28  [29]  30  ...