Microsoft MVP성태의 닷넷 이야기
IIS : 16. 인증서 검증 - CRL 체크 설정 [링크 복사], [링크+제목 복사],
조회: 18766
글쓴 사람
정성태 (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)
346정성태6/29/200612190Debug : 1. How to build Mdbg apps파일 다운로드1
344정성태10/20/200614912Vista : 3. Vista에서 제거되는 DHTML Editing Control - 두 번째 소식
345정성태10/20/200613567    답변글 Vista : 3.1 [현상 1] Vista 에서 OWA 접근
351정성태10/20/200616780    답변글 Vista : 3.2 Vista에서 문제되는 웹 사이트
352정성태10/20/200613955    답변글 Vista : 3.3 Vista 관련 조각 코드파일 다운로드1
343정성태6/26/200612659TFS : 10. TFS Bug Snapper v1.0 Released
342정성태6/26/200611973TFS : 9. TFS Notification Web Services - Project Template 1.1 available
341정성태6/25/200612467.NET : 7. VCPROJ - Shared Source Common Language Infrastructure 2.0 Release파일 다운로드1
340정성태6/25/200611866개발환경 구성 : 7. XSLT on the fly.
339정성태6/25/200612245.NET : 6. 무료 - ByesRoad.NetSuit Library
337정성태10/20/200616627Vista : 2. Credential Provider Samples파일 다운로드1
336정성태6/23/200611950.NET : 5. BLINQ using LINQ
335정성태6/23/200612551개발환경 구성 : 6. MSBuild or Team Build Tasks in the Community
334정성태6/26/200612034TFS : 8. Customizing MSF Process Guidance
333정성태6/21/200612281VS.NET IDE : 6. The Visual Studio Hosting Process - VSHost.exe
332정성태6/21/200612295TFS : 7. Team Foundation Power Toys
331정성태6/21/200612027Debug: CardSpaces Crash 를 해결해 가는 디버깅 과정
330정성태10/20/200613439Vista : 1. New API - 스레드 대기 상태를 확인하는 방법 제공
329정성태6/21/200612190.NET : 4. Tech-Ed 2006 - WebCast 자료
328정성태6/23/200613091개발환경 구성 : 5. Robocopy GUI
327정성태6/18/200613787.NET : 3. Open XML을 다루는 코드 스니핏 [1]
326정성태6/18/200613076개발환경 구성 : 4. COM+ 서비스에서 인증서 사용.
325정성태6/17/200613001STL.NET
324정성태6/17/200612791개발환경 구성 : 3. Signed versions of the power toys available on MS Downloads
323정성태6/17/200613298개발환경 구성 : 2. the sandbox projects
322정성태6/17/200614019TFS : 6. TFS 데이터베이스 백업파일 다운로드1
... 31  32  33  [34]  35  36  37  38  39  40  41  42  43  44  45  ...