A simple Golang application to obtain/renew SSL certificates from Let's Encrypt and update to Aliyun OSS, supports running locally and deploy to Aliyun FC(Function Compute).
Set environment variables:
Name | Description |
---|---|
OSS_ACCESS_KEY_ID | Aliyun access key |
OSS_ACCESS_KEY_SECRET | Aliyun access secret |
OSS_REGION | Aliyun region ID: cn-hangzhou, cn-beijing, ... |
OSS_BUCKET | Bucket name |
ACME_EMAIL | Email for ACME registration |
osscert.exe
Upload osscert-fc.zip
to FC.