Applying certificates on web service

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
Ralph,
Have you already covered the X509 configuration instructions as they are
explained in the WSE 2.0 docs?
-greg

Ralph Jones said:
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?
 
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 said:
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?
 
Back
Top