473,394 Members | 1,946 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

problem with .Net + SSL + third party web service

Ara
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
Nov 23 '05 #1
1 1571
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

Nov 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Chuck Chekuri | last post by:
Hi, We have a 3TB oracle db. 24x7 operation with data constantly coming in to the DB. Users from all over the world use a web based applicaton to query and work on the data. Out transaction...
2
by: Jon Davis | last post by:
I have a full-blown application that consists of several (fifteen or so) assembly DLLs, each being a separate VS.NET project that outputs to the main DLL's bin directory. They are all strongly...
1
by: Ezhil | last post by:
Hi All, we have an asp.net application which is consuming a third party java web service.In order to access the web service a login and password are required and they're passed as SOAP headers....
0
by: Ara | last post by:
Hi Koning, Thanks for your reply. But it does not solve my problem. I am using gSOAP,a third party tool that allows to expose C++ code as a web service. This gSOAP uses OpenSSL internally for...
0
by: dmdaniels | last post by:
I have a third party c++ api dll (no source) and I have wrapped it in a asp.net web service. I use dllimport("api.dll") to access the api from C#. The wrapper web service (A) works fine until...
0
by: tsmith | last post by:
Hi Can somebody help me, please! I'm trying to use a third-party .NET forms control in an unmanaged COM-aware application (MFC). I have no problem doing this with normal .net controls, as...
6
by: Ben Finney | last post by:
Howdy all, I'm improving an existing application that's partly written using Python and the standard library. Many of the improvements I want to make can be done by using third-party free...
5
by: Daz | last post by:
Hi everyone, Sorry about the long thread name, I think that my problem is that I don't know how to word it, which is why I have been unsuccessful finding the information I require. I am...
4
by: m11533 | last post by:
I am developing a large application with Visual Studio .NET 2003 using C#. We recently added a new third party product with a native .NET library. I want to place this third party product's dll in...
0
by: Brosert | last post by:
I realise that many people have asked very similar questions, however none of the solutions outlined seem to quite fit my problem. I should point out that I am new to both c# and the very idea of...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.