>

SSL certificate: what it is and how to enable it

The Chmura.tech team · a guide to secure connections

When you open a site and the browser shows a "Not secure" or "Your connection is not private" warning, the problem is usually the SSL certificate. The certificate turns on https, which means an encrypted connection between the visitor and your site. Below we explain what it is, where the warnings come from and how to remove them.

What an SSL certificate is

An SSL (more precisely TLS) certificate does two things. It encrypts the data sent between the browser and the server, such as passwords or order details. It also confirms that the server really belongs to your domain. The browser checks this automatically, every time.

Where the warning comes from

How to turn on https on hosting

On hosting, you usually turn on the certificate for a domain in the panel, in the SSL section. You choose the domain and start a Let's Encrypt certificate. After a moment the site works over https. It is also worth turning on a redirect from http to https, so visitors always land on the secure version.

How to turn on https on a VPS

On a VPS running Nginx, you can get a free certificate with the certbot tool:

sudo apt install -y certbot python3-certbot-nginx
sudo certbot --nginx -d yourdomain.com -d www.yourdomain.com

Certbot issues the certificate and adds the configuration itself. Let's Encrypt certificates last 90 days, but they renew automatically. Check it with:

sudo certbot renew --dry-run

How to check that everything works

Checklist

Not sure why the site still shows a warning? Write to us at [email protected] and we will check your domain.

The Chmura.tech team

← Back to guides