> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://helpdesk.ggcircuit.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 自定义 SSL 证书安装指南（高级）

## 这是在 ggRock 服务器上安装自定义 SSL 证书的非官方指南。

### 问题

可能出于公司政策考虑，或为了增强 ggRock 服务器管理员的安全实践，需要使用自定义 SSL 证书。

### 解决方案

**警告：**

ggRock 产品及其依赖项的未来更新可能会还原此更改，请准备在应用任何 ggRock 更新或操作系统更新后重新实施此更改。

要安装自定义 SSL 证书，请替换以下位置的证书文件：

```
/etc/nginx/ssl/private/ggrock-self-signed.key
```

和

```
/etc/nginx/ssl/certs/ggrock-self-signed.crt
```

证书和密钥文件到位后，只需从 ggRock 设置重启 nginx 服务，或使用以下终端命令：

```
systemctl restart nginx
```

或重启服务器以完成任务。

######