Hi Aravind,
Obviously there's a configuration difference between those two machines. The
thing that comes to mind is: how and where did you store the certificate ? As
you probably know cryptoapi (which I guess your 3rd party tool is using) will
extract its cert from a certificate store (which is located in the registry).
This store is per user. If you install a cert under your current user
account, by default, it will go to your current user store (MY) and your
service account won't see it ...
You can check by running the certificate mmc plugin for the user your web
service runs as and check if the certificate is installed OK.
Other things that can go wrong:
- the certificates' subject must match the DNS name of the machine/site it's
installed on
- the certificate type must allow server validation
HTH,
-- Henkk
"Ara" wrote:
Hello All,
I have developed a web service using gSOAP(a thrid party tool kit that
help expose C++ code as web service).
This web serivce is secured with SSL.
I also developed a .Net client for this service. But, every time I run
this I get "authentication failed. peer did not return certificate". I
don't know what wrong I am doing.
And then I tested the same code in another machine. It just works
fine.
I have 2 client certificates obtained from same CA (our internal) and
configuration wise both the machines are same(W2K Professional, SP4).
Can some one help me?
Thanks in advance,
Aravind