What is TLS?
Transport Layer Security (TLS) is a cryptographic protocol designed to provide communications security over a computer network.
While still widely referred to as SSL (Secure Sockets Layer), SSL is actually the predecessor to TLS. All versions of SSL are now entirely deprecated due to severe cryptographic flaws (like the POODLE vulnerability).
When we talk about "SSL certificates" or "enabling SSL," we are almost always talking about configuring modern TLS.
TLS 1.3 vs 1.2 vs 1.1/1.0
The TLS protocol has evolved over several iterations to address discovered vulnerabilities and improve performance.
- TLS 1.0 and 1.1: Completely deprecated. These versions rely on outdated cryptographic hashes (like SHA-1 and MD5) and are vulnerable to downgrade attacks. They should be disabled on all production servers.
- TLS 1.2: Currently the most widely deployed version. It is considered secure when configured with strong cipher suites (disabling RC4, 3DES, etc.), but its massive configurability leaves room for administrative errors.
- TLS 1.3: The modern standard. It removes support for obsolete cryptography, mandates forward secrecy, and dramatically speeds up the connection process.
TLS handshake explained
The TLS handshake is the process where a client and server securely exchange cryptographic keys and establish an encrypted connection before any application data is sent.
In TLS 1.2, this typically took two full round-trips:
- ClientHello: The client sends supported TLS versions and cipher suites.
- ServerHello: The server chooses the highest supported version and cipher, sending its certificate.
- Key Exchange: The client verifies the certificate and they exchange mathematical parameters to derive a shared symmetric key.
- Finished: Both sides confirm the connection is secure.
In TLS 1.3, this is optimized to a single round-trip (1-RTT), and in some cases, Zero Round-Trip Time (0-RTT) for returning clients, significantly reducing latency.
Cipher suites: what they mean
A cipher suite is a standardized collection of algorithms used to secure the connection.
Let's dissect a common suite: ECDHE-RSA-AES256-GCM-SHA384
- ECDHE (Elliptic Curve Diffie-Hellman Ephemeral): The key exchange algorithm used to agree on the shared secret. The "E" (Ephemeral) guarantees forward secrecy.
- RSA: The authentication algorithm. The server proves its identity using its RSA public/private key pair.
- AES256-GCM: The bulk encryption algorithm. Once the connection is established, all data is encrypted using 256-bit Advanced Encryption Standard in Galois/Counter Mode.
- SHA384: The Message Authentication Code (MAC) algorithm used to ensure data integrity.
Forward secrecy: why ephemeral key exchange matters
Historically, RSA was used for both authentication and key exchange. This meant if an attacker recorded months of encrypted traffic, and later stole the server's private key, they could decrypt all that historical data.
Forward Secrecy prevents this. By using algorithms like ECDHE, a unique, temporary (ephemeral) session key is generated for every single connection. Even if the server's long-term private key is compromised in the future, past traffic remains perfectly secure because the temporary keys were discarded immediately after use.
Certificate types: DV, OV, EV
Certificates validate the identity of the server. They come in three primary validation levels:
- Domain Validation (DV): The CA simply verifies that the applicant controls the domain name. This is fast, cheap (or free, via Let's Encrypt), and sufficient for most websites.
- Organization Validation (OV): The CA verifies the organization's legal identity in addition to domain control.
- Extended Validation (EV): The highest level of vetting, requiring extensive legal paperwork. EV certs historically turned the browser address bar green, but most browsers have phased out this visual indicator, making EV less relevant today.
Important
RFC 8996 formally deprecated TLS 1.0 and TLS 1.1 in 2021. If you are still supporting these protocols, you are failing PCI-DSS compliance and exposing users to known cryptographic attacks. Disable them immediately.
Testing TLS configuration
Validating your TLS configuration is crucial. A simple browser check is not enough.
- Command Line: Tools like
testssl.shornmap --script ssl-enum-ciphersprovide deep, scripted analysis of your endpoints. - Web Services: Qualys SSL Labs is the industry standard for external grading, checking for vulnerabilities like Heartbleed, ROBOT, and weak DH parameters.
- Continuous Monitoring: Platforms like CyberFurl provide automated, ongoing testing to ensure configurations don't regress over time.
Configuration examples for A+ rating
Achieving an A+ rating requires supporting TLS 1.2/1.3, disabling old protocols, strictly ordering strong ciphers, and implementing HSTS.
Nginx Example
server {
listen 443 ssl http2;
server_name example.com;
ssl_certificate /path/to/fullchain.pem;
ssl_certificate_key /path/to/privkey.pem;
ssl_protocols TLSv1.2 TLSv1.3;
ssl_prefer_server_ciphers on;
ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384;
add_header Strict-Transport-Security "max-age=63072000; includeSubDomains; preload" always;
}
Apache Example
<VirtualHost *:443>
ServerName example.com
SSLEngine on
SSLCertificateFile /path/to/fullchain.pem
SSLCertificateKeyFile /path/to/privkey.pem
SSLProtocol all -SSLv3 -TLSv1 -TLSv1.1
SSLHonorCipherOrder on
SSLCipherSuite ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
</VirtualHost>
Certificate management: renewal and automation
Expired certificates cause massive, highly visible outages. Manual tracking via spreadsheets is guaranteed to fail eventually.
Automation is mandatory. Use ACME (Automated Certificate Management Environment) clients like Certbot to automatically fetch and renew Let's Encrypt certificates every 60 days. Integrate this into your CI/CD pipelines and infrastructure-as-code to ensure human error cannot cause an outage.
Common TLS misconfigurations
Even with automation, infrastructure changes can introduce subtle flaws:
- Weak Ciphers: Leaving RC4 or 3DES enabled to support ancient browsers compromises security for all users.
- SSLv3 Enabled: Sometimes accidentally re-enabled during server migrations, completely breaking PCI compliance.
- Missing OCSP Stapling: Forcing clients to look up revocation status slows down the connection and leaks browsing habits to the Certificate Authority.
- Incomplete Chains: Failing to serve intermediate certificates works fine on some browsers (that cache intermediates) but fails silently on others.
How CyberFurl Helps
Automated monitoring. Zero manual work.
CyberFurl continuously monitors your TLS configuration across all domains — detecting deprecated protocol versions (TLS 1.0/1.1, SSLv3), weak cipher suites (RC4, 3DES, export ciphers), certificate expiry approaching within 30 days, and missing HSTS headers. For organizations with PCI-DSS obligations, CyberFurl maps your TLS posture directly against Requirement 4 controls and generates evidence for your QSA that encrypted transmission requirements are met.
