Free Let’s Encrypt SSL Certificates on Centmin Mod LEMP Stacks

George Liu
CentminMod
Published in
3 min readSep 6, 2016

Centmin Mod LEMP stack auto installer installs an auto optimised Nginx 1.11.x, MariaDB 10 and PHP-FPM web stack on CentOS. The latest 123.09beta01 adds a new addon called acmetool.sh which integrates Letsencrypt SSL certificate issuance, renewal and re-issues via a 3rd party bash shell client, acme.sh.

The acmetool.sh addon outline is at https://centminmod.com/acmetool and has two modes of operation

  • command line
  • menu mode

The command line mode to issue Letsencrypt SSL certificate + auto generate an Nginx HTTP/2 based HTTPS vhost site is as simple as running these commands:

For staging test Letsencrypt SSL certificate + Nginx HTTP/2 HTTPS vhost site generation with both HTTP + HTTPS accessible

./acmetool.sh issue acme.domain.com

For live web browser trusted Letsencrypt SSL certificate + Nginx HTTP/2 HTTPS vhost site generation with both HTTP + HTTPS accessible

./acmetool.sh issue acme.domain.com live

If you prefer, you can do the same via acmetool.sh addon’s shell based menu mode. For example, to issue a Letsencrypt SSL certicate + Nginx HTTP/2 vhost site generation select menu option 4 to get to the Issue SSL Management submenu.

--------------------------------------------------------
SSL Management
--------------------------------------------------------
1). acemtool.sh install
2). acmetool.sh update
3). acmetool.sh setup
4). Issue SSL Management
5). Renew SSL Management
6). Reissue SSL Management
7). Renew All Staging /Test Certs
8). Renew ALL Live Certs
9). Renew All Live Certs HTTPS Default
10). Exit
--------------------------------------------------------
Enter option [ 1 - 10 ] 4
--------------------------------------------------------

Once entered option 4, you’ll have a submenu listing below which is self explanatory really. FYI, S3 options are not available yet. Amazon S3 options will eventually allow you to distribute your Letsencrypt SSL certificates across web server clusters.

--------------------------------------------------------
SSL Issue Management
--------------------------------------------------------
1). Issue SSL Cert Staging/Test
2). Issue SSL Cert Staging/Test HTTPS Default
3). Issue SSL Cert Live
4). Issue SSL Cert Live HTTPS Default
5). Custom Webroot Issue SSL Cert Staging/Test
6). Custom Webroot Issue SSL Cert Staging/Test HTTPS Default
7). Custom Webroot Issue SSL Cert Live
8). Custom Webroot Issue SSL Cert Live HTTPS Default
9). S3 Issue SSL Cert
10). S3 Issue SSL Cert
11). S3 Issue SSL Cert
12). S3 Issue SSL Cert
13). Exit
--------------------------------------------------------
Enter option [ 1 - 13 ]
--------------------------------------------------------

You can find out more about current public beta testing at https://centminmod.com/acmetool and from below linked content.

Contents

--

--

George Liu
CentminMod

https://centminmod.com - LEMP stack auto installer - Nginx HTTP/2 + ngx_pagespeed paired with MariaDB MySQL, PHP-FPM , CSF Firewall