473,383 Members | 1,861 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,383 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 1570
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.