2011-04-06 7 views
1

x509 인증서를 사용하여 클라이언트를 인증 할 때 웹 서비스에서 다음 오류가 발생합니다.웹 서비스 및 X509

X509Certificate2 Clnt = new X509Certificate2 (HttpContext.Current.Request.ClientCertificate.Certificate);

오류는 입니다. System.Web.Services.Protocols.SoapException : 서버가 요청을 처리 할 수 ​​없습니다. ---> System.Security.Cryptography.CryptographicException : m_safeCertContext가 잘못된 핸들입니다. C에서 Service.HelloWorld에서 System.Security.Cryptography.X509Certificates.X509Certificate.get_Issuer() ()에서 : \ MyWorkSpace \ SecuredWS \을 App_Code Service.cs \ : 라인 40 --- 내부 예외 스택 추적 끝

m_safeCertContext가 null로 표시되는 이유는 무엇일까?

레거시

답변

-2

마지막으로 우리는이 문제를 해결했습니다. 누군가 내가 여기에 해결책을 넣을 수 있다는 것을 알고 싶다면.

+1

나 자신과 같은 다른 사람들을 돕기 위해 해결책을 게시하십시오 :) – Seph

+0

해결책을 게시 할 수 있습니까? –