Skip to main content

2026 年 5 月 28 日

設定個別伺服器上的接受原則

若要在個別連線伺服器執行個體上指定本機接受原則,您必須將內容新增至 locked.properties 檔案。如果伺服器上尚未存在 locked.properties 檔案,您必須建立該檔案。

您需要為每個要設定的安全性通訊協定新增一個 secureProtocols.n 項目。使用下列語法:secureProtocols.n=security protocol

您需要為每個要設定的加密套件新增一個 enabledCipherSuite.n 項目。使用下列語法:enabledCipherSuite.n=cipher suite

變數 n 是一個整數,您需依序 (1、2、3) 為每個項目類型遞增新增。

您需要新增 honorClientOrder 項目以控制加密套件的優先順序。通常,伺服器的加密套件順序不重要,且系統會使用用戶端的順序。若要改為使用伺服器的加密套件順序,請使用下列語法:

honorClientOrder=false

請確保 locked.properties 檔案中的項目語法正確,且加密套件與安全性通訊協定名稱的拼字無誤。檔案中的任何錯誤都可能會造成用戶端與伺服器之間的交涉失敗。

程序

  1. 在連線伺服器電腦的 TLS/SSL 閘道組態資料夾中建立或編輯 locked.properties 檔案。

    例如:install_directory\Omnissa\Horizon\Server\sslgateway\conf\

  2. 新增 secureProtocols.nenabledCipherSuite.n 項目,並包含相關聯的安全性通訊協定與加密套件。

  3. 儲存 locked.properties 檔案。

  4. 重新啟動 Horizon Connection Server 服務,讓變更生效。

範例:個別伺服器上的預設接受原則

下列範例顯示在 locked.properties 檔案中指定預設原則所需的項目:

# The following list should be ordered with the latest protocol first:

secureProtocols.1=TLSv1.3

# This setting must be the latest protocol given in the list above:

preferredSecureProtocol=TLSv1.3

# The order of the following list is unimportant unless honorClientOrder is false:

enabledCipherSuite.1=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
enabledCipherSuite.2=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256
enabledCipherSuite.3=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
enabledCipherSuite.4=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

# Use the client's ordering of cipher suites (ignores the ordering given above):

honorClientOrder=true

**附註:**在 FIPS 模式中,僅會啟用 GCM 加密套件。

此頁面對您有幫助嗎?

針對本主題提供意見回饋

本主題對您有幫助嗎?

請勿填寫任何個人或機密資訊。

正在產生連結…