> For the complete documentation index, see [llms.txt](https://docs.postgresql.tw/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.postgresql.tw/19/server-administration/runtime-config/runtime-config-connection/runtime-config-connection-ssl-ciphers.md). Agents can also search and read this documentation through its [MCP server](https://docs.postgresql.tw/~gitbook/mcp).

# SSL 密碼套件預設值

[返回連線與驗證設定](https://docs.postgresql.tw/19/server-administration/runtime-config/runtime-config-connection.md)

## `HIGH` [#](#guc-ssl-ciphers-high) <a href="#guc-ssl-ciphers-high" id="guc-ssl-ciphers-high"></a>

使用 `HIGH` 群組密碼（例如 AES、Camellia、3DES）的密碼套件

## `MEDIUM` [#](#guc-ssl-ciphers-medium) <a href="#guc-ssl-ciphers-medium" id="guc-ssl-ciphers-medium"></a>

使用 `MEDIUM` 群組密碼（例如 RC4、SEED） 的密碼套件

## `+3DES` [#](#guc-ssl-ciphers-plus-3des) <a href="#guc-ssl-ciphers-plus-3des" id="guc-ssl-ciphers-plus-3des"></a>

OpenSSL 對 `HIGH` 的預設排序 有問題，因為它將 3DES 排在 AES128 之前。這是錯誤的，因為 3DES 提供的 安全性低於 AES128，而且速度也慢得多。 `+3DES` 會將其重新排序到所有其他 `HIGH` 與 `MEDIUM` 密碼之後。

## `!aNULL` [#](#guc-ssl-ciphers-not-anull) <a href="#guc-ssl-ciphers-not-anull" id="guc-ssl-ciphers-not-anull"></a>

停用不進行驗證的匿名密碼套件。這類 密碼套件容易受到中間人（MITM）攻擊， 因此不應使用。

[返回連線與驗證設定](https://docs.postgresql.tw/19/server-administration/runtime-config/runtime-config-connection.md)

***

本頁內容由父頁分出，沿用其原文版本與核對日期。

原文：[PostgreSQL 18.6 Documentation](https://www.postgresql.org/docs/18/runtime-config-connection.html)（原文版本：18.6；核對日期：2026-09-24）


---

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.postgresql.tw/19/server-administration/runtime-config/runtime-config-connection/runtime-config-connection-ssl-ciphers.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
