Programming

  minte9
LearnRemember



Php / Ssl


Secure Sockets Layout

SSL is a cryptographic protocol for secure comunications.
 
# A certificate contains server name, certificate authority, public key

1. Client initiate a connection
2. Server sends back un encrypted certificate

3. Client decrypt the certificate using the public key
4. Client checks CA against his browser CA trusted list
5. Client encrypts a secret number, using public key

6. Server decrypt secret number
7. Now, both parties have the secret number (handshake)





References