SkyLothar / certbot-aliyun-cdn

Aliyun CDN Installer plugin for Certbot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aliyun CDN Installer plugin for Certbot

https://travis-ci.org/SkyLothar/certbot-aliyun-cdn.svg?branch=master https://coveralls.io/repos/github/SkyLothar/certbot-aliyun-cdn/badge.svg?branch=master

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

About

Aliyun CDN Installer plugin for Certbot

License:Apache License 2.0


Languages

Language:Python 100.0%