This documentation corresponds to an earlier product version. Make sure this document corresponds to your version.

Latest OpsCenter documentation | Earlier OpsCenter documentation

Enabling SSL in Windows installations

By default, SSL is disabled on Windows installations.

To enable SSL, you run setup.py (which generates the required SSL keys and certificates), modify the configuration files for OpsCenter and its agent, and then restart the DataStax OpsCenter Agent Service.

Procedure

  1. Go to the opscenter\bin directory:
    Program Files (x86) > DataStax Community > opscenter > bin
  2. Click or double-click setup.py to run it.

    The agentKeyStore key pairs are generated and appear in opscenter\ssl directory.

  3. Go to the opscenter\conf directory:
    DataStax Community > opscenter > conf
  4. Open the configuration file for OpsCenter, opscenterd.conf, in a text editor such as Notepad.
  5. In the agents section, change use_ssl from 0 to 1 (or true), and then save the file.


  6. Go to the opscenter\agent\conf directory:
    DataStax Community > opscenter > agent > conf
  7. Open the configuration file for OpsCenter agent, address.yaml, in a text editor.
  8. In the address.yaml file, change the value for use_ssl from 0 to 1, and then save the file.
    use_ssl: 1
  9. From the Control Panel, restart the DataStax OpsCenter Agent Service.