HTTPS 対応サーバー環境でのコマンド ライン インターフェイス (CLI) プロパティの設定

自己署名証明書を使用している場合は、必ずその証明書をローカル マシンにインポートしてください。

  1. 自己署名証明書をインポートします。例:
    keytool -importkeystore -srckeystore "C:\Pitney Bowes\Spectrum\server\conf\certs\node-keystore.p12"
    -destkeystore "C:\Pitney Bowes\Spectrum\server\conf\certs\truststore.p12" -deststoretype pkcs12
  2. CLI 実行可能ファイルと同じディレクトリに、cli.properties というファイルを作成します。

    サンプル ファイルとその内容を以下に示します。

    # sample properties
    spectrum.encryption.keystoreType=pkcs12
    spectrum.encryption.keystore=C:\\Users\\Spectrum\\mycerts\\node-keystore.p12
    spectrum.encryption.keystorePassword=p1tn3yb0w3s
    spectrum.encryption.keystoreAlias=spectrum
    spectrum.encryption.truststoreType=pkcs12
    spectrum.encryption.truststore=C:\\Users\\Spectrum\\mycerts\\truststore.p12
    spectrum.encryption.truststorePassword=p1tn3yb0w3s
    spectrum.encryption.truststoreAlias=spectrum
    spectrum.encryption.trustAllHosts=true
    spectrum.encryption.trustSelfSigned=false