SSL/TLS Certificates Explained

SSL/TLS certificates are the foundation of secure internet communication. When you see the padlock icon in your browser's address bar, it means the website is using SSL/TLS to encrypt your connection. This technology protects sensitive data like passwords, credit cards, and personal information from being intercepted.

What is SSL/TLS?

SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are cryptographic protocols that secure communications over networks. TLS is the modern successor to SSL, but the term "SSL" is still commonly used to refer to both.

info SSL vs TLS

SSL is technically deprecated. What we call "SSL certificates" today actually use TLS. SSL 3.0 was the last SSL version (1996), followed by TLS 1.0 (1999), 1.1 (2006), 1.2 (2008), and TLS 1.3 (2018). Modern websites should use TLS 1.2 or 1.3.

What SSL/TLS Provides

HTTP vs HTTPS

Aspect HTTP HTTPS
Port 80 443
Encryption None TLS encrypted
URL prefix http:// https://
Browser indicator "Not Secure" warning Padlock icon

How the Handshake Works

When you connect to an HTTPS website, a "TLS handshake" occurs in milliseconds:

  1. Client Hello: Your browser sends supported TLS versions and cipher suites
  2. Server Hello: The server responds with chosen protocol and cipher
  3. Certificate: Server sends its SSL certificate
  4. Verification: Browser verifies the certificate is valid and trusted
  5. Key Exchange: Client and server establish session encryption keys
  6. Secure Connection: All subsequent data is encrypted
Client                              Server
  |                                   |
  |------- Client Hello ------------>|
  |                                   |
  |<------ Server Hello -------------|
  |<------ Certificate --------------|
  |                                   |
  |------- Key Exchange ------------>|
  |                                   |
  |<====== Encrypted Data ==========>|

What's in a Certificate?

An SSL certificate contains:

Certificate Types

By Validation Level

Type Validation Best For
Domain Validation (DV) Proves domain ownership only Blogs, personal sites
Organization Validation (OV) Verifies organization identity Business websites
Extended Validation (EV) Rigorous identity verification Banks, e-commerce
lightbulb DV Certificates Are Usually Sufficient

For encryption purposes, a free DV certificate (like those from Let's Encrypt) provides the same level of security as expensive EV certificates. EV certificates mainly provide additional identity verification, which is less important than it once was.

By Coverage

Type Covers Example
Single Domain One specific domain example.com
Wildcard Domain and all subdomains *.example.com
Multi-Domain (SAN) Multiple specific domains example.com, example.org

Verifying Certificates

In Your Browser

Click the padlock icon in your browser's address bar to view certificate details:

Using Command Line

# View certificate details
openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | \
  openssl x509 -noout -text

# Check certificate expiration
echo | openssl s_client -connect example.com:443 -servername example.com 2>/dev/null | \
  openssl x509 -noout -dates

# View certificate chain
openssl s_client -connect example.com:443 -servername example.com -showcerts

What to Look For

Common SSL Issues

Certificate Errors

Error Cause Solution
NET::ERR_CERT_DATE_INVALID Certificate expired Site owner must renew certificate
NET::ERR_CERT_COMMON_NAME_INVALID Domain mismatch Certificate doesn't cover this domain
NET::ERR_CERT_AUTHORITY_INVALID Untrusted issuer Self-signed or unknown CA
ERR_SSL_PROTOCOL_ERROR Protocol mismatch Server may use outdated TLS version
warning Don't Ignore Certificate Warnings

Certificate errors can indicate a man-in-the-middle attack. Never enter sensitive information on a site with certificate errors. If you see warnings on a site you trust, contact them directly (not through links on the page) to report the issue.

Mixed Content

Mixed content occurs when an HTTPS page loads resources over HTTP:







Getting a Certificate

Options for obtaining SSL certificates:

Check a Site's SSL Configuration

Verify SSL certificates and security configuration for any domain.

search Analyze Domain