# 4. 使用 Server 部署自動 ReIssue

* 證書部分已經先創建好並部署到機器內

#### Step 1 產生金鑰

* 先到 API Key 產生一組金鑰

<figure><img src="/files/BZQN5Of0nzIQHdDWeb0l" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/hjxuDv86r96NHUBAMGcG" alt=""><figcaption></figcaption></figure>

#### Step 2 創建一個 Server

* 點擊 Server 功能，並創建一台 Server

<figure><img src="/files/OlULoCgS5kmx7JVuNNGj" alt=""><figcaption></figcaption></figure>

```jsx
創建 Server 後 也會有一組 Server Key，也需要保存好
```

<figure><img src="/files/KEbnrDYp84l6N1kxYLHi" alt=""><figcaption></figcaption></figure>

#### Step 3 進到此 Server 內 可以部署腳本到主機上

* 點擊創建腳本

<figure><img src="/files/BnylXDoWXWBvLeP4HKpv" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/G3Qcws5ovHjUQiWx39wd" alt=""><figcaption></figcaption></figure>

* 就可以將腳本部署到該台機器上(存放證書的機器 or 源站)

<figure><img src="/files/pHmkq65Bh75rg9Bqaj1x" alt=""><figcaption></figcaption></figure>

#### Step 4 最後確認平台是否有正常監控

* 在 Server 上重新整理 就能確認到證書的效期 若有 Reissue 的話 也會有 Log 顯示出來

<figure><img src="/files/8SSELNIP71U5ONAOy5nF" alt=""><figcaption></figcaption></figure>

#### 補充說明：

* API 也可以進行二次開發，透過 API Key 串接到自己的伺服器後，使用平台提供的 API，也可以做到自動 Reissue 。有需要的話可以再提供需求。


---

# Agent Instructions: 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:

```
GET https://guide.synertechnet.com/4.-shi-yong-server-bu-shu-zi-dong-reissue.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
