Disabling SSL/TLS for OpsCenter and Agent communication - Tarball Installations

To disable SSL for tarball installations, modify the OpsCenter configuration file and restart OpsCenter.

By default, SSL is turned off in OpsCenter. You only need to perform this task if you have previously configured the agents on a cluster to use SSL and now want to turn SSL off.

address.yaml

The location of the address.yaml file depends on the type of installation:
  • Package installations: /var/lib/datastax-agent/conf/address.yaml
  • Tarball installations: install_location/conf/address.yaml

opscenterd.conf

The location of the opscenterd.conf file depends on the type of installation:
  • Package installations: /etc/opscenter/opscenterd.conf
  • Tarball installations: install_location/conf/opscenterd.conf

Procedure

  1. Open opscenterd.conf in an editor and add the following lines to disable SSL.
    vi install_location/conf/opscenterd.conf
    
    [agents]
    use_ssl = false
    
  2. Restart the OpsCenter daemon.
  3. Reconfigure the agents.
    Tip: If you do not want to manually edit all of the node configuration files, follow the installing DataStax agents automatically procedure.
    1. Log into each node in the cluster using ssh.
      ssh user@node
      Where node is either the host name of the node or its IP address and user is the user ID on the node.
    2. Edit the address.yaml file, changing the value of use_ssl to 0.
      sudo vi install_location/conf/address.yaml
      use_ssl: 0
    3. Restart the agent.
      sudo install_location/bin/datastax-agent
  4. After opscenterd and all agents have been configured and restarted, verify proper agent connection through the Agent Status tab.