Thanks Alex,
I tried this and get the same result. Your assumption is right.
I want to sign and encrypt the message on the client and validate and dcrypt
on the server. Currently I have
Client:
Client Private.pfx
Server Public.cer
Server:
Server Private.pfx
I now get -- " The message does not conform to the policy it was mapped to."
Again any help appreciated.
> John,
> It looks like you are trying to have the client sign and encrypt a message
[quoted text clipped - 4 lines]
> Also, make sure that the account the web server is running under (usually
> ASPNET) has full access to the folder the certs are in.
John Jenkins - 25 Apr 2005 20:26 GMT
Sorry, I actually get the same error.
> Thanks Alex,
> I tried this and get the same result. Your assumption is right.
[quoted text clipped - 20 lines]
> > Also, make sure that the account the web server is running under (usually
> > ASPNET) has full access to the folder the certs are in.
alex bean - 26 Apr 2005 03:46 GMT
> Sorry, I actually get the same error.
You mean the error from the first post? ( "Referenced security token could
not be retrieved". )
I ran into that problem when I first started. Basically I deleted all the
certs/samples, reinstalled WSE and followed the instructions at this link:
http://pluralsight.com/blogs/aaron/archive/2004/07/13/1623.aspx
Also, you need to make sure that the permissions are set to the ASPNET user
on the folder containing the certs.
One more thing, try to get some the code samples working first, that will
tell you if the certs are set up correctly.
Good luck
John Jenkins - 27 Apr 2005 18:20 GMT
Thanks to all. I will have a go and let you know.
> Sorry, I actually get the same error.
>
[quoted text clipped - 29 lines]
> (usually
> > > ASPNET) has full access to the folder the certs are in.
John Jenkins - 01 May 2005 19:40 GMT
Guys,
I did as instructed and it worked.
Many thanks for the help.
> Thanks to all. I will have a go and let you know.
>
[quoted text clipped - 31 lines]
> > (usually
> > > > ASPNET) has full access to the folder the certs are in.
Dilip Krishnan - 26 Apr 2005 18:52 GMT
You'd also need the Client Public.cer to be installed int he server.
That should solve your problem
> Thanks Alex,
> I tried this and get the same result. Your assumption is right.
[quoted text clipped - 20 lines]
>>Also, make sure that the account the web server is running under (usually
>>ASPNET) has full access to the folder the certs are in.

Signature
HTH
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilip.krishnan AT apdiya DOT com