> For the complete documentation index, see [llms.txt](https://docs.vngcloud.vn/vng-cloud-document/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vngcloud.vn/vng-cloud-document/vn/vlb-load-balancer-new-version/application-load-balancer/certificate/upload-a-certificate.md).

# Upload a certificate

Để có thể sử dụng chứng chỉ SSL bạn phải có sẵn chứng chỉ SSL hoặc sử dụng chứng chỉ SSL miễn phí được cung cấp bởi Let’s Encrypt. Các certificate được GreenNode lưu tại một nơi bảo mật, an toàn, hệ thống lưu trữ các certificate được mã hóa và không thể truy cập bởi bất cứ ai bao gồm cả các nhân viên của GreenNode.

Trình quản lý Certificate hỗ trợ tải lên và quản lý hai loại Certificate như sau:

* **TLS/SSL Certificate**
* **CA Certificate**

### 1. Hướng dẫn tải lên TLS/SSL Certificate <a href="#uploadacertificate-1.huongdantailentls-sslcertificate" id="uploadacertificate-1.huongdantailentls-sslcertificate"></a>

* **Truy cập trình quản lý Certificate theo đường dẫn:** [**https://hcm-3.console.vngcloud.vn/vserver/load-balancer/certificate**](https://hcm-3.console.vngcloud.vn/vserver/load-balancer/certificate)
* **Nhấn nút "Tải lên Certificate / Upload Certificate"**
* **Một cửa sổ giao diện bật lên cho phép bạn điền thông tin Certificate, bao gồm**
  * **Tên gợi nhớ**: Khuyến khích sử dụng tên miền làm tên gợi nhớ
  * **Chọn loại Certificate TLS/SSL**
  * **Điền Certificate Input bao gồm**:
    * [x] **Nội dung Certificate:** Là Server Certificate domain của bạn (thường có đuôi \*.crt), có định dạng chuẩn PEM
    * [x] **Thông tin Private Key:** Là khóa riêng của certificate trên (thường có đuôi \*.key), có định dạng chuẩn PEM
  * **Điền Certificate Chain:** Là chuỗi certificate bao gồm server certificate và intermediate certificate (nếu có), có định dạng chuẩn PEM.

    *Chú ý thứ tự add chain sẽ như sau:*

    \---BEGIN CERTIFICATE---\
    \[Your certificate]\
    \---END CERTIFICATE---\
    \---BEGIN CERTIFICATE---\
    \[Intermidate#1 certificate]\(option)\
    \---END CERTIFICATE---\
    \---BEGIN CERTIFICATE---\
    \[Intermidate#2 certificate]\(option)\
    \---END CERTIFICATE---
  * **Passphrase**: Trong trường hợp khóa riêng (private key) có mật khẩu thì cần nhập mật khẩu của khóa riêng, ngược lại bỏ trống trường này.
  * **Expiration**: Ngày hết hạn của Certificate.
* **Nhấn nút "Tải lên / Upload" tại góc dưới bên phải của cửa sổ giao diện để hoàn tất tải lên.**

### 2. Hướng dẫn tải lên CA Certificate

* **Truy cập trình quản lý Certificate theo đường dẫn:** [**https://hcm-3.console.vngcloud.vn/vserver/load-balancer/certificate**](https://hcm-3.console.vngcloud.vn/vserver/load-balancer/certificate)
* **Nhấn nút "Tải lên Certificate / Upload Certificate"**
* **Một cửa sổ giao diện bật lên cho phép bạn điền thông tin Certificate, bao gồm**
  * **Tên gợi nhớ**: Khuyến khích sử dụng tên miền làm tên gợi nhớ
  * **Chọn loại Certificate CA**
  * **Điền Certificate Input bao gồm**:
    * **Nội dung Certificate:** Là Server Certificate domain của bạn (thường có đuôi \*.crt), có định dạng chuẩn PEM.
    * **Expiration**: Ngày hết hạn của Certificate.
  * **Nhấn nút "Tải lên / Upload" tại góc dưới bên phải của cửa sổ giao diên để hoàn tất tải lên.**


---

# 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.vngcloud.vn/vng-cloud-document/vn/vlb-load-balancer-new-version/application-load-balancer/certificate/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.
