Microsoft MVP성태의 닷넷 이야기
IIS : 16. 인증서 검증 - CRL 체크 설정 [링크 복사], [링크+제목 복사],
조회: 18774
글쓴 사람
정성태 (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)
398정성태8/12/200613152Debug : 4. SOS로 Managed 객체의 크기 구하는 방법
397정성태8/12/200613621IIS - 4. Extending the TreeView in IIS 7 in Windows Vista파일 다운로드1
396정성태8/11/200612925TFS : 21. Process Template Schemas Download
395정성태8/10/200612794개발환경 구성 : 21. Introduction to Visual Studio 2005 Team System Guide
394정성태8/10/200614964개발환경 구성 : 20. VHD 파일 크기 줄이기파일 다운로드1
392정성태8/9/200612761개발환경 구성 : 19. 몇 가지 유용한 ASP.NET 아티클 링크
393정성태8/10/200612519    답변글 개발환경 구성 : 19.1 몇 가지 유용한 ASP.NET 아티클 링크
391정성태8/9/200612194개발환경 구성 : 18. CardSpace 구현 예제파일 다운로드1
390정성태8/9/200611912개발환경 구성 : 17. 주의해야 할 프로그래밍 패턴
389정성태8/8/200617310C# event 와 delegate 의 차이?파일 다운로드1
388정성태8/7/200611864.NET : 10. C# 3.0 소식
387정성태10/20/200612691Vista : 7. System Services change in Windows Vista
385정성태10/20/200613257.NET 3.0 : 2. WCF Service with .asmx extentions 파일 다운로드1
384정성태10/20/200613012Vista : 6. Programming the Windows Vista Event Log [1]
383정성태10/20/200613051Vista : 5. MSDE Will Not Be Supported on Vista
382정성태10/20/200615259Vista : 4. IE 7+ 이름 변경
381정성태8/7/200611758개발환경 구성 : 16. Windows RSS API 사용법파일 다운로드1
380정성태8/4/200611754개발환경 구성 : 15. Windows Command Line Auto Completion
379정성태8/1/200611410.NET : 9. Self compiling scripts for .NET languages: C#, VB.NET and JScript.NET파일 다운로드1
378정성태8/1/200611852개발환경 구성 : 14. [사용설명서] SQL Server Everywhere 버전
377정성태7/31/200612053개발환경 구성 : 13. 도움말 생성기 - Sandcastle
386정성태8/7/200611711    답변글 개발환경 구성 : 13.1 Sandcastle 사용예파일 다운로드1
376정성태7/25/200611343TFS : 20. TFS 사용 현황 사례
375정성태7/25/200611621개발환경 구성 : 12. [CodePlex] 신규 프로젝트 - TFS File Sync
374정성태7/24/200613472Reflection 의 속도 향상을 원한다면?
373정성태7/23/200612651.NET : 8. The ADO.NET Entity Framework Overview [2]
... 31  [32]  33  34  35  36  37  38  39  40  41  42  43  44  45  ...