473,490 Members | 2,472 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Applying certificates on web service

Hi
I just wrote my first web service and now I want to enable security for both server and client. That's why I decided to use X509- Certificates on both server and client, so that every data that is send/received between both is encrypted and signed to keep hackers away
Now, the problem is, that I haven't found a way to 'add' a certificate to my web service object (in VB.NET). The class NetworkCredentials does not seem to support this (or am I wrong?). So, can anyone tell me how I can add certificates to my web service and its client

Thanks a lo
Ralph Jones
Jul 21 '05 #1
2 1734
Ralph,
Have you already covered the X509 configuration instructions as they are
explained in the WSE 2.0 docs?
-greg

"Ralph Jones" <an*******@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
Hi,
I just wrote my first web service and now I want to enable security for both server and client. That's why I decided to use X509- Certificates on
both server and client, so that every data that is send/received between
both is encrypted and signed to keep hackers away. Now, the problem is, that I haven't found a way to 'add' a certificate to my web service object (in VB.NET). The class NetworkCredentials does not
seem to support this (or am I wrong?). So, can anyone tell me how I can add
certificates to my web service and its client?
Thanks a lot
Ralph Jones

Jul 21 '05 #2
HttpWebClientProtocol.ClientCertificates is the place to add your client
certificate. You visit web service through https: , IIS will take care of
SSL encryption/decrption automatically. So, you do not need to worry about
certificate at the server side.

"Ralph Jones" <an*******@discussions.microsoft.com> wrote in message
news:83**********************************@microsof t.com...
Hi,
I just wrote my first web service and now I want to enable security for both server and client. That's why I decided to use X509- Certificates on
both server and client, so that every data that is send/received between
both is encrypted and signed to keep hackers away. Now, the problem is, that I haven't found a way to 'add' a certificate to my web service object (in VB.NET). The class NetworkCredentials does not
seem to support this (or am I wrong?). So, can anyone tell me how I can add
certificates to my web service and its client?
Thanks a lot
Ralph Jones

Jul 21 '05 #3

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

Similar topics

2
378
by: Ralph Jones | last post by:
Hi I just wrote my first web service and now I want to enable security for both server and client. That's why I decided to use X509- Certificates on both server and client, so that every data that...
0
994
by: TimHarris | last post by:
Hi All Can someone write the proper instructions how to install the certificates into the certificate stores. There are lots of people having the same problem. I could find the solution since many...
5
4423
by: | last post by:
Hi all, HttpWebRequest, and SoapHttpClientProtocol both expose a ClientCertificates property, which can hold multiple client certificates, but on the service side, it can only receive one client...
2
2635
by: b.fokke | last post by:
I'd like to connect to a webservice using TLS/SSL. I have two separate client certificates: 1. A certificate for digital verification 2. A certificate for encryption. When I use the first one...
0
3066
by: =?Utf-8?B?amVzcw==?= | last post by:
Can the WCF userNamePasswordValidationMode="Custom" be used without certificates, SSL, etc? From the sample in: TechnologySamples\Extensibility\Security\UserNamePasswordValidator, I removed all...
2
16316
by: steveS | last post by:
Hi all, I'm having trouble connecting to a Java web service using HttpWebRequest. I get the error message "The request was aborted: Could not create SSL/TLS secure channel". The Java service...
6
1986
by: =?Utf-8?B?UGF1bCBQcmV3ZXR0?= | last post by:
Hi - I have 4 webservers in my webfarm. All Win2k3 web edition. Before yesterday, none of them were service packed. I have now applied SP2 to two of them, and I'm getting a very weird MSDTC...
5
1916
by: GaryDean | last post by:
I have to write an asp.net app that uses a web service requiring x.509 certificates. Are there any good docs on how to do this both in code and on the server. Most of the stuff I'm finding...
4
1488
by: GaryDean | last post by:
I posted an earlier message on this subject and received links to some old 1.1 docs that didn't do any good. Since then I fouund a book on WSE 3.0 that tells, in some detail, how to develop a web...
0
6974
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
7146
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
7183
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...
1
6852
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...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4878
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

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.