HomeAbout

SSL and TLS

SSL/TLS

Cryptographic protocol designed to establish an encrypted link between a server and a client (computer network).

It is widely used to secure web traffic, email, and other forms of data transmission.

Uses a handshake mechanism.

URL will start with https:// when using SSL/TLS.

Differences

SSL = Secure Sockets Layer (SSL).

TLS = Transport Layer Security (TLS).

TLS is a successor to the Secure Sockets Layer (SSL) protocol, and it is often referred to as SSL/TLS.

TLS is more modern and uses stronger encryption algorithms than SSL.

Creating SSL/TLS Certificates

Test

Pinting using curl

# server is running at the endpoint, responding with a 404 error curl -d "param1=value1&param2=value2" -X POST http://brokenrouter.com/a20k/diff # <html> # <head><title>404 Not Found</title></head> # <body> # <center><h1>404 Not Found</h1></center> # <hr><center>nginx/1.18.0 (Ubuntu)</center> # </body> # </html> # server is not running at the endpoint curl -d "param1=value1&param2=value2" -X POST https://brokenrouter.com/a20k/diff # curl: (7) Failed to connect to brokenrouter.com port 443 after 40 ms: Could not connect to server
AboutContact