Code Monkey home page Code Monkey logo

qiniu-auto-cert's Introduction

七牛 CDN 证书自动化工具

安装

release 下载稳定版本

或者编译安装

go get -u github.com/tuotoo/qiniu-auto-cert

原理

借助于 Let's Encrypt 以及七牛融合 CDN API实现七牛 CDN 自定义域名证书的自动更新

所支持的 DNS 服务商: lego/dns

使用

环境变量

  • QINIU_ACCESSKEY: 七牛 AccessKey
  • QINIU_SECRETKEY: 七牛 SecretKey
  • DNS_PROVIDER: DNS 所使用的服务商
  • 所使用服务商对应的其他环境变量, 如 cloudflare: CLOUDFLARE_EMAILCLOUDFLARE_API_KEY

命令行参数

qiniu-auto-cert <domain> <email>

Systemd

下载并修改 systemd service 文件中的 Email 和环境变量, 将 service 文件放到 /etc/systemd/system/ 目录下

启动:

systemctl start qiniu-auto-cert@<domain>.service

停止:

systemctl stop qiniu-auto-cert@<domain>.service

开机运行:

systemctl enable qiniu-auto-cert@<domain>.service

感谢

qiniu-auto-cert's People

Contributors

jqs7 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

qiniu-auto-cert's Issues

AliCloud credentials missing

你好,我用的是 alicloud DNS,AK 和 SK 都配置了,请问一下为什么会提示 AliCloud credentials missing
环境变量:
image

set "DNS_PROVIDER=alicloud"
set "ALICLOUD_ACCESS_KEY=***"
set "ALICLOUD_SECRET_KEY=***"

Window 下运行提示:

[INFO] acme: Trying to resolve account by key
obtain and upload cert failed: AliCloud credentials missing

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.