Skip to content
This repository has been archived by the owner on Aug 12, 2020. It is now read-only.

Command Line Interface

Eugene Kazakov edited this page Mar 14, 2016 · 3 revisions

The following interface is available in the extension version 1.3 or higher (it has the issue with renewal options fixed).

Issue a new certificate for domain.tld registered in Plesk with command line interface:

plesk bin extension --exec letsencrypt cli.php -d domain.com -d www.domain.com

The certificate will be renewed in a month.

Secure Plesk with the certificate:

plesk bin extension --exec letsencrypt cli.php -d domain.com -d www.domain.com --letsencrypt-plesk:plesk-secure-panel

For backward compatibility there is a bash wrapper:

bash /usr/local/psa/admin/plib/modules/letsencrypt/scripts/le-run ...

If you want to use a domain that is not registered in Plesk, check out the script: https://gist.github.com/xgin/fbfa4577ad46955f472c

Clone this wiki locally