Disabling SSL - package installations

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

opscenterd.conf 

The location of the opscenterd.conf file depends on the type of installation:

Location Package Installer (GUI or text mode) Tarball
Service No-service
/etc/opscenter/opscenterd.conf X X    
install_location/conf/opscenterd.conf     X X

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
By default SSL is turned off in OpsCenter. You would only need to perform this task if you have configured the agents on a cluster to use SSL earlier and now wished to turn SSL off.

Procedure

  1. Open opscenterd.conf in an editor and add two lines to enable SSL.
    $ sudo vi /etc/opscenter/opscenterd.conf
    
    [agents]
    use_ssl = false
    
  2. Restart the OpsCenter daemon.
  3. Reconfigure the agents.
    1. Log into each node in the cluster using ssh.
      $ ssh user@node
    2. Edit the address.yaml file, changing the value of use_ssl to 0.
      $ sudo vi /var/lib/opscenter/address.yaml
      use_ssl: 0
    3. Restart the agent.
      $ sudo service datastax-agent restart

If you do not want to edit all the node configuration files by hand, you can follow the agent installation procedure.

  1. Once opscenterd and all agents have been configured and restarted, verify proper connection via the dashboard.