Instructions to install Let’s Encrypt certificate with EasyEngine

Tutorials 0 lượt xem
This is part 5 of 7 in the full EasyEngine series

This is the 5th article in EasyEngine Series

Starting with version 3.4.0, EasyEngine has built-in support for Let’s Encrypt certificates. 

Installing Let’s Encrypt certificates with EasyEngine becomes very easy. I find it as easy as installing in cPanel with the built-in Let’s Encrypt certificate.

Before starting the installation, you need to note that the domain name must be pointed to your server . And you must not use any proxy for domain names including www and non-www.

If you use CloudFlare then only use CloudFlare DNS .

To install the Let’s Encrypt certificate, add the –letsencrypt parameter to the website creation command ( ee site create ) or the website update command ( ee site update ) if you already have a website. 

Example: ​

ee site update domain.com --letsencrypt

Type y when asked: 

install letsencrypt easyengine 1

At this point, you do not need to set up anything else in WordPress. If you have an error that the padlock does not show green, you can install the SSL Insecure Content Fixer plugin.

As you know Let’s Encrypt certificate is only valid for 90 days.

You must renew it when it expires. But fortunately you don’t need to do this manually.

EasyEngine creates a cronjob that automatically renews the certificate when it is about to expire (Details you can see with the command crontab -l )

In case there is any problem with the cron job, you can also run the renew command manually like this: ​

ee site update example.com --letsencrypt=renew

That’s all you have installed the Let’s Encrypt certificate for the website. 

View articles in the series

Previous part: Summary of the location of configuration files in EasyEngine Next part: Instructions to move websites from Shared Host to Linux server to install EasyEngine

Bài viết liên quan