Let's Encrypt on Plesk Obsidian: Free Certificates with SSL It!
Use SSL It! in Plesk Obsidian to install free Let's Encrypt certificates for sites, mail and the panel, with wildcards and automatic renewal.
Plesk Obsidian issues, installs and renews free Let's Encrypt certificates from inside the panel. This guide shows how to secure a website and its mail with a Let's Encrypt certificate through the SSL It! extension, how to get a wildcard certificate, how to keep the certificate in step with new subdomains, and how to secure the Plesk panel itself. It applies to Plesk Obsidian on Linux and Windows.
How Let's Encrypt is integrated in Plesk Obsidian
Older tutorials have you download a Let's Encrypt module as a .zip file and upload it under Extensions. That is not needed on Plesk Obsidian. Two extensions do the work:
- SSL It! provides the SSL/TLS Certificates screen for each domain. It is installed by default.
- Let's Encrypt is the extension that talks to the certificate authority. SSL It! uses it to obtain the free certificates.
Plesk also requests a Let's Encrypt certificate for the panel and the mail server during installation, so a new server normally has a trusted certificate on its hostname from the start.
Requirements
- A Plesk Obsidian server and a login. Customers can secure their own domains; the server-wide steps need the administrator account.
- A domain added to Plesk whose DNS records point to the server, including
wwwandwebmailif you want those names covered. - Port 80 reachable from the internet for HTTP validation.
- Both extensions present and current. As administrator, open Extensions » My Extensions and check that SSL It! and Let's Encrypt are listed; if one is missing, install it from the Extensions Catalog and apply any pending updates.
Step 1: Get a free certificate for a domain
- Go to Websites & Domains, find the domain and click SSL/TLS Certificates.
- Under More options, find the free basic certificate from Let's Encrypt and click Install.
- Choose what the certificate should cover in addition to the main domain name:
- Secure the wildcard domain (including www and webmail)
- Include a "www" subdomain for the domain and each selected alias
- Secure webmail on this domain
- Assign the certificate to the mail domain
- Click Get it free.
Plesk requests the certificate, installs it on the site and returns you to the SSL/TLS Certificates screen, which now shows the certificate and what it protects. Select the www option whenever the site is reachable with and without www or has domain aliases; otherwise visitors of the uncovered name get a certificate warning. Assigning the certificate to the mail domain makes the mail server present it to clients that connect with the domain's own name, so mailbox users can configure example.com as their IMAP and SMTP server without warnings.
Step 2: Wildcard certificates
A wildcard certificate covers example.com and every first-level subdomain. Let's Encrypt validates wildcards through a DNS record instead of an HTTP request:
- If Plesk is the primary DNS server for the domain, or the zone is at a third-party DNS service synchronised with Plesk, SSL It! creates the validation record and completes the request by itself.
- If the zone is hosted elsewhere, Plesk shows a TXT record for
_acme-challengethat you add at your DNS provider before continuing.
Administrators can issue a wildcard from the command line in two stages. The first command creates the order, and the second completes it once the DNS record is in place:
plesk ext sslit --certificate -issue -domain example.com -secure-domain -wildcard
plesk ext sslit --certificate -issue example.com -continue
If your customers mostly use external DNS, you can hide the wildcard option for domains that do not use your nameservers: open Extensions » My Extensions, click Open next to SSL It!, go to Settings, select Domains with the specified nameservers, enter the nameservers and save.
Step 3: Keep the site secured and force HTTPS
The switches on the domain's SSL/TLS Certificates screen finish the job:
- Keep websites secured: when you later add subdomains, domain aliases or webmail, SSL It! reissues the Let's Encrypt certificate to include them. It also replaces an expired paid certificate with a free Let's Encrypt one, usually within an hour of expiry.
- Redirect from http to https: sends all visitors to the secure site. On a clean Plesk Obsidian installation it is already on for new domains; on servers upgraded from older versions, turn it on yourself.
- HSTS: tells browsers to refuse plain HTTP for the period set in Max-age. Enable it only when the certificate will remain valid for that whole period, and clear Include subdomains and Include webmail if those are not secured. An expired certificate with HSTS active locks visitors out.
- OCSP Stapling: available for sites served by nginx, alone or in front of Apache.
The same settings exist on the command line, for example:
plesk ext sslit --hsts -enable -domain example.com -max-age 6months
Run plesk ext sslit --help for the full list of commands.
Step 4: Secure the Plesk panel and the mail server
If the panel on port 8443 still shows a self-signed certificate, issue one for the server hostname. The hostname must be a fully qualified domain name that resolves to the server.
- As administrator, go to Tools & Settings » SSL/TLS Certificates (under Security).
- Click + Let's Encrypt.
- Check the email address; notices about this certificate are sent there.
- Click Reissue. The certificate is generated and applied to Plesk.
- For the mail server, click Change next to Certificate for securing mail, select Let's Encrypt certificate (server pool) and click OK.
Mail clients must then use the server hostname the certificate was issued for, unless a domain has its own certificate assigned to mail as in step 1.
Renewal
Nothing needs to be scheduled. SSL It! renews free Let's Encrypt certificates automatically 30 days before they expire. Paid certificates are not renewed automatically.
Verify and troubleshoot
Check what the site serves from any machine with OpenSSL:
openssl s_client -connect example.com:443 -servername example.com </dev/null 2>/dev/null | openssl x509 -noout -issuer -subject -dates
If Get it free ends with an error, the message quotes the response from Let's Encrypt. The usual causes:
- A name does not resolve to this server. Every selected name, including
www,webmailand each alias, needs a DNS record pointing here. Clear the options for names that do not. - The challenge file cannot be fetched. A firewall blocks port 80, or a redirect or access rule on the site intercepts requests to
/.well-known/acme-challenge/. - CAA records. If the zone has CAA records, one of them must allow
letsencrypt.org. - Rate limits. Let's Encrypt limits certificates per registered domain and repeated failed validations. Fix the cause before retrying rather than clicking again.
Plesk's SSL It! documentation describes every option on the screen.
Frequently asked questions
Does a new subdomain get the wildcard certificate automatically?
Not necessarily. A wildcard certificate is assigned to the domain it was issued for; a subdomain created later is a separate site in Plesk with its own certificate setting. Select the wildcard certificate in the subdomain's hosting settings, or let Keep websites secured issue a certificate for it.
Can customers be stopped from using Let's Encrypt?
The SSL It! settings that let an administrator limit which paid certificates are offered do not remove Let's Encrypt: Plesk's documentation states that customers can still secure their websites with it. What you can restrict there is the wildcard option, as described in step 2.
Is the free Let's Encrypt certificate weaker than a paid one?
The encryption is the same. Let's Encrypt certificates are domain-validated only: they prove control of the domain name and carry no verified organisation details, which OV and EV certificates add.
Why does the panel still show a warning on port 8443 after I secured my domain?
The domain certificate applies to the website. The panel uses the server certificate from step 4, and you need to open Plesk by the hostname that certificate was issued for, not by IP address or another domain.