we want to receive notifications on our mobile phones via aNag android app.
With icinga/nagios we used the cgi-bin interface but with icinga2 we want to use the icinga2 API.
please create new topics for new questions. I’ve split this from the old topic.
HTTPS is enforced by the Icinga 2 REST API, there’s no support for http inside the code. What’s the problem with proxying those requests, do you have concrete configuration samples?
Although I haven’t tried it, I think that would break every endpoint you currently have.
You should be able to use Icinga’s certs for an https reverse proxy so your load balancer can verify it. I haven’t tried it (but now I want to). For example, here’s how it’s done in Nginx’s documentation. Your product may vary.
Replacing the CA key pair and as such, the different signed certificates will break the trust between cluster endpoints. If you don’t have any nor don’t have plans, you can use your own company CA, but you’re on your own with that. See the discussion here: Own CA for Icinga Cluster/API communication?
My question still stands: How does the current Nginx config look like which terminates TLS up front and should proxy the requests towards Icinga?