To enable SSL on the proxyless version of the C++ agent, do the following:
- Open your application to the file where you configure the controller settings.
const int CONTROLLER_USE_SSL = 1;
- In the
appd_configstruct, include the following method:
If you are using a self-signed certificate, you must additionally do the following:
Get the Controller certificate by running the following command:
certificate_fileController setting to point to absolute path to certificate.
Check the Certificate CommonName
CommonName must match the Controller hostname. If they do not match, you must reconfigure the certificate on the Controller.
You can check the
CommonName by running the following command:
The CommonName appears above the
BEGIN CERTIFICATE line.