Permalink
Browse files

Move docs into README.md from README_zh.md

  • Loading branch information...
shonenada committed Jan 21, 2019
1 parent c445e70 commit a4a53e1355503efa8a550f954f59cc3a2b763935
Showing with 22 additions and 25 deletions.
  1. +22 −1 deploy/README.md
  2. +0 −24 deploy/README_zh.md
@@ -335,7 +335,28 @@ export FABIO="1"

## 13. Deploy your certificate to Qiniu.com

[中文文档](https://github.com/Neilpang/acme.sh/blob/master/deploy/README_zh.md#13-%E9%83%A8%E7%BD%B2%E5%88%B0%E4%B8%83%E7%89%9B%E5%9F%9F%E5%90%8D%E8%AF%81%E4%B9%A6%E6%9C%8D%E5%8A%A1)
使用 acme.sh 部署到七牛之前,需要确保部署的域名已打开 HTTPS 功能,您可以访问[融合 CDN - 域名管理](https://portal.qiniu.com/cdn/domain) 设置。
另外还需要先导出 AK/SK 环境变量,您可以访问[密钥管理](https://portal.qiniu.com/user/key) 获得。

```sh
$ export QINIU_AK="foo"
$ export QINIU_SK="bar"
```

完成准备工作之后,您就可以通过下面的命令开始部署 SSL 证书到七牛上:

```sh
$ acme.sh --deploy -d example.com --deploy-hook qiniu
```

假如您部署的证书为泛域名证书,您还需要设置 `QINIU_CDN_DOMAIN` 变量,指定实际需要部署的域名:

```sh
$ export QINIU_CDN_DOMAIN="cdn.example.com"
$ acme.sh --deploy -d example.com --deploy-hook qiniu
```

### English version

You should create AccessKey/SecretKey pair in https://portal.qiniu.com/user/key
before deploying your certificate, and please ensure you have enabled HTTPS for

This file was deleted.

Oops, something went wrong.

0 comments on commit a4a53e1

Please sign in to comment.