Hi ,
As per the documentation, we have configured the Pyroscope server URL like this:
ENV PYROSCOPE_SERVER_ADDRESS=https://grafana-pyroscope:4040
Our Pyroscope instance is running on HTTPS using a self-signed / test certificate.
From the Java application side (using the Pyroscope agent), we are getting certificate validation failures.
Here is the error:
2025-12-13 13:37:48.882 [ERROR] Error uploading snapshot: (certificate_unknown)
PKIX path building failed:
sun.security-provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
2025-12-13 13:37:48.883 [DEBUG] Backing off for 658 ms
2025-12-13 13:37:49.541 [DEBUG] Upload attempt 2
We want to know:
Is there any configuration or environment variable in the Pyroscope Java agent to:
-
skip TLS certificate verification?
(e.g., insecureSkipVerify = true equivalent) -
or specify a custom CA bundle / truststore?
We did not find any parameter in the documentation for disabling TLS verification on the agent side.
Any guidance on how to handle HTTPS with self-signed certificates in the Pyroscope Java agent would be helpful.
Thanks!