Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9001001
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T00:22:47+00:00 2026-06-16T00:22:47+00:00

I am working with a WCF service with mutual SSL security and I want

  • 0

I am working with a WCF service with mutual SSL security and I want to check my understanding of what certificate is used when.

Is this correct?

  1. Client hands the server the client public certificate

  2. Server hands the client the server public certificate

  3. Client sends request encrypted using the server public certificate

  4. Server decrypts request using the server private certificate

  5. Server sends response encrypted using the client public certificate

  6. Client decrypts response using the client private certificate

Or does it work in some other way?

WCF Mutual SSL Certs

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T00:22:48+00:00Added an answer on June 16, 2026 at 12:22 am

    RFC 2246, Section 7.4 details the handshake. Other versions of SSL/TLS work pretty similarly with regards to your question.

    SSL/TLS involves two types of encryption. Asymmetric-key encryption and Symmetric-key encryption. The certificates are used for asymmetric-key encryption, and are used solely in the handshake process.

    The encryption used by the certificates is very brief in time, used in the handshake. The server public/private key pair (asymmetric keys) is used to protect the session key (symmetric key). The client public/private key pair is used to prove to the server that the client is who it says it is. It knows this because the client is able to encrypt data (data known by both sides) using the client private key (that only it knows) and the server may decrypt it using the client public key.

    For the ordering, I’ve bolded the parts of your question in the summary list below. Here’s a nice summary from MSDN:

    The TLS Handshake Protocol involves the following steps:

    1. The client sends a “Client hello” message to the server, along with the client’s random value and supported cipher suites.
    2. The server responds by sending a “Server hello” message to the client, along with the server’s random value.
    3. The server sends its certificate to the client for authentication and may request a certificate from the client. The server sends the “Server hello done” message.
    4. If the server has requested a certificate from the client, the client sends it.
    5. The client creates a random Pre-Master Secret and encrypts it with the public key from the server’s certificate, sending the encrypted Pre-Master Secret to the server.
    6. The server receives the Pre-Master Secret. The server and client each generate the Master Secret and session keys based on the Pre-Master Secret.
    7. The client sends “Change cipher spec” notification to server to indicate that the client will start using the new session keys for hashing and encrypting messages. Client also sends “Client finished” message.
    8. Server receives “Change cipher spec” and switches its record layer security state to symmetric encryption using the session keys. Server sends “Server finished” message to the client.
    9. Client and server can now exchange application data over the secured channel they have established. All messages sent from client to server and from server to client are encrypted using session key.

    The WCF request/responses will all be after the client/server have switched to using the session key (symmetric key) for encryption. It won’t be using the certificate private/public keys at this point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a WCF service (working like windows service). This service will
I have a working WCF service. I want to deploy it on Windows Azure.
I have created one WCF service , which is working fine, now i want
I have a working skeleton WCF service. I want to host it in a
I know that SSL certificate is used for security purpose of application so that
I have a server certificate working with my WCF service. However when I run
This is really confusing but almost for no reason my once working WCF service
I have WCF service running from within a Windows Service. This is working fine
I have a very strange problem. I have a working WCF service. [ServiceContract] public
I'm working on a WCF service that requires Membership and Profile access. I got

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.