Limited Time Offer!

For Less Than the Cost of a Starbucks Coffee, Access All DevOpsSchool Videos on YouTube Unlimitedly.
Master DevOps, SRE, DevSecOps Skills!

Enroll Now

How to generate Letsencrypt certificates with Verifying domain using API

How to install acme.sh?

$ curl https://get.acme.sh | sh -s email=devops@rajeshkumar.xyz
$ cd
$ ls -la
$ cd .acme.sh

How to Generate Certificates?


export GD_Key="sdfsdfsdfljlbjkljlkjsdfoiwje"
export GD_Secret="asdfsdafdsfdsfdsfdsfdsafd"
./acme.sh --issue --dns dns_gd -d xopsschool.com -d www.xopsschool.com
# The GD_Key and GD_Secret will be saved in ~/.acme.sh/account.conf and will be reused when needed.

REFERENCE

  • https://github.com/acmesh-official/acme.sh/wiki/dnsapi
Rajesh Kumar
Follow me
Latest posts by Rajesh Kumar (see all)
Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x