Easy Ways and Solution Fix Enable LetsEncrypt on Subdomain on EasyEngine Error and Issues

How To Fix Enable LetsEncrypt on Subdomain on EasyEngine. Like we already know, EasyEngine useful Server Tool to Install and Manage our website, with just little step by step we can build and put our website on VPS Server easely.

EasyEngine also built in Free SSL provided by LetsEncrypt. If we use single domain without weird sub domain, it’s can be easily generated using this simple command line

Baca Juga  Cara Mencari Folder/Direktori dan File Ukuran Besar di Linux dengan Command Prompt
ee site update domain.com --letsencrypt

And Done, you have website with Free SSL Installed, but when you have sub domain like theme.pakdhw.net and using code above you will got failed message like this

Letsencrypt is currently in beta phase.
Do you wish to enable SSl now for themes.pakdhw.net?
Type "y" to continue [n]:y
Please Wait while we fetch SSL Certificate for your site.
It may take time depending upon network.
Unable to setup, Let's Encrypt
Please make sure that your site is pointed to
same server on which you are running Let's Encrypt Client
 to allow it to verify the site automatically.

How to fix it? It’s super simply ways too, just login to your DNS setting, example if your sub domain is themes (themes.pakdhw.net) then you need add new Record www.themes and CNAME themes.pakdhw.net and safe it.

Baca Juga  Memilah dan Memilih Editor Klasik atau Guttenberg di WordPress

Then using this code again to generate Free SLL on your website

ee site update themes.pakdhw.net --letsencrypt

And Done.

Let's Encrypt successfully setup for your site
Your certificate and chain have been saved at /etc/letsencrypt/live/themes.pakdhw.net/fullchain.pem
Configuring Nginx SSL configuration
Adding /var/www/themes.pakdhw.net/conf/nginx/ssl.conf
Adding /etc/nginx/conf.d/force-ssl-themes.pakdhw.net.conf
Added HTTPS Force Redirection for Site  http://themes.pakdhw.net
Creating Cron Job for cert auto-renewal
Reload : nginx     [OK]
Congratulations! Successfully Configured SSl for Site  https://themes.pakdhw.net
Your cert will expire within 89 days.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.