Today you get an SSL certificate for free from Let's Encrypt and set it up in three ways depending on your hosting: in web space with a click in the customer area, in Plesk under "SSL/TLS certificates", on your own server with Certbot. Then redirect HTTP permanently to HTTPS and check that images and scripts are also loaded via HTTPS.
Why HTTPS is mandatory
Browsers mark pages without HTTPS as "Not secure", Google rates them lower, and forms transmit data in plain text. Since Let's Encrypt issues certificates free of charge and automatically, there is no reason left for a site without encryption, not even the smallest.
Which certificate
| Type | Verifies | For whom |
|---|---|---|
| Domain-validated (DV), Let's Encrypt | Control over the domain | Almost all websites, shops, mail servers |
| Wildcard | Domain and all subdomains | Many subdomains, via DNS confirmation |
| Organisation-validated (OV, EV) | Additionally the company | Banks, authorities, customer requirements |
Way 1: web space
With hosted web space the certificate is usually one click in the customer area or already active. After activation, check that the redirect from HTTP to HTTPS is switched on and change the site address in WordPress to https://.
Way 2: your own server with Certbot
- DNS: the domain must point to the server via an A record, otherwise the check fails.
- apt install certbot python3-certbot-nginx (or -apache).
- certbot --nginx -d your-domain.de -d www.your-domain.de
- Certbot sets up a timer for renewal. Check with certbot renew --dry-run.
- Port 80 must stay open for the check, even if the site is only served via 443.
After setup
- Remove mixed content: all images, scripts and stylesheets must be loaded via HTTPS, otherwise the browser keeps warning.
- Set the HSTS header so that browsers only call the site encrypted.
- Check with an online SSL test: chain complete, TLS 1.2 and 1.3, no old ciphers.
- Monitor the expiry date. Let's Encrypt is valid for 90 days, renewal must run automatically.
Web hosting with HTTPS
Web space, Plesk or your own server, all routes to a certificate in the same customer area. Domains and e-mail on top.