우리는 타사 C#/.net 서버에 연결하기 위해 C++/WWSAPI 클라이언트를 구축하고 있습니다. 우리는 서버와 함께 작동하는 샘플 C#/.net 클라이언트를 가지고 있습니다. 우리는 또한 우리가 제대로로드하는 인증서를 가지고App.config의 C# /. net <serviceCertificate>에 해당하는 WWSAPI
<behaviors>
<endpointBehaviors>
<behavior name="TheirBehavior">
<clientCredentials>
<serviceCertificate>
<defaultCertificate findValue="crypt.theirdomain.com" storeLocation="LocalMachine" storeName="Root" x509FindType="FindBySubjectName"/>
</serviceCertificate>
</clientCredentials>
</behavior>
</endpointBehaviors>
</behaviors>
<client>
<endpoint address="https://zzz.theirdomain.com/TheirService.svc"
binding="customBinding" bindingConfiguration="TheirServiceBinding" behaviorConfiguration="TheirBehavior"
contract="ProdWS.ITheirService" name="TheirServiceBinding">
<identity>
<dns value="crypt.theirdomain.com"/>
</identity>
</endpoint>
</client>
(그렇지 않으면 우리는 호출하기 전에 There was an error when trying to find certificate '...'; Cannot find object or property.
를 얻을.)
방법 : 그것은이는의 App.config (client.exe.config가)의 한 우리는 WWSAPI에서 이것을 가능하게합니까? 모든 .net 구성 설정과 해당 WWSAPI 구성 사이의 매핑을 보여줄 수있는 참조가 있습니까? (WS_SECURITY_BINDING
에서 설정)
다음 구성은 Invalid certificate credential specification in security binding.
을 제공합니다
WS_SSL_TRANSPORT_SECURITY_BINDING sslBind{};
sslBind.binding.bindingType = WS_SSL_TRANSPORT_SECURITY_BINDING_TYPE;
sslBind.localCertCredential = &certCred.credential;
는 바른 길에이 있습니까?