利用 CM Server 來強制 SSL 連線

如果要利用 CM Server 強制將非 SSL 要求當成 SSL 要求來處理,請執行下列動作:

  1. 新增或修改 httpd.conf 中的 virtualhost 設定,併入下列指令 (Windows®):
    <VirtualHost *:12080>
    ServerName yourservername
    RewriteEngine on
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://yourservername$1 [R]
    RewriteLogLevel 0
    RewriteLog "C:\Program Files\IBM\RationalSDLC\common\IHS\logs\rewrite.log"
    </VirtualHost>
    註: 請確定這些指令已適當地放在 httpd.conf 檔中,使其在載入 WebSphere® Application 模組及載入 WebSphere Plug-in 模組之前執行。
  2. 新增以下指令來併入 ssl.conf 檔:
    # 併入 ssl 資訊
    Include conf/ssl.conf
  3. 編輯 ssl.conf 檔,提供正確的 SSL 憑證路徑資訊。

意見