SSL/TLS certificates prove that a server really owns its domain name and let browsers set up an encrypted connection with it. This Mintopsblog.com explainer covers how certificates and the TLS handshake work, which certificate types exist and how renewal is automated.
Key Takeaways
- A certificate binds a public key to a domain name and is signed by a certificate authority (CA) that browsers trust.
- TLS uses the certificate to authenticate the server, then agrees on session keys for fast symmetric encryption.
- Today’s connections should use TLS 1.2 or 1.3; SSL and early TLS versions are obsolete.
- Short-lived certificates with automated renewal, for example through the ACME protocol, prevent outages.
SSL and TLS: Same Job, Different Generations
People still say “SSL certificate”, but the Secure Sockets Layer protocol was retired years ago. Its successor, Transport Layer Security (TLS), protects HTTPS, email transport, VPNs, database connections and much more. The certificates themselves are the same X.509 certificates either way, so “SSL/TLS certificate” simply means a certificate used for TLS.
For US federal systems, NIST SP 800-52 Rev. 2 requires support for TLS 1.2 and TLS 1.3, and it is a solid reference for any organization choosing settings.
What Is Inside a Certificate
A certificate follows the X.509 format described in RFC 5280. The fields you will check most often are listed below.
| Field | Meaning |
|---|---|
| Subject / Subject Alternative Name (SAN) | The domain names the certificate is valid for; browsers check the SAN list |
| Issuer | The certificate authority that signed it |
| Validity (Not Before / Not After) | The period when the certificate may be used |
| Public key | The key clients use to verify the server during the handshake |
| Signature | The issuer’s digital signature over all the fields |
| Key usage and extended key usage | What the key may be used for, such as server authentication |
You can read these fields on any server with openssl s_client -connect example.com:443 -servername example.com and then openssl x509 -noout -text on the certificate it returns.
The Chain of Trust
Browsers and operating systems ship with a store of trusted root CA certificates. Roots rarely sign server certificates directly; instead they sign intermediate certificates, which sign the server certificate. During the handshake the server sends its own certificate plus the intermediates, and the client builds a chain up to a root it trusts. A very common mistake is installing the server certificate without the intermediate, which works in some browsers and fails in others and in command-line tools.
What Happens in a TLS Handshake
TLS 1.3, defined in RFC 8446, shortened the handshake to one round trip. In simplified form:
- The client sends a hello with supported versions, cipher suites and a key share, plus the server name (SNI).
- The server replies with its chosen settings and key share, then sends its certificate and a signature proving it holds the private key.
- Both sides derive the same session keys from the key exchange; the client checks the certificate chain, name and validity.
- Application data now flows encrypted with fast symmetric ciphers such as AES-GCM or ChaCha20-Poly1305.
The private key never leaves the server. That is why protecting the key file with strict permissions, as covered in the Linux file permissions guide, matters as much as the certificate itself.
Certificate Types
- Domain Validated (DV): the CA confirms control of the domain only. This is what most websites use.
- Organization Validated (OV) and Extended Validation (EV): the CA also checks the organization. Browsers no longer show special EV indicators, so the visible benefit is small.
- Wildcard: covers one level of subdomains, such as *.example.com.
- Multi-domain (SAN): lists several names in one certificate.
- Private CA certificates: issued by your own internal CA for internal services, trusted only by machines you configure.
Automated Renewal With ACME
Let’s Encrypt, a nonprofit CA, popularized free DV certificates issued through the ACME protocol. Its how-it-works page explains the process: a client on your server proves domain control, usually by an HTTP-01 or DNS-01 challenge, receives a certificate and renews it automatically before expiry. Certificate lifetimes across the industry are getting shorter, which makes automation essential rather than optional.
- Monitor expiry dates on every public endpoint, not only the main website.
- Reload the web server after renewal so it serves the new certificate.
- Use DNS-01 challenges for wildcard certificates or servers that are not reachable from the internet.
- Keep private keys out of version control and backups that many people can read.
Certificates also protect directory logins, as explained in the LDAP explainer, and remote administration, covered in the SSH hardening checklist. Browse the Security and SSL category or the Guides section for more, and see the full Mintopsblog.com library on the Mintopsblog.com homepage.
Common Certificate Errors and Fixes
| Error | Likely cause | Fix |
|---|---|---|
| Certificate has expired | Renewal failed or the server was not reloaded | Renew, reload the service and add expiry monitoring |
| Name mismatch | The hostname is not in the SAN list | Issue a certificate that includes every name clients use |
| Unable to get local issuer certificate | Missing intermediate or untrusted private CA | Serve the full chain or install the CA on the client |
| Handshake failure / protocol version | Client and server share no TLS version or cipher | Enable TLS 1.2 and 1.3 and remove obsolete settings |
Testing tools make these problems easy to spot. Besides openssl, the free SSL Labs server test reports chain, protocol and cipher issues for public sites.
Frequently Asked Questions
Is SSL the Same as TLS?
Not exactly. SSL was the original protocol and every SSL version is now considered insecure and disabled. TLS replaced it, and current servers should offer TLS 1.2 and TLS 1.3. The term SSL certificate survives from habit; the same certificates are used for TLS connections.
Why Does My Certificate Work in a Browser but Fail in curl?
Usually the server is not sending the intermediate certificate. Some browsers can fetch or cache missing intermediates, but curl, scripts and many apps cannot, so the chain breaks. Install the full chain file from your CA on the server, reload it, and test again with openssl s_client.
How Long Is a TLS Certificate Valid?
Publicly trusted certificates currently have maximum lifetimes measured in months, not years, and industry rules are shortening them further over the next few years. Free ACME certificates from Let’s Encrypt have been valid for 90 days. Automated renewal is the reliable way to keep up with these limits.
Do Internal Servers Need Certificates?
Yes. Traffic on internal networks can be intercepted too, and many tools now expect TLS by default. Internal services can use certificates from a private CA that your organization runs and distributes to its machines, or public certificates if the hostnames are in a public domain you control.





