Answers for "letsencrypt free ssl on cpanel"

0

letsencrypt free ssl on cpanel

Follow the below steps to install: 

Step 1: Inside terminal run the following command:
	git clone https://github.com/acmesh-official/acme.sh

Step 2: Install acme.sh by running following command:
		cd acme.sh/
		./acme.sh --install

Step 3: Issue certificate for your domain using acme.sh
	./acme.sh --issue -d YOUR_DOMAIN.com -d www.YOUR_DOMAIN.com -w /PATH_WHERE_CERTIFICATE_WILL STORE
    
    ./acme.sh --install-cert -d YOUR_DOMAIN.com \
    --ca-file ca_bundle.cer \
    --cert-file      certificate.cer  \
    --key-file       private.key \
    --fullchain-file fullchain.cer \
    --reloadcmd     "service apache2 force-reload"
    
Step 4: Now If you facing unauthorized error. then for solving this you need to
run the following command which will give all access to certbot for adding a 
file automatically inside .well-known/acme-challenge/
	chmod -R 777 /var/www/html/YOUR_DOMAIN.com/public_html/.well-known 
    
Step 5: Now get the issue file from /PATH_WHERE_CERTIFICATE_WILL and inside the
Manage ssl inside cpanel add new certificate for selected domain using
certificate.cer, private.key, ca_bundle.cer files and then click install.

Step 6: Hooray! your letsencrypt certificate is successfully activated.

reference: https://www.youtube.com/watch?v=kWhDwYGwR50
Posted by: Guest on May-17-2021

Code answers related to "letsencrypt free ssl on cpanel"

Browse Popular Code Answers by Language