473,405 Members | 2,187 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,405 software developers and data experts.

Building secure webservices using 2 way SSL

Hi,

I'm doing some research on webservices using 2 way SSL.
It is Application-to-Application security.
Basically SERVER_SAP is hosting the webservice and SERVER_CLIENT is
consuming the webservice using a console.

So 2 way SSL means that SERVER_CLIENT need to present his certificate to
SERVER_SAP too.

In terms of coding,
For SERVER_CLIENT to send the certificate, I make use of the
X509Certificate class.
webservice.ClientCertificate.Add(myCert);

For SERVER_SAP to authenticate the received certificate, how should the
coding be?
In the IIS for SERVER_SAP, I have set the webservice application to "Require
SSL" and "Require Client Certificate".

Thanks
Shel
Nov 23 '05 #1
1 2897
you don't need to do anything. it there's any problem with the certificate
the client will receive an exception. otherwise everything should work
fine.

On Sun, 28 Aug 2005 07:19:21 +0100, Shelby <sh****@singnet.com.sg> wrote:
Hi,

I'm doing some research on webservices using 2 way SSL.
It is Application-to-Application security.
Basically SERVER_SAP is hosting the webservice and SERVER_CLIENT is
consuming the webservice using a console.

So 2 way SSL means that SERVER_CLIENT need to present his certificate to
SERVER_SAP too.

In terms of coding,
For SERVER_CLIENT to send the certificate, I make use of the
X509Certificate class.
webservice.ClientCertificate.Add(myCert);

For SERVER_SAP to authenticate the received certificate, how should
the
coding be?
In the IIS for SERVER_SAP, I have set the webservice application to
"Require
SSL" and "Require Client Certificate".

Thanks
Shel


--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Jan 29 '06 #2

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

Similar topics

9
by: Sam Watson | last post by:
Hi, I could use a little help with a project i'm going to build. I know I want to use python and wxWindows but thats about all I know. The client will be linux or windows. The server will be...
5
by: cyberstrike | last post by:
Hi guys, my company was wondering if it's possible to develop ASP.NET/Webservices easily using a IIS installed on a server instead of installing IIS locally on the development boxes. Can you...
1
by: Mark Richards | last post by:
Hi, I am interfacing with another company using web services (they are a java shop). We've been doing this for over 2 years, but a couple months age we started getting this error randomly. It...
1
by: Mike | last post by:
Hi all, I have written a webservice which I am using in my smartphone applicaiton. I have tried the webservice with a WinForms client and it works time and time again perfectly. When I include...
8
by: Jacob Arthur | last post by:
How would I go about using a custom select string that is passed from a form to the SelectCommand parameter of SqlDataSource? I tried: SelectCommand = "<% Request.Form("hdnSelect") %>" but I...
1
by: Diffident | last post by:
Hello All, I have a question as to why my users are noticing error when I am building the project on the production system. Here is the problem's background. In order to build the project on...
1
by: UJ | last post by:
I have a web site that is secure by forms authentication. I've put in changes to allow a virtual directory to be accessed by everyone but it doesn't seem to have taken. I always end up being pushed...
6
by: =?Utf-8?B?Q3JhaWc=?= | last post by:
If I have an application that I send out to users, and the application interacts with the database (behind the scenes, no direct sql creation by the users)....do webservices make the app more...
2
by: Flo 'Irian' Schaetz | last post by:
Hello, just a quick question: Does anyone have an idea if NuSoap allows to secure server? Of course I could include a username/password field into each request, but that would be gravely...
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
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:
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.