https://github.com/rgglez/fc-certbot
Updates SSL certificates from Let's Encrypt. Aliyun FaaS.
https://github.com/rgglez/fc-certbot
alibaba-cloud aliyun certbot certificates cronjob faas letsencrypt python3
Last synced: 7 months ago
JSON representation
Updates SSL certificates from Let's Encrypt. Aliyun FaaS.
- Host: GitHub
- URL: https://github.com/rgglez/fc-certbot
- Owner: rgglez
- License: bsd-3-clause
- Created: 2023-09-27T02:22:11.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-27T04:44:01.000Z (about 2 years ago)
- Last Synced: 2025-01-28T01:44:30.708Z (8 months ago)
- Topics: alibaba-cloud, aliyun, certbot, certificates, cronjob, faas, letsencrypt, python3
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fc-certbot
[](https://opensource.org/licenses/BSD-3-Clause)


Function Compute to update SSL certificates from [Let's Encrypt](https://letsencrypt.org/es/).
This function uses the [Alibaba Cloud DNS](https://www.alibabacloud.com/product/dns)
service to authenticate the domain with Let's Encrypt. Your account must have access
to this service, and you must use these enviroment variables to pass the credentials:* *AUTH_ACCESSKEY_ID*
* *AUTH_ACCESSKEY_SECRET*The function is intended to be run using a Time trigger. The domain must be passed in the Trigger Message.
## Notes
* The *config.py* file is not provided, as you may already have your own configuration file/system (perhaps even using the enviroment variables of the FC). Just replace the config.config dictionary members with your own cofiguration parameters.
* A sample *Dockerfile* in provided, which you might adjust to your use case.
* A sample *requirements.txt* file is provided, which you might adjust to your use case.
* The FC checks the expiration time of the certificate, to verify if it must be processed.
* The *--test-cert* flag is passed to certbot. This is done mainly for testing, and should be removed for production.## License
Copyright (c) 2021, Rodolfo González González.
Read the LICENSE file.