Last post Sep 27, 2011 02:00 AM by PiyushJo
Sep 26, 2011 06:57 PM|Benevento|LINK
i am trying to create a WCF service library so that i might provide a service to my new windows forms application giving it access to my web core objects. i have encountered about 48 different errors tring to get the simpliest servcie to work.. i really
could use some help here..
i am tring to configure the service to use the asp.net membership provider and role provider. i have been following various demo's on how this is done. but they all seem to be incomplete.. if anybody has some step by step demos they know of please respond
my question is.. i am getting this error
The X.509 certificate CN=localhost chain building failed. The certificate that was used has a trust chain that cannot be verified. Replace the certificate or change the certificateValidationMode. The revocation function was unable to check revocation for
i have added this to the app.config of the client.. but still get it.
sombody tell me for sure how to get rid of this annoying error!!???!!
help is appreciated.
Sep 27, 2011 02:00 AM|PiyushJo|LINK
I have provided a couple of links:
http://msdn.microsoft.com/en-us/library/aa354509.aspx (sample) which will hopefully help.
As for the error you are getting about the certificate chain building failing - it seems that the client side is not trusting the certificate from the server:
1) How did you create the certificate? You should make sure that the root of the certificate is in the trusted certificate store of your client machine. If the client is cross machine then you will need to manually install the cert.
2) You can also disable the cert check as you tried - you will need to make sure that this behavior is correctly tied to the endpoint on the client side.
A useful post in this regard is this -