您可藉由修改 iim.conf 中的參數,接著使用 Instant Messenger 用戶端安全版本連線至多重訊號組合器,為用戶端對多重訊號組合器的通訊啟用 SSL。
表 12–2 列出在 iim.conf 中用於在 Instant Messenger 與多重訊號組合器間啟用 SSL 的參數。其中也列出這些參數的說明與預設值。
表 12–2 Instant Messaging 多重訊號組合器 SSL 參數
參數 |
預設值 |
說明 |
---|---|---|
iim_mux.usessl |
off |
如果數值設定為 on,則在交換任何應用程式資料前,多重訊號組合器需要在每個它接受的連線中進行 SSL 訊號交換。 |
iim_mux.secconfigdir |
Solaris:/etc/opt/SUNWiim/default/config Linux:/etc/opt/sun/im/default/config |
此目錄包含金鑰和憑證資料庫。它通常包含安全模組資料庫。此外,如果您已建立多個 Instant Messaging 實例,則 /default 目錄名稱會視實例而不同。如需詳細資訊,請參閱從單次 Instant Messaging 安裝中建立多個實例。 |
iim_mux.keydbprefix |
(空字串) |
此值應該包含金鑰資料庫檔名前置。金鑰資料庫檔名必須以 key3.db 結尾。 如果金鑰資料庫包含前綴,例如 This-Database-key3.db,則此參數的值為 This-Database。 |
iim_mux.certdbprefix |
(空字串) |
此值應該包含憑證資料庫檔名前置。憑證資料庫檔名必須以 cert7.db 結尾。 如果憑證資料庫包含前綴,例如 Secret-stuff-cert7.db,則此參數值為 Secret-stuff。 |
iim_mux.secmodfile |
secmod.db |
此值應該包含安全模組檔案的名稱。 |
iim_mux.certnickname |
Multiplexor-Cert |
此值應該包含您在安裝憑證時,您所輸入的憑證名稱。 此憑證名稱區分大小寫。 |
iim_mux.keystorepasswordfile |
sslpassword.conf |
此值應該包含含有金鑰資料庫密碼的相關路徑和檔案名稱。此檔案應該包含下列指令行: Internal (Software) Token:password 其中 password 是保護金鑰資料庫的密碼。 |
開啟 iim.conf。
如需找到並修改 iim.conf 的說明,請參閱iim.conf 檔案語法。
將表 12–2 中的值增加至 iim.conf 中的多重訊號組合器配置參數。
下列是含有多重訊號組合器配置參數的 iim.conf 檔案範例:
! IIM multiplexor configuration ! ============================= ! ! Multiplexor specific options ! IP address and listening port for the multiplexor. ! WARNING: If this value is changed, the port value of ’-server’ ! argument in the client’s im.html and im.jnlp files should ! also be changed to match this. iim_mux.listenport = "siroe.com:5222" ! The IM server and port the multiplexor talks to. iim_mux.serverport = "siroe.com:45222" ! Number of instances of the multiplexor. iim_mux.numinstances = "1" ! Maximum number of threads per instance iim_mux.maxthreads = "10" ! Maximum number of concurrent connections per multiplexor process iim_mux.maxsessions = "1000" iim_mux.usessl = "on" iim_mux.secconfigdir = "/etc/opt/SUNWiim/default/config" iim_mux.keydbprefix = "This-Database" iim_mux.certdbprefix = "Secret-stuff" iim_mux.secmodfile = "secmod.db" iim_mux.certnickname = "Multiplexor_Cert" iim_mux.keystorepasswordfile = "sslpassword.conf" |