Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When prompted, enter admin as the user and for the password, the password for the Controller root user. On Windows, use the asadmin.bat script in a similar manner.  

If there is no proxy configured and the agent is reporting to the Controller itself, then the following changes are also mandatory:

 

  1. Run the following command:

    Code Block
    <controller_home>/bin/controller.sh stop-appserver

    Use .bat on Windows.

  2. Search for the following properties in <controller_home>/appserver/glassfish/domains/domain1/config/domain.xml, and replace the port with the SSL port, as the non-secure port is disabled:

    No Format
    -Dappdynamics.controller.port=
    -Dappdynamics.controller.services.port=
  3. In the following property, change the protocol from HTTP to HTTPS, and change the port to the secure port.

    No Format
    -Dappdynamics.controller.ui.deeplink.url=

    You can also use REST API to update the deeplink URL:

    No Format
    curl -k --basic --user root@system --header "Content-Type: application/json" --data '
    { "controllerURL": "https://<controller>:<ssl_port>" }' https://<controller>:<ssl_port>/controller/rest/accounts/<ACCOUNT-NAME>/update-controller-url
  4. Add the following JVM argument anywhere above or below the above JVM arguments to ensure the internal agent connects using SSL.

    No Format
    -Dappdynamics.controller.ssl.enabled=true
  5. Run the following command:

    Code Block
    <controller_home>/bin/controller.sh start-appserver

    Use .bat on Windows.

You can also use the modifyJVMOptions.sh script to make the changes.

Change Keystore Password

The default password for the keystore used by the Controller is changeit. This is the default password for the Glassfish keystore, and is a well-known (and thus insecure) password. For a secure installation, you need to change it.

...