SSL is a security protocol that encrypts data between a server and a client. Today TLS has replaced SSL, but the term SSL certificate is still used for TLS certificates. In this guide we explain what SSL/TLS does, how the handshake works, and how to enable it on a virtual server.
What is SSL?
SSL, or Secure Sockets Layer, was originally developed by Netscape in the mid-1990s. SSL 2.0 and 3.0 are now deprecated due to known vulnerabilities; modern connections use TLS, which is the successor protocol. Despite this, the industry still calls the certificates SSL certificates, and we follow that convention here.
The core goals of SSL/TLS are:
- Confidentiality: traffic between the browser and server is encrypted, so third parties cannot read it.
- Integrity: the data cannot be modified in transit without detection.
- Authentication: the certificate proves that the server belongs to the expected organization or domain.
These properties form the basis of HTTPS, which is HTTP carried over SSL/TLS.
Why HTTPS matters
No modern website should serve traffic over plain HTTP. Browsers mark HTTP sites as not secure, and search engines give preference to HTTPS. If you run an online store, membership system, or contact form, encryption prevents customer data from being intercepted. As a hosting provider, we treat HTTPS as a default requirement when deploying any virtual server.
How an SSL certificate works
SSL/TLS uses both asymmetric and symmetric encryption. The initial handshake works like this:
- The client connects and reports supported cipher suites.
- The server sends its certificate and public key.
- The client verifies the certificate against a trusted certificate authority, checks the validity period, and confirms the domain match.
- If validation succeeds, the client generates a one-time symmetric session key, encrypts it with the server’s public key, and sends it back.
- The server decrypts the session key with its private key. All further traffic uses that symmetric key for speed.
Types of SSL certificates
| Type | Validation level | Typical use |
|---|---|---|
| Domain Validation (DV) | Only domain ownership is verified | Personal sites, blogs, small businesses |
| Organization Validation (OV) | Company details are also verified | Corporate websites, e-commerce |
| Extended Validation (EV) | Comprehensive organization checks | Banks, large financial institutions |
Most websites only need a DV certificate from a free authority like Let’s Encrypt. What matters is correct installation and automatic renewal.
Installing SSL on a virtual server
If you host your website on a virtual server, certificate management is your responsibility. The Certbot tool makes this straightforward. Below are the commands for Nginx on current Linux distributions.
RHEL family (AlmaLinux / Rocky Linux 9):
sudo dnf install -y epel-release
sudo dnf install -y certbot python3-certbot-nginx
Debian/Ubuntu family:
sudo apt update
sudo apt install -y certbot python3-certbot-nginx
To obtain a certificate and update the Nginx configuration automatically:
sudo certbot --nginx -d example.com -d www.example.com
Certbot stores the files under /etc/letsencrypt/live/example.com/ and adds a renewal job to the system scheduler. Test renewal with:
sudo certbot renew --dry-run
For a more detailed walkthrough, see our guide on Certbot SSL setup and automatic renewal.
Common SSL setup issues
During setup, we most often see missing CA certificates and outdated client libraries. On older systems like CentOS 7, cURL 77 errors occur because the root certificate store is out of date. Using a current operating system eliminates most of these problems. Another common issue is forgetting to renew certificates; Certbot’s automatic renewal prevents that, but you should still test it with the dry-run command.
Conclusion
SSL/TLS is a required layer for the modern web. HTTPS builds user trust and helps with search rankings. When you manage your own server, Let’s Encrypt and Certbot make free certificate installation and renewal practical.