473,499 Members | 1,909 Online
Bytes | Software Development & Data Engineering Community
+ 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 1735
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
995
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
4425
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
16318
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
7131
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
7220
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
6894
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
7388
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...
0
5470
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,...
0
4600
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
3099
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3091
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
665
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.