Generate a Let's Encrypt SSL certificate
This detailed guide explains how to get a free SSL certificate via Let's Encrypt on Plesk.
Step 1: Check DNS configuration​
Before generating the certificate, make sure your domain points correctly to your server.
At your registrar (example with Cloudflare)​
- Log in to your DNS management panel
- Verify that the A (or AAAA) record points to the correct IP
- Important: Temporarily disable the proxy (orange icon → grey)
If the Cloudflare proxy is enabled, certificate validation may fail. Temporarily disable it during installation.
Test the configuration​
Open a terminal and verify that the domain points to the correct IP:
ping yourdomain.com
DNS propagation can take from a few minutes to several hours depending on your registrar.
Step 2: Access Plesk​
- Log in to Plesk with the credentials received by email
- Click on the domain you want to secure
- Click on SSL/TLS Certificates
Step 3: Install Let's Encrypt​
- On the SSL/TLS Certificates page, click Install (at the bottom)
- Check all available boxes:
- Secure the main domain
- Include www
- Secure webmail (if available)
- Other proposed subdomains
- Enter your email address
- Click Get it free
Step 4: Domain validation​
Let's Encrypt must verify that you own the domain.
Create the TXT record​
If requested, you will need to create a TXT record at your registrar:
- Go back to your DNS panel (Cloudflare or other)
- Create a new TXT record
- In Name: copy the value indicated by Plesk
- In Content: copy the validation code provided
- Save the record
- Return to Plesk and click Continue
Wait a few minutes after creating the TXT record before clicking Continue.
Step 5: Verification​
Once the installation is complete, your site is secured. Verify by accessing:
https://yourdomain.com
A padlock should appear in the address bar.
Cloudflare configuration (if proxy enabled)​
If you want to re-enable the Cloudflare proxy after installation, configure SSL as follows:
- Go to SSL/TLS on Cloudflare
- Select Full (strict) mode
| Parameter | Value |
|---|---|
| SSL Mode | Full (strict) |
| Always Use HTTPS | Enabled |
| Minimum TLS Version | TLS 1.2 |
Do not use "Flexible" mode as it can create redirect loops.
Force HTTPS​
To automatically redirect HTTP to HTTPS, add to your .htaccess file:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
The Let's Encrypt certificate is valid for 90 days and is automatically renewed by Plesk.