Enabling SSL - Installer-Services or package installations
To enable SSL for Installer-Services or package installations installations, edit the configuration file and run a script to generate the keys used by OpsCenter and the agents.
opscenterd.conf
The location of the opscenterd.conf file depends on the type of installation:
- Installer-Services or package installations: /etc/opscenter/opscenterd.conf
- Installer-No Services or tarball installations: install_location/conf/opscenterd.conf
- Windows installations: Program Files (x86)\DataStax Community\opscenter\conf\opscenterd.conf
address.yaml
The location of the address.yaml file depends on the type of installation:
- Installer-Services or package installations: /var/lib/datastax-agent/conf/address.yaml
- Installer-No Services or tarball installations: install_location/conf/address.yaml
Prerequisites
- The Python interface for the OpenSSL library (pyOpenSSL).
With package installs of OpsCenter, the
python-openssl
package is installed as a dependency. However, this is not the case with CentOS 5.x installs.
Procedure
If you want to connect to a cluster in which agents have already been deployed, log in to each of the nodes and reconfigure the address.yaml file (see steps below).
If you do not want to manually edit all of the node configuration files, follow the agent installation procedure.
What's next
If you are upgrading an existing cluster to SSL, see adding an existing cluster for instructions on generating an OpenSSL certificate for the cluster to be reconfigured for SSL communications with OpsCenter.