Get free ssl certificate on apache server on Debian
1. Go to https://certbot.eff.org and select OS type and web server
2.Ex:- Apache on Ubuntu 16.04
Install sudo apt-get install python-letsencrypt-apache
3.Generate certificate and insert into apache
letsencrypt --apache
4.Automate renewal
Let’s Encrypt Certificate last for 90 days so after 90 days it should be renew
Add cron job letsencrypt renew
How to add free SSL cert to nginx on amazon aws AMI
First download certbot and change write permissionwget https://dl.eff.org/certbot-auto
chmod a+x certbot-auto
./certbot-auto
./mention installed path /certbot-auto certonly
./mention installed path /certbot-auto certonly --standalone -d yourwebsite.com -d yourotherwebsitedomain
Certification is valid for 30 days
Test automatic renew using
./mention installed path /certbot-auto renew --dry-run
add cron job to execute relevent time
./mention installed path/certbot-auto renew --quiet
No comments:
Post a Comment