hi.
I’m using Infinity plugin; I have a URL that I’m getting the error above when I’m trying to reach into.
with CURL command from the grafana ubuntu server - I’m getting the correct result (also getting “SSL certificate verify ok.”)
only from the plugin i’m getting
remote error: tls: handshake failure
grafana server: Grafana v11.0.1
plugin version: 2.95
any ideas please ?
Hello @dkobi84
It could be because you played with the SSL/TLS configuration on your Grafana server.
A quick workarround would be to manually add the remote TLS cert in a file and update the SSL/TLS conf of your Grafana.
You can check the TLS cert using:
openssl s_client -connect `your_server_with_port`
# not needed but if you only want to see the cert add " | openssl x509"
If you copy it manually, you must also select the --BEGIN---
and --END--
part as the cert.
Then something like:
mkdir /etc/grafana/certs
cp /path/to/infinity-ca.cert /etc/grafana/certs/
In the Grafana.ini
, in the [server]
parameter, uncomment the cert_file
option and add the etc path.
Be aware, if I remember correctly, if no cert_file provided Grafana uses the system one, if you change that, you’ll basically block Grafana to only have one certificate.
So another workaround would be to fully update your system certificates. But since I don’t know what you have play with this carefully.
cp /path/to/infinity-ca.cert /usr/local/share/ca-certificates/custom-ca.crt
update-ca-certificates
Then in both case, restart the Grafana instance.
Let me know how it goes!
i already add the remote cert to the grafana server
so unfortunately, it did not solve my issue.
also, you can see the output for the curl
there is no issue with the certificate
I didn’t know you had already added the cert, this is weird…
How did you install the plugin?
grafana-cli plugins install yesoreyeram-infinity-datasource
Did you restart the instance after that?
yes,
still the same behavior
How is Grafana installed/deployed? What’s OS version? Do you have CA and Intermediate CAs in pem format? Provide full formatted text (not image) output from curl -v ...
pls
grafana installed directly on Ubuntu 22.04.4