> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/welcome/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/welcome/cn/global-accelerator/get-started/manage-ssl-certificates/upload-a-certificate.md).

# 上传证书

购买第三方证书服务提供商的证书后，您可以将其上传到 zenConsole。

## 前提条件

在上传证书之前，请准备 PEM 或 CRT 格式的证书文件以及 KEY 或 PEM 格式的私钥文件。

<div align="left"><figure><img src="/files/j0yCD5NG5AyMkTX9cTT9" alt="" width="437"><figcaption><p>上传证书</p></figcaption></figure></div>

## 操作步骤

1. 访问 [**zenConsole**](https://console.zenlayer.com/) 并使用您的账号登录。
2. 在 zenConsole 的左上角，依次选择 **产品** > **全球加速** > **SSL 证书** > **上传 SSL 证书**。
3. 上传证书文件或将证书文件内容粘贴到文本框中。
4. 上传私钥文件或将私钥内容粘贴到文本框中。
5. 标记您的证书并分配资源组。

## 结果

上传证书后，您可以在证书列表中查看该证书。如果您不再需要使用此证书，可以前往 **操作** > **删除** 来删除证书。

{% hint style="info" %} <mark style="color:blue;">**注意**</mark>

<mark style="color:blue;">关联有资源的证书无法删除。</mark>
{% endhint %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/cn/global-accelerator/get-started/manage-ssl-certificates/upload-a-certificate.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
