What is SSL and How does it work?
SSL (Secure Sockets Layer) is the most widely used and most standard security technology for establishing an encrypted link between a web server and a browser.If a link is encrypted, it uses HTTPS protocol.
Whats the difference of HTTP and HTTPS protocol?
In simple HTTP link is not encrypted and used for standard communication and HTTPS link is implemented using Secure Sockets Layer (SSL) which is encrypted and used for secure communication.
How HTTP and HTTPS work?
Assume that there exists two communication parties A (client) and B (server). Now A sends a message or password to B and a intruder (hacker) gets an unauthorized access in between.
Now lets study both the cases HTTP and HTTPS.
case-1:
In simple HTTP link is not encrypted and used for standard communication and HTTPS link is implemented using Secure Sockets Layer (SSL) which is encrypted and used for secure communication.
How HTTP and HTTPS work?
Assume that there exists two communication parties A (client) and B (server). Now A sends a message or password to B and a intruder (hacker) gets an unauthorized access in between.
Now lets study both the cases HTTP and HTTPS.
case-1:
From case-1 you got to know that if an intruder (hacker) gets an unauthorized access of an on going communication between A and B, A will lose his/her confidential message or password like “helloworld”.
case-2:
From case-2 you got to know that if an intruder (hacker) gets an unauthorized access of an on going communication between A and B, A will not lose his/her confidential message or password like “helloworld” because the message or password is encrypted.So the hacker gets the encrypted password like “Xu587Tyus)”.
How SSL works?
Each SSL Certificate consists of a Public key and a Private key. The public key is used to encrypt the information and the private key is used to decrypt it. When your browser connects to a secure domain, the server sends a Public key to the browser to perform the encryption. The public key is made available to every one but the private key(used for decryption) is kept secret. So during a secure communication, the browser encrypts the message using the public key and sends it to the server. The message is decrypted on the server side using the Private key(Secret key).
Each SSL Certificate consists of a Public key and a Private key. The public key is used to encrypt the information and the private key is used to decrypt it. When your browser connects to a secure domain, the server sends a Public key to the browser to perform the encryption. The public key is made available to every one but the private key(used for decryption) is kept secret. So during a secure communication, the browser encrypts the message using the public key and sends it to the server. The message is decrypted on the server side using the Private key(Secret key).