installautosslfordomain
Domain Auto SSL Installer
This tool will install the Let's Encrypt free auto ssl certificate for a website or all websites of an eenos account.
If the domain has a commercial certificate, priority will be given to that certificate and skip the free ssl certificate.
Users can manage all types of ssl certificates from the UAPP control panel.
See the command and options below,
Command:
/usr/local/eenos/scripts/installautosslfordomain
Command Options:
usage: installautosslfordomain [options] [values]
Command(s):
-d domain_name, --domain domain_name
The domain name needs an SSL Certificate
-u user_name, --user user_name
Set up an SSL Certificate for all domains for a user
Domain option(s):
-s san_names, --sans san_names
Additional hosts or subdomains in a comma-separated list
-ns, --nosans Exclude all SANs
Option(s):
-h, --help show this help message and exit
Set up Domain Auto SSL
To install an auto ssl certificate on a website, use the following command,
/usr/local/eenos/scripts/installautosslfordomain -d <domain name>
Set up Auto SSL For all domains of a User
To install the Let's Encrypt auto ssl certificate for all websites under an eenos user, please use the following command.
/usr/local/eenos/scripts/installautosslfordomain -u <eenos user >
Install SSL certificate with custom SANS
You can install ssl certificate of a domain with your custom SANS as follows,
/usr/local/eenos/scripts/installautosslfordomain -d DOMAIN_NAME -s sub.DOMAIN_NAME,foo.DOMAIN_NAME
Where DOMAIN_NAME name is a domain website name
Install SSL certificate for a domain without any SANS
You can install an SSL certificate for any domains withou any SANS. This option is also used to install an SSL certificate for a mail domain of mail-only accounts.
If the domain is pointing to another server and the mail subdomain (mail.example.com) is on your server, use this option to install the SSL certificate.
Example :
/scripts/installautosslfordomain -d mail.example.com -ns