forked from usual2970/certimate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
288 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,22 +15,21 @@ Certimate 是一个开源的 SSL 证书管理工具,具有以下特点: | |
Certimate 旨在为用户提供一个安全、简便的 SSL 证书管理解决方案。 | ||
|
||
- [Certimate](#certimate) | ||
- [安装](#安装) | ||
- [二进制文件](#二进制文件) | ||
- [Docker 安装](#docker-安装) | ||
- [默认账号:](#默认账号) | ||
- [概念](#概念) | ||
- [域名](#域名) | ||
- [dns 服务商授权信息](#dns-服务商授权信息) | ||
- [部署服务商授权信息](#部署服务商授权信息) | ||
- [使用](#使用) | ||
- [一、安装](#一安装) | ||
- [1. 二进制文件](#1-二进制文件) | ||
- [2. Docker 安装](#2-docker-安装) | ||
- [二、概念](#二概念) | ||
- [1. 域名](#1-域名) | ||
- [2. dns 服务商授权信息](#2-dns-服务商授权信息) | ||
- [3. 部署服务商授权信息](#3-部署服务商授权信息) | ||
- [三、使用](#三使用) | ||
- [许可证](#许可证) | ||
|
||
|
||
|
||
## 安装 | ||
## 一、安装 | ||
|
||
### 二进制文件 | ||
### 1. 二进制文件 | ||
|
||
你可以直接从[Releases 页](https://github.com/usual2970/certimate/releases)下载预先编译好的二进制文件,解压后执行: | ||
|
||
|
@@ -39,7 +38,7 @@ Certimate 旨在为用户提供一个安全、简便的 SSL 证书管理解决 | |
``` | ||
|
||
|
||
### Docker 安装 | ||
### 2. Docker 安装 | ||
|
||
```bash | ||
|
||
|
@@ -49,29 +48,27 @@ git clone [email protected]:usual2970/certimate.git && cd certimate/docker && docke | |
|
||
然后在浏览器中访问 http://127.0.0.1:8090 即可访问 Certimate 管理页面。 | ||
|
||
### 默认账号: | ||
|
||
```bash | ||
用户名:[email protected] | ||
密码:1234567890 | ||
``` | ||
|
||
## 概念 | ||
## 二、概念 | ||
|
||
Certimate 的工作流程如下: | ||
|
||
1. 用户通过 Certimate 管理页面填写申请证书的信息,包括域名、dns 服务商的授权信息、以及要部署到的服务商的授权信息。 | ||
2. Certimate 向证书场商的 API 发起申请请求,获取 SSL 证书。 | ||
3. Certimate 存储证书信息,包括证书内容、私钥、证书有效期等,并在证书即将过期时自动续期。 | ||
4. Certimate 向服务商的 API 发起部署请求,将证书部署到服务商的服务器上。 | ||
* 用户通过 Certimate 管理页面填写申请证书的信息,包括域名、dns 服务商的授权信息、以及要部署到的服务商的授权信息。 | ||
* Certimate 向证书场商的 API 发起申请请求,获取 SSL 证书。 | ||
* Certimate 存储证书信息,包括证书内容、私钥、证书有效期等,并在证书即将过期时自动续期。 | ||
* Certimate 向服务商的 API 发起部署请求,将证书部署到服务商的服务器上。 | ||
|
||
这就涉及域名、dns 服务商的授权信息、部署服务商的授权信息等。 | ||
|
||
### 域名 | ||
### 1. 域名 | ||
|
||
就是要申请证书的域名。 | ||
|
||
### dns 服务商授权信息 | ||
### 2. dns 服务商授权信息 | ||
|
||
给域名申请证书需要证明域名是你的,所以我们手动申请证书的时候一般需要在域名服务商的控制台解析记录中添加一个 TXT 记录。 | ||
|
||
|
@@ -91,13 +88,13 @@ secretId: xxx | |
secretKey: TOKEN | ||
``` | ||
|
||
### 部署服务商授权信息 | ||
### 3. 部署服务商授权信息 | ||
|
||
Certimate 申请证书后,会自动将证书部署到你指定的目标上,比如阿里云 CDN 这时你需要填写阿里云的授权信息。Certimate 会根据你填写的授权信息及域名找到对应的 CDN 服务,并将证书部署到对应的 CDN 服务上。 | ||
|
||
部署服务商授权信息和 dns 服务商授权信息一致,区别在于 dns 服务商授权信息用于证明域名是你的,部署服务商授权信息用于提供证书部署的授权信息。 | ||
|
||
## 使用 | ||
## 三、使用 | ||
|
||
![Alt text](usage.gif) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.