Re: Storage of Client Certificates

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



You can use the server's cert to get a SecurityContextToken(SCT). This does
a secure key exchange. So you end up with a private Session key on both
sides. You can then use the SCT to encrypt messages in both directions and
both sides can decrypt as they both have the same session key (inside the
SCT). There are other ways too.

--
William Stacey [MVP]

"RobertP" <RobertP@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:60B28679-3E0C-44B5-9260-2B7EA919F697@xxxxxxxxxxxxxxxx
> To send an encrypted response back to the client, I would need their
> public
> key.
>
> I guess I would not have to store their public key if they send the public
> key to me with their request?
>
> Thank You,
>
> Robert
>
> "Pablo Cibraro" wrote:
>
>> No, only if you identitfy your clients through public keys.
>> In this case, maybe, using a UsernameToken is a better idea. You can use
>> a
>> UsernameToken to identify clients and a X509 certificate to protect the
>> messages.
>> With this solution, your clients must have a public key and you only need
>> a
>> private key in the server's certificate store.
>>
>> Regards,
>> Pablo Cibraro
>> www.lagash.com
>>
>> "RobertP" <RobertP@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
>> news:1A8ABB9F-00A4-453A-A156-7D2AFAED2E6E@xxxxxxxxxxxxxxxx
>> > If I have 5,000 users of my web service, I need to have 5,000 public
>> > keys
>> > in
>> > my server's Certificate Store?
>>
>>
>>


.



Relevant Pages

  • Re: CryptImportKey
    ... Whan you "encrypt" your server-generated session key your parameter is ... AT_KEYEXCHANGE - but CAPI will use the PUBLIC key portion of that key pair ... The client and server communicating over TCP/IP. ...
    (microsoft.public.platformsdk.security)
  • Re: CryptImportKey
    ... Whan you "encrypt" your server-generated session key your parameter is ... AT_KEYEXCHANGE - but CAPI will use the PUBLIC key portion of that key pair ... The client and server communicating over TCP/IP. ...
    (microsoft.public.platformsdk.security)
  • RE: Cannot decrypt files encrypted using Crypto API on a different
    ... We have a desktop application which is used by many clients. ... send it over to the clients (we don't know anything about their public key). ... from step 2, hExpKey is NULL, blob type is PUBLICKEYBLOB) and send this blob ... encrypt your data with this key ...
    (microsoft.public.platformsdk.security)
  • Re: CryptImportKey
    ... Whan you "encrypt" your server-generated session key your parameter is AT_KEYEXCHANGE - but CAPI will use the PUBLIC key portion of that key pair for the key encryption. ... IF you insist the server to generate a new session key than encrypt that key with the client's SESSION key. ...
    (microsoft.public.platformsdk.security)
  • Is this Possible?
    ... clients including new applications that as of yet do not have any web ... One of our concerns using HTTPS to secure our transactions is ... gets the public key of the server's certificate to encrypt the data ... The server then uses its private key to decrypt ...
    (microsoft.public.dotnet.framework.webservices.enhancements)