https://github.com/duologic/request_certificates.sh
Automation script for requesting Let's Encrypt certificates with Lego.
https://github.com/duologic/request_certificates.sh
Last synced: about 1 month ago
JSON representation
Automation script for requesting Let's Encrypt certificates with Lego.
- Host: GitHub
- URL: https://github.com/duologic/request_certificates.sh
- Owner: Duologic
- License: mit
- Created: 2017-11-11T12:34:46.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-11-11T12:48:42.000Z (over 8 years ago)
- Last Synced: 2025-03-22T10:49:47.124Z (about 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Request Let's Encrypt certificates with Lego
============================================
Automation script for requesting Let's Encrypt certificates with [Lego](https://github.com/xenolf/lego) using a simple TXT record and DNS-01 (via AWS Route53).
The script can be improved by allowing more DNS providers supported by Lego. Please share your code.
Dependencies
------------
* bash (or similar)
* wget
* tar
* dig
Usage
-----
1. Create a TXT record with one domain per line
1. Get AWS credentials that can access Route53 for those domains
1. Run the script:
./request_certificates.sh
Example
-------
./request_certificates.sh ssldomains.example.com AAAAAAAAAAAAAAAAAAAA 9OZo3Hzic5EwPGLEXAMPLE3YA7aafZi5SPcS1hI8j ohn@example.com