Describe the bug
Users who have custom certificate authorities in the chain are not able to use TLS validation, as there is no way to add more trusted CA certificates.
The Node agent has the option serverCaCertFile, but the PHP agent does not have an equivalent option.
Disabling TLS verification is not an acceptable solution.
To Reproduce
Steps to reproduce the behavior:
Put the APM server behind a custom CA
Try to use the PHP Elastic APM Agent
Notice cert errors in the PHP logs
Try to find the option for custom CA certs
Fail to find such an option
Expected behavior
The agent should be usable with custom CAs in the chain without circumventing security.
Describe the bug Users who have custom certificate authorities in the chain are not able to use TLS validation, as there is no way to add more trusted CA certificates.
The Node agent has the option serverCaCertFile, but the PHP agent does not have an equivalent option.
Disabling TLS verification is not an acceptable solution.
To Reproduce Steps to reproduce the behavior:
Expected behavior The agent should be usable with custom CAs in the chain without circumventing security.