Generating SSL/TLS certificates via DNS Challenge
Generating certificates can be achieved in two ways
- Manual
- Automated
Manual
Please follow the steps mentioned below to generate the certificates manually
Install acme.sh
curl https://get.acme.sh | shDNS manual mode
acme.sh --issue --dns -d aa.com -d www.aa.comRerun acme.sh with renew argument:
acme.sh --renew -d aa.comAutomated
Lego can be used to automate the process of generating certificates. Currently it comes with multiple optional DNS providers.
1.Download the latest version from releases
2.Install golang -> https://golang.org/doc/install
3.Obtain a certificate using the DNS challenge and AWS Route 53
AWS_REGION=us-east-1 AWS_ACCESS_KEY_ID=my_id AWS_SECRET_ACCESS_KEY=my_key lego --email="foo@bar.com" --domains="example.com" --dns="route53" run원문 정보
원문 보기 ↗Bahmni Wiki · CC BY-SA 4.0