Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
a4a53e13
Unverified
Commit
a4a53e13
authored
Jan 21, 2019
by
shonenada
Browse files
Move docs into README.md from README_zh.md
parent
c445e70c
Changes
2
Hide whitespace changes
Inline
Side-by-side
deploy/README.md
View file @
a4a53e13
...
...
@@ -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
...
...
deploy/README_zh.md
deleted
100644 → 0
View file @
c445e70c
# Deploy 使用文档
## 13. 部署到七牛域名证书服务
使用 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
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment