MAGENTO - free, automated, and open SSL certificate from Let’s Encrypt

Anyone who has gone through the trouble of setting up a secure website knows what a hassle getting and maintaining a certificate can be.

Let’s Encrypt automates away the pain and lets site operators turn on and manage HTTPS with simple commands. No validation emails, no complicated configuration editing, no expired certificates breaking your website.

And of course, because Let’s Encrypt provides certificates for free, no need to arrange payment. This page describes how to carry out the most common certificate management functions using the Let’s Encrypt client.

You’re welcome to use any compatible client, but we only provide instructions for using the client that we provide. If you’d like to know more about how this works behind the scenes, check out our how it works page.

Installing Let’s Encrypt 

You can use our certbot-auto wrapper script to get a copy quickly:

wget -q https://dl.eff.org/certbot-auto -O /usr/local/bin/certbot-auto
chmod +x /usr/local/bin/certbot-auto
certbot-auto --install-only

How To Use The Client

Here are some examples: To obtain a cert using the “webroot” plugin, which can work with the webroot directory of any webserver software:

certbot-auto certonly --agree-tos --no-eff-email --email ${MAGE_ADMIN_EMAIL} --webroot -w ${MAGE_WEB_ROOT_PATH}/pub/

To obtain a cert using a built-in “standalone” webserver (you may need to temporarily stop your existing webserver, if any):

certbot-auto certonly --standalone --agree-tos --no-eff-email --email ${MAGE_ADMIN_EMAIL}