Snap Creator Framework
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。

自訂預設的Keystore

貢獻者

您可以使用Windows和UNIX上可用的keytool,來自訂預設的Keystore或憑證。

keytool命令由Java提供。在某些環境中、您可能必須切換至Java安裝目錄、才能執行keytools命令。

SnapCreator不支援信任存放區。

  1. 停止SnapCreator Agent。

  2. 使用單一憑證產生新的Keystore:

    「keytool-genkeypair -alias alias _name -keystore keystore_file -keypass private_key_password-storepass keyKeystore密碼」

    keytool-genkeypair -alias servicekey -keystore serviceKeystore.jks -keypass kypswd123 -storepass kystrpswd123

  3. 將Keystore檔案複製到scAgent4.3.0/etc/目錄。

  4. 更新Snap Creator Agent組態檔(scagent4.3.0/etc/iled_commands.config)中的Keystore檔案=Keystore檔案和Keystore密碼參數。

  5. 啟動SnapCreator Agent。

相關資訊