> For the complete documentation index, see [llms.txt](https://book.bsdcn.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://book.bsdcn.org/bios/advanced-gao-ji/tls-auth.md).

# Tls Auth Configuration（Tls 认证配置）

用以支持 IPv4 或 IPv6 HTTP 启动。

通过“Tls 认证配置”界面，可以进行 TLS 认证的相关配置。

TLS，Transport Layer Security，传输层安全性协议是一种广泛采用的安全性协议，旨在促进互联网通信的私密性和数据安全性。

![TLS 认证配置](https://3346958398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9B29VYZqRAeik7bmPgJ6%2Fuploads%2Fgit-blob-d64d622d05717b199b425d0f38d8e5ee221f8222%2Fimage-20250721173359-yxnumh1.png?alt=media)

## Server CA Configuration（服务器端 CA 设置）

服务器端 CA 证书配置菜单。

CA（Certification Authority，认证机构）：CA 是可信任的第三方机构，它负责颁发数字证书并验证证书申请者的身份。CA 是数字证书体系中的最高权威，其颁发的数字证书被广泛接受和信任。数字证书中包含了 CA 的公钥和数字签名，用于验证证书的真实性和完整性。

CA 证书是网络环境中具体身份的合法性证明。

![服务器端 CA 设置](https://3346958398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9B29VYZqRAeik7bmPgJ6%2Fuploads%2Fgit-blob-0a3953ab479f2d5159d383c8a004d9f7358ac917%2Fimage-20250721173734-3x3oedj.png?alt=media)

### Enroll Cert（导入证书）

![导入证书](https://3346958398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9B29VYZqRAeik7bmPgJ6%2Fuploads%2Fgit-blob-ca04b2b889b8579456c5e13652935d2938cf035c%2Fimage-20250721173810-005okab.png?alt=media)

#### Enroll Cert Using File（通过文件系统导入证书）

#### Cert GUID（证书 GUID）

设置证书的 GUID（Globally Unique Identifier，全局唯一标识符）

GUID 是一种由算法生成的唯一标识。

#### Commit Changes and Exit（保存并退出）

#### Discard Changes and Exit（放弃保存并退出）

### Delete Cert（删除证书）

当存在证书时，“删除证书”界面中会显示证书列表；不存在证书时，界面则不显示内容。通过该界面，可删除已加载的证书。

![删除证书](https://3346958398-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F9B29VYZqRAeik7bmPgJ6%2Fuploads%2Fgit-blob-295752b687a1c2b178893abcfb8e6bcd29335f94%2Fimage-20250721174426-nwejtow.png?alt=media)

## Client CA Configuration（客户端 CA 设置）

当前无可配置项。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://book.bsdcn.org/bios/advanced-gao-ji/tls-auth.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
