Question
How to install Let's Encrypt certificate via CLI for a domain in Plesk?
Answer
It's possible to use Let's Encrypt CLI utility for installing certificates as shown below:
-
Connect to the server via SSH
-
Run the following command to list all available options:
# plesk bin extension --exec letsencrypt cli.php --help
-
Example of issuing a certificate for domain example.com including webmail:
# plesk bin extension --exec letsencrypt cli.php -d example.com -d webmail.example.com -m [email protected]
Additional information
How to secure Plesk and mail server with Let's Encrypt certificate via CLI?