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

George Liu
Sep 6, 2016 · 3 min read

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.

Image for post

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

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store