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
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x