I have Prometheus configuration with many jobs where I am scraping metrics over HTTP. But I have one job where I need to scrape the metrics over HTTPS.
When I access:
I had a same problem in the past. In my case the problem was with the certificates and I fixed it with adding:
tls_config: insecure_skip_verify: true
You can try it, maybe it will work.