- Enable SSH access
– Click SSH Access button
– Toggle Disable button to Enable and click Update
- Installing ACME client and Composer
– connect to your hosting via SSH
ssh [email protected] -p 65002
– clone acme client from github
git clone https://github.com/kelunik/acme-client
– cd to acme folder
cd acme-client
– Download and install the composer
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');";
php composer-setup.php;
php -r "unlink('composer-setup.php');";
php composer.phar install --no-dev - Generating SSL Certificate
php bin/acme setup --server letsencrypt --email [email protected]
php bin/acme issue --domains yourdomain.com:www.youdomain.com --path /home/x123011738/public_html:/home/x123011738/public_html --server letsencrypt
cd /home/x123011738/acme-client/data/certs/acme-v01.api.letsencrypt.org.directory/yourdomain.com
cat fullchain.pem
cat key.pem - Installing Certificat
– click SSL button
– Paste contents from certificate.txt to Certificate:(CRT) and contents from privatekey.txt to Private Key:(KEY)
- Checking expiration date and renewing SSL certificate
php acme-client/bin/acme check --name yourdomain.com --server letsencrypt
– you can set cron job to run the following command every other month
php acme-client/bin/acme issue --domains yourdomain.com:www.yourdomain.com --path /home/x123011738/public_html:/home/x123011738/public_html --server letsencrypt
full explanation
https://www.hostinger.com/tutorials/ssl/how-to-install-free-ssl-from-lets-encypt-on-shared-hosting
for wordpress:
Really Simple SSL https://wordpress.org/plugins/really-simple-ssl/
Published by