-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.19.0 does it support SSL for between JMX Server and Prometheus Server #867
Comments
Yes. Configuration for Prometheus -> (via SSL + basic authentication) -> the JMX exporter:
If are running the
and add the following system properties:
The integration test suite has a lot of examples of various configuration scenarios: |
Hi
I was using curl to access the metrics from jmx server and i observed that the hostname provided in the curl request it would be helpful if we get the truststore support at the jmx server end so that we can have CA certificates stored in the jx server which could be used for validation. Please let me know your thoughts |
Can you provide the curl command you are using to access the JMX exporter? |
i have port forwarded to the portno and accessing from local host curl -v --request GET --url https://localhost:/metrics --cert ./tls.crt --key ./tls.key --cacert ./clientcacertbundle.pem |
Adding support for trust store configuration will not solve this issue. Curl is reporting that the certificate being presented (which comes from your keystore) isn't trusted or the CN doesn't match what was used. You have 3 options:
|
Closing due to inactivity. |
i am trying to use 0.19.0 trying to setup SSL connection between prometheus server( scraping from JMX server) and JMX server , i tried to setup the configuration currently , but it seems that the below configuration doesnt setup SSL between prometheus server and JMX Server , is the below configuration applicable for SSL connection between JMX server and application exposing JMX metrics?
The text was updated successfully, but these errors were encountered: