Hi All,
Can anyone help me in this? I am calling a internal Web service using the below config file tags
<identity>
<dns value="DWR"/>
</identity>
</endpoint>
And Here is the behaviour part ,
<clientCredentials>
<!--certificate storage path in the client -->
<clientCertificate findValue="4a 1c 14 36 63 3b 5f 1b 23 90 a6 1c aa d0 6a ce 05 57 87 45"
storeLocation="LocalMachine"
x509FindType="FindByThumbprint"
storeName="TrustedPeople">
</clientCertificate>
<serviceCertificate>
<authentication trustedStoreLocation="LocalMachine" customCertificateValidatorType="" revocationMode="NoCheck" certificateValidationMode="PeerOrChainTrust" />
<defaultCertificate findValue="4a 1c 14 36 63 3b 5f 1b 23 90 a6 1c aa d0 6a ce 05 57 87 45"
storeLocation="LocalMachine"
x509FindType="FindByThumbprint"
storeName="TrustedPeople"/>
</serviceCertificate>
</clientCredentials>
</behavior>
I have been given a BMS_certificate.cer file which i have to pass to the server.
When i run this , i get error saying "The private key is not present in the X.509 certificate."
Problem is that i cannot use the pvk or pfk files, because i am not dealing with encryption or https protocol.
Can i pass just the certificate in the soap header in this senario.
Please help me in this. Thanks in advance.