功能說明:
本文說明如何在 WithSecure Policy Manager中,手動套用由原廠提供的 離線授權檔案(registration.json)。此方法適用於無法連線至網際網路的隔離環境,用於完成離線授權啟用。
- 補充說明:
1.如果 registration.json 檔案在服務重啟後自動消失,表示離線啟用成功。
2.啟用成功後,Policy Manager Server 將於目前授權到期前持續正常運作。在授權續約完成後,需再次向支援團隊申請新的註冊 token,並重新套用。建議您提前申請新的 token 並完成啟用程序,以避免 Policy Manager Server 因授權過期而停止運作。
3.不需手動變更 registration.json 檔案的權限,系統會自動繼承 data 資料夾的正確權限設定。
Windows套用離線授權檔案步驟:
1.將原廠提供的離線註冊檔案 registration.json 複製到以下路徑:
C:\ProgramData\WithSecure\NS\Policy Manager\Policy Manager Server\data
2.使用系統管理員身份,重新啟動 WithSecure Policy Manager 服務,請使用以下指令:
net stop wspms
net start wspms
等待顯示「服務已經啟動成功」即完成。
Linux套用離線授權檔案步驟:
1.將原廠提供的離線註冊檔案 registration.json 複製到以下路徑:
/var/opt/f-secure/fspms/data
可使用如 WinSCP、FileZilla 等支援 SFTP 的第三方工具,本教學使用WinSCP示範。透過 SSH 將檔案從 Windows 電腦上傳至 Linux 伺服器的指定目錄。請確保使用具備寫入權限的帳號登入。
2.使用系統管理員身份,重新啟動 WithSecure Policy Manager 服務,請使用以下指令:
/etc/init.d/fspms restart
若WithSecure Policy Manager版本為16.10,請改用 Systemd(取代 init.d),提升對現代 Linux 發行版的相容性。
請使用以下指令:
systemctl stop fspms.service
systemctl start fspms.service
等待再次跳出輸入指令則完成重啟。