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,
Eenos now issues wildcard SSL certificates by default using the built-in Eenos Certbot DNS plugin, with automatic fallback to HTTP-01 validation when DNS validation isn't available. Install unlimited wildcard SSL certificates for all your domains at no additional cost.
Command:
/usr/local/eenos/scripts/installautosslfordomain
Command Options:
usage: installautosslfordomain [options]-h] [values]
Command(s):
(-d domain_name,DOMAIN --domain domain_name
The domain name needs an SSL Certificate| -u user_name,USER | -del DOMAIN) [-users user_nameHOST1,HOST2 Set| up-ns] an[-sw]
Copyright(c) 2024-2026, eenos.com
Eenos Auto SSL CertificateSetup forTool all domains for a userFor Domain
option(s):This -tool will help you install Eenos AutoSSL powered by
Let's san_names,Encrypt --sansfree san_namesSSL Additionalcertificates hostsfrom orhttps://letsencrypt.org/
subdomains in a comma-separated list
-ns, --nosans Exclude all SANs
Option(s):options:
-h, --help show this help message and exit
-d, --domain DOMAIN The domain name needs an SSL Certificate
-u, --user USER Setup SSL Certificate for all domains on a user
-del, --delete DOMAIN
DELETE SSL Certificate of a domain
WebRoot Options:
-s, --sans HOST1,HOST2
Additional hosts or subdomains in a comma separated list
-ns, --nosans Exclude all SANs
Certificate Validation:
-sw, --skip-wildcard Skip Wildcard DNS validation and use Webroot directly
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 Forfor 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 domainsdomain withouwithout 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-nosans
Installing an SSL Certificate for Domains Using External DNS
By default, Eenos provisions wildcard SSL certificates using its built-in Certbot DNS plugin. This method requires DNS validation by creating temporary ACME TXT records.
If your domain's DNS is hosted on an external DNS provider (such as Cloudflare, Route 53, DNS Made Easy, or your domain registrar), Eenos cannot automatically create the required ACME TXT records. In this case, it automatically falls back to HTTP-01 (webroot) validation.
For HTTP validation to succeed, the required hostnames must resolve to your server.
Default HTTP Validation
For a domain such as example.com hosted on 192.168.1.10, ensure the following DNS records point to your server:
Once these records are configured, install the SSL certificate using:
/scripts/installautosslfordomain -d example.com
Installing Without Subject Alternative Names (SANs)
If the www and mail subdomains do not point to your server, install the certificate for the root domain only by using the --nosans option:
/scripts/installautosslfordomain -d example.com --nosans
This installs an SSL certificate for:
example.com
Installing with Specific SANs
If only certain subdomains resolve to your server, specify them explicitly using the --sans option.
For example, if only www.example.com points to your server:
/scripts/installautosslfordomain -d example.com --sans www.example.com
This installs an SSL certificate for:
example.com
www.example.com
You can specify multiple Subject Alternative Names by separating them with commas:
/scripts/installautosslfordomain -d example.com --sans www.example.com,blog.example.com,shop.example.com
This flexible approach allows Eenos to automatically use DNS validation whenever possible and seamlessly fall back to HTTP validation for domains managed by external DNS providers, ensuring SSL certificates can be issued in a wide range of hosting environments.
www, and mail point to the server
/scripts/installautosslfordomain -d example.com
Only the root domain points to the server
/scripts/installautosslfordomain -d example.com --nosans
Only selected subdomains point to the server
/scripts/installautosslfordomain -d example.com --sans www.example.com