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

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

About this task

By default SSL is turned off in OpsCenter. Perform this task if you have configured the DataStax Agents on a cluster to use SSL previously and now need to turn SSL off.

Procedure

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

    • Package installations: /etc/opscenter/opscenterd.conf

    • Tarball installations: install_location/conf/opscenterd.conf

  2. Open opscenterd.conf in an editor and set the value of the use_ssl option to false to disable SSL.

    sudo vi install_location/opscenterd.conf
    [agents]
    use_ssl = false
  3. Restart the OpsCenter daemon.

  4. Reconfigure the DataStax Agents.

    If you do not want to manually edit all of the node configuration files, follow the procedure to install DataStax Agents automatically.

    1. Log in to each node in the cluster using ssh.

      ssh user@node

      Where user is the user ID on the node, and node is either the host name of the node or its IP address.

    2. Locate the address.yaml file. The location of this file depends on the type of installation:

      • Package installations: /var/lib/datastax-agent/conf/address.yaml

      • Tarball installations: install_location/conf/address.yaml

    3. Edit the address.yaml file, changing the value of use_ssl to 0.

      sudo vi install_location/address.yaml
      use_ssl: 0
    4. Restart the DataStax Agent.

      sudo install_location/bin/datastax-agent
  5. After opscenterd.conf and all DataStax Agents have been configured and restarted, verify proper connection through the Agent Status tab.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com