Icinga / ansible-collection-icinga

Collection to setup and manage components of the Icinga software stack
Apache License 2.0
45 stars 36 forks source link

Use https for Icinga repository #323

Closed tbauriedel closed 2 months ago

tbauriedel commented 2 months ago

The defaults for the Icinga repository uses http instead of https.

Donien commented 2 months ago

Hey, we have already talked about this briefly.
I thought about this some more.

Ignoring the package server's redirect from HTTP to HTTPS here.

What does using HTTPS actually achieve in this case?
Do packages really need to be encrypted on their way from the server to the target machine?

The content of the packages is verified using signatures.
I get that we definitely MUST use HTTPS when integrating a subscription repository, since we do not want to pass credentials via HTTP.

Other than that I only see a (slight) overhead when using HTTPS.

EDIT:

The following variables use insecure HTTP.
Variables relating to RHEL and the subscription repository already use HTTPS.

defaults/main.yml:

vars/RedHat-Fedora.yml:

vars/Debian-Raspbian.yml: