Re: How to use certificates?
From: Tareq Muhammad (TareqMuhammad_at_discussions.microsoft.com)
Date: 12/09/04
- Next message: Martin Kulov: "Re: Problem with Policy Sample"
- Previous message: Martin Kulov: "Re: missing MSDN article"
- Maybe in reply to: Tareq Muhammad: "Re: How to use certificates?"
- Next in thread: Martin Kulov: "Re: How to use certificates?"
- Reply: Martin Kulov: "Re: How to use certificates?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Dec 2004 00:15:02 -0800
anther question, should server knows the client public key?
I expect that server will know the client public key, server will use it to
send a response to the client ? right ?
"Hervey Wilson [MSFT]" wrote:
> znmaster wrote:
> > Certificates are often used to encrypt or sign soap messages in WSE2. I cant
> > understand the usage of certificates in WSE2 samples. The WSE2 sdk provides
> > three certificates: Client Private.pfx, Server Private.pfx and Server
> > Public.cer. Server Public.cer doesn't have a private key. I dont know in
> > which situations they are used and their differences. What kind of
> > certificates dont have private keys?
>
> Client Private is a file that contains both a certificate and the
> private key for that certificate. It is for use by the client and is
> typically imported into the CurrentUser\Personal certificate store.
>
> Server Private is a file that contains both a certificate and the
> private key for that certificate. It is for use by the server and is
> typically imported into the LocalMachine\Personal certificate store.
>
> Server Public is a file that contains *only* the servers certificate, no
> private key. This is used by the client to encrypt messages to the server.
>
>
> > When A sends a message to B, A signs the message with his own private
> > key,and encrypts it with B's public key. When B receives the message, B
> > should verify the signature with A's public key and decrypts the message
> > with his own private key. In such situation, what kinds of certificates
> > should be used? And how can they get the key from the certificate?
>
> See above. Certificates themselves do *not* contain private key
> information, only public key information. This is why it is safe to
> share your certificate with someone else. Private keys for certificates
> are stored separately and Windows maintains a relationship between each
> certificate and it's private key (if you have the private key installed).
>
>
> --
> This posting is provided "AS IS", with no warranties, and confers no rights.
>
- Next message: Martin Kulov: "Re: Problem with Policy Sample"
- Previous message: Martin Kulov: "Re: missing MSDN article"
- Maybe in reply to: Tareq Muhammad: "Re: How to use certificates?"
- Next in thread: Martin Kulov: "Re: How to use certificates?"
- Reply: Martin Kulov: "Re: How to use certificates?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|