52.4 更新應用程式伺服器的 SSL 設定

若要支援 SSL 通訊,需要對代管 Identity Applications 和 Identity Reporting 的應用程式伺服器進行設定。本節提供更新 Tomcat 應用程式伺服器 (即預設的應用程式伺服器) 的說明。

  1. 停止 Tomcat。

    例如,/ect/init.d/idmapps_tomcat_init stop。

  2. 導覽至 Tomcat 的 conf 目錄 (預設為 opt/netiq/idm/apps/tomcat/conf)。

  3. 確認 /conf 目錄中包含金鑰儲存區檔案。例如,idmapps.keystore。

    如果您要在執行此程序後再建立金鑰儲存區檔案,請務必使用在此程序中提供的相同檔案名稱。如需詳細資訊,請參閱節 52.5, 建立金鑰儲存區和證書簽署要求。

  4. 在文字編輯器中開啟 conf 目錄中的 server.xml 檔案。

  5. 將以下內容新增至 server.xml 檔案︰

    <Connector port="port_number" protocol="HTTP/1.1" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="path_to_file/filename.keystore" keystorePass="password"

    例如:

    <Connector port="8543" protocol="HTTP/1.1" maxThreads="150" SSLEnabled="true" scheme="https" secure="true" clientAuth="false" sslProtocol="TLS" keystoreFile="/opt/netiq/idm/apps/tomcat/conf/idmapps.keystore" keystorePass="encrypted_password"

    NetIQ 建議您在 keystorePass 中指定加密密碼,不要提供純文字密碼。如需在 SSL 通訊中使用純文字密碼和加密密碼的詳細資訊,請參閱「Securing Tomcat」(保護 Tomcat)。

  6. 啟動 Tomcat。

    例如,/ect/init.d/idmapps_tomcat_init start。