Javaエージェントとコントローラ間のSSLを有効にする

バージョン管理された <agent_home>/<version_number>/conf/controller-info.xml でシステムプロパティ()を設定します。各プロパティの詳細については、「SSL 構成プロパティ」を参照してください。
  1. コントローラポート:コントローラの SSL ポート。Splunk AppDynamics SaaS の場合は 443。
    <controller-port>443</controller-port>
  2. コントローラの SSL の有効化:true。
    <controller-ssl-enabled>true</controller-ssl-enabled>
  3. コントローラキーストアのパスワード:エージェントトラストストアのプレーンテキストパスワード。
    Secure Credential Store を有効にしている場合、パスワードを暗号化して入力。「エージェントのログイン情報の暗号化」を参照してください。
    <controller-keystore-password>MySecurePassword</controller-keystore-password>
  4. コントローラキーストアのファイル名: からのエージェントトラストストアの相対パス。
    デフォルトの <agent_home>/<version_number>/conf/cacerts.jks 以外のトラストストアを使用する場合は必須です。
    <controller-keystore-filename>../../conf/cacerts.jks</controller-keystore-filename>
    注: これらのシステムプロパティは、JVM 起動スクリプトで設定することもできます。Javaエージェント構成プロパティ を参照してください。
  5. 構成の変更が完了したら、JVMを再起動する。

SSL と Secure Credential Store の暗号化を有効化した Controller-info.xml のサンプル

<?xml version="1.0" encoding="UTF-8"?>
<controller-info>
<controller-host>mycompany.saas.appdynamics.com</controller-host>
<controller-port>443</controller-port>
<controller-ssl-enabled>true</controller-ssl-enabled>
<!-- Encrypted Controller keystore / agent trust store password -->
<controller-keystore-password>Tw49bd0hdCMBoQ5pfMMuYA/cA5B4pouVPkv48ovRm6c=</controller-keystore-password>
<controller-keystore-filename>../../conf/cacerts.jks</controller-keystore-filename>
...
<!-- Secure Credential Store configuration -->
<!-- Enable the Secure Credential Store -->
<use-encrypted-credentials>true</use-encrypted-credentials>
<!-- Path to they secure credential keystore -->
<credential-store-filename>/opt/appdynamics/secretKeyStore</credential-store-filename>
<!-- Obfuscated secure credential keystore password -->
<credential-store-password>n/8GvAZsKk4gM3Z6g+XQ1w==</credential-store-password>
</controller-info>