Step by Step How to issue Letsencrypt wildcard certificate
Install Let's Encrypt Client
Before we started we should update the repo then install git :
For (centos 6 & 7)
yum update -y
yum install git -y
For (ubuntu 14&16)
sudo apt-get update -y
sudo apt-get install git -y
For (CentOS 6 & 7 ubuntu 14&16)
sudo git clone https://github.com/certbot/certbot
cd certbot
./certbot-auto -h
Request SSL Certificate
After we installed the let's encrypt client now we well issue wildcard certificate for our domain :
./certbot-auto certonly --agree-tos --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory -d examile.com -d "*.examile.com" --email your@email.com
When run this script the terminal well ask you to add TXT DNS recored to your domain please follow the script its clear to what you should do.
Or if you don't know how to add txt record just search in google or ask your domain provider how to add them.
After finish this part you well find your certificate files at the last message like this :
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/examle.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/examle.com/privkey.pem
Your cert will expire on 2018-06-13. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew *all* of your certificates, run
"certbot-auto renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
at end if you want to setup ssl for Nginx follow this post :
https://fiftysoft.blogspot.com/2018/03/how-to-setup-lets-encrypt-wildcard-ssl.html
Comments
Post a Comment