Open Telemetry Java agent with Elastic APM - verify_server_cert=false

Hi

Does anyone know what the equivalent setting for verify_server_cert=false is in Open Telemetry Java Agent config ?

We want to run an OTEL Java agent without certs in place but cannot find any documentation that clearly identifies what that equivalent OTEL -D flag should be

Thanks

I don't think the OTEL Java agent has this option. You can either setup a EDOT collector with insecure_skip_verify=true and use that as your endpoint or add self certs to your certstore. Here's a possibly useful discussion

Thanks Jack, I think you're correct. I cant find anything documented anywhere to indicate how this could be achieved at the java agent level, so I think we will have to instruct our users to set up the keystore. I just asked here as the last resort, thanks anyway