# Import SSL Certificate

## <mark style="color:green;">**Tổng quan**</mark> <a href="#overview" id="overview"></a>

Private key phải ở định dạng mã hóa PKCS8.

Bạn không thể nhập chứng chỉ đã tồn tại trên portal.

{% hint style="success" %}
Để gia hạn SSL:

* Xóa SSL hiện tại.
* Import một chứng chỉ mới.

Hãy sắp xếp thời gian bảo trì cho việc này.
{% endhint %}

## <mark style="color:green;">Quy trình</mark> <a href="#id-2.-guidance" id="id-2.-guidance"></a>

{% stepper %}
{% step %}
**Bước 1**: Đăng nhập vào HI GIO Portal với quyền Quản trị viên Tổ chức và điều hướng đến

**Administration > Certificate Management > Certificates Library**.
{% endstep %}

{% step %}
**Bước 2**: Nhấn **IMPORT** để  Import Certificate và Private Key cho việc mã hóa lưu lượng ứng dụng.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/pIIVHFjemf2KJpeeqQx7/image.png" alt=""><figcaption></figcaption></figure>

**Friendly Name:** nhập Tên chứng chỉ của bạn (ví dụ: IIJVN-Cert). Nhấn **NEXT**.
{% endstep %}

{% step %}
**Bước 3**: Nhấn **SELECT CERTIFICATE FILE** để tải lên tệp chứng chỉ của bạn.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/0E1I6xR0ZvpIP0b8XXgT/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 4**: Chọn tệp chứng chỉ của bạn (định dạng DER hoặc PEM) và import nó vào HI GIO Portal. Nhấn **Open**.

<div align="left"><figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/zpbNU8Q5d0DCqL3974IG/image.png" alt=""><figcaption></figcaption></figure></div>
{% endstep %}

{% step %}
**Bước 5**: Kiểm tra thông tin chứng chỉ của bạn. Nhấn **NEXT**.
{% endstep %}

{% step %}
**Bước 6**: Nhấn **SELECT PRIVATE KEY** để nhập Private Key

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/M7kxhfw0rVeG20d0jQx4/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
**Bước 7**: Chọn Private Key của bạn để import vào HI GIO Portal. Nhấn **Open**.

<div align="left"><figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/kFDHzZjhoOaT7OQrrTwy/image.png" alt=""><figcaption></figcaption></figure></div>

* Nhập Passphrase của **Private Key Passphrase** nếu Private Key của bạn được bảo vệ bằng mật khẩu. Nhấn **IMPORT**.
* Nhập Passphrase của **Private Key Passphrase** nếu Private Key của bạn được bảo vệ.

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/72H9Yde75aUXrOTRDXLf/image.png" alt=""><figcaption></figcaption></figure>

Certificate và Key mới đã được import như sau

<figure><img src="https://content.gitbook.com/content/dOZ82gj0wvhbAUlxBHpj/blobs/sSTfM0x4ILxhzpRgCcFB/image.png" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://docs.higiocloud.vn/hi-gio-user-guide-vn/network/3.-load-balancer/import-ssl-certificate.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.
