Hi All
Can someone write the proper instructions how to install the certificates
into the certificate stores. There are lots of people having the same
problem. I could find the solution since many days.
If I run the AsymmetricEncryption code sample it return with error: Server
Unavailable Private key is not available.
If I run the AsymmetricEncryption policy sample it return with error: Server
Unavailable Referenced Security token could not be retreived.
These statements work
serviceProxy.RequestSoapContext.Security.Tokens.Ad d(token)
serviceProxy.RequestSoapContext.Security.Elements. Add(New
MessageSignature(token))
But when i add this statement it does not work
serviceProxy.RequestSoapContext.Security.Elements. Add(New
EncryptedData(token))
The only problem which i find is when clint sends initial encrypted request.
Server could not decrypt it. If client send the signed request service does
understand the signatures but if send encrypted request service does not
understand it.
I have to install the certificates for Service so that when service receives
any encrypted request it should be able to decrypt it.
if someone can help me I will be really appriciated.
Thanks