Use the certbot client to install a certificate to a aliyun cdn server
Prepare an API Token
Fetch access-key id/secret pair on https://ram.console.aliyun.com/#/overview
Install certbot and plugin
pip install certbot-aliyun-cdn
Create a credentials file
certbot_alicdn:aliyun_cdn_access_key_id = "ALIYUN-ACCESS-KEY-ID"
certbot_alicdn:aliyun_cdn_access_key_secret = "ALIYUN-ACCESS-KEY-SECRET"
Install a certificate
certbot run -a SOME-AUTHENTICATOR-PLUGIN \
--reinstall --redirect \
-i certbot-aliyun-cdn:aliyun-cdn \
[--certbot-dns-dnspod:dns-dnspod-credentials PATH-TO-CREDENTIAL-FILE]
-d REPLACE-WITH-YOUR-DOMAIN
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file certbot-aliyun-cdn-0.1.0.tar.gz.
File metadata
- Download URL: certbot-aliyun-cdn-0.1.0.tar.gz
- Upload date:
- Size: 9.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
Python-urllib/3.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80acdb2355c38d31ef18e8f5c225a7bc3974d91d720bb75011a81d8f9a6463ec
|
|
| MD5 |
cc9bb87bc7d02038089a35df46b65177
|
|
| BLAKE2b-256 |
36da8c62b7987b4449b1e558f20c59e318edbd733ae50465d6703b906d69148a
|