Graph-IT

letsencrypt_create.php

This script allows create a 'Let's Encrypt SSL'-certificates using certbot for one or multiple domains. The contact email for the certificate needs to be defined through the config.ini.

Usage:

letsencrypt_create.php <web-root-path> <domain-1> ... <domain-n>

Parameters:

Note: This scripts creates only one certificate. In case of multiple domains it creates a 'multi-domain'-certificate.

Example:

letsencrypt_create.php /var/www/html example.com imap.example.com smtp.example.com

Creates a 'multi-domain'- certificate for the domains example.com, imap.example.com and smtp.example.com.