I have a couple questions about SSL. First of all, why does SSL have a Change Cipher Spec Protocol that contains only the change_cipher_spec message? Why was the change_cipher_spec message just not defined in the Handshake Protocol? I'm sure there is a reason that a separate protocol was created, but I have not been able to find it.
My second question is about the client and server secrets and keys in the connection state. Why are there two write MAC secrets (one for the client and one for the server) and two write keys (one for the client and one for the server) in the connection state? I can understand why one MAC secret and one write key would be needed, but I can't understand why there are two of each. Aren't these secrets and keys symmetric, meaning only one key/secret is needed?
Any help you could give me on this would be greatly appreciated.
The best place to find the answers to your questions would be the SSL/TLS working group mailing lists in the IETF. Many questions -- like "why did you do it this way" are best answered by the people who actually did it. Here is information about the working group mailing lists:
General Discussion: email@example.com
To Subscribe: firstname.lastname@example.org
This was first published in September 2002