ACME ( Free SSL Certificate

ACME ( is a shell script for generating LetsEncrypt SSL certificate. is written in bash, so it works on any Linux server without special requirements. For getting SSL, another popular option is to use certbot.

To install, run

cd /usr/local/src
git clone
cd ./
./ --install -m [email protected]
source ~/.bashrc

When you install, it will set a daily cronjob for auto SSL renewal. You can see it with “crontab -l” command.

Set to use LetsEncrypt SSL (Defaul is ZeroSSL) --set-default-ca --server letsencrypt

Set to ZeroSSL, run --set-default-ca --server zerossl

To issue an SSL certificate, run --issue -d -d -w /home/

Standalone mode (nginx)  --issue  -d  --standalone --pre-hook "systemctl stop nginx" --post-hook "systemctl restart nginx"

Using non-standard port  --issue  -d  --standalone --httpport 88

For more ways to issue SSL certificates, see

Install SSL Certificate

To install the SSL certificate, run --install-cert -d DOMAIN_NAME \
--fullchain-file /etc/ssl/DOMAIN_NAME.crt \
--key-file /etc/ssl/DOMAIN_NAME.key \
--reloadcmd "systemctl restart nginx"

For Apache --install-cert -d DOMAIN_NAME \
--cert-file /etc/ssl/DOMAIN_NAME.crt \
--key-file /etc/ssl/DOMAIN_NAME.key \
--fullchain-file /etc/ssl/ \
--reloadcmd "service apache2 force-reload"

If you use Apache, replace “service nginx force-reload” with “service apache2 force-reload”. For CentOS/RHEL, use httpd instead of apache2.

You can find how to enable SSL on Nginx server at Configure Nginx Server with SSL, For Apache web server, see Configure Apache Webserver with SSL

See LetsEncrypt

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *