X509 Certificates and Web Services



I am having some troubles and really need some help. I am trying to create
an x509 cert (makecert.exe) and use it for a proof of concept for my
company. I need to make a certificate (which I have done), have the web
service return the
public key for this certificate to the client which will encrypt a message
with it, then have the web service decrypt the message with the private key.
How do I load the cert I just created? How do I return the public key from
this cert to the client?
How do I encrypt the message with the public key on the client? How do I
decrypt the message on the server with the private key?

This is urgent, we are trying to get some framework for webservices in place
and I can't find any VB.NET code for this. Thanks.

John Wright



.



Relevant Pages

  • Re: Private & Public Key storage location
    ... with that you complete the 'certificate' to have both public and private key ... To view the complete cert, you access the cert mmc, ... its end & send only the public key to the CA along with the other websites ... The CA never know the private key of the website. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Private & Public Key storage location
    ... with that you complete the 'certificate' to have both public and private key ... To view the complete cert, you access the cert mmc, ... its end & send only the public key to the CA along with the other websites ... The CA never know the private key of the website. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Private & Public Key storage location
    ... When you got the server cert file, ... its end & send only the public key to the CA along with the other websites ... The CA never know the private key of the website. ...
    (microsoft.public.inetserver.iis.security)
  • Re: Private & Public Key storage location
    ... client use the public key to ... corresponds to this certiticate' when you view the cert. ... it will has the private key as well. ... installed for your website, it will be sent to all the clients who connect ...
    (microsoft.public.inetserver.iis.security)
  • Re: How to exchange certificate ?
    ... certificate store (I own ONLY a public key). ... >contained in a certificate store AND having an associated private key. ... you can test any cert for an associated private key using: ...
    (microsoft.public.platformsdk.security)