Download of OS specific kernel and initrd files should verify certificates
The documentation https://theforeman.org/manuals/1.14/index.html#4.3.9TFTP mentions that the Download of OS specific kernel and initrd files does not verify certificates. In particular step 5 of the work flow mentions the exact wget command:
wget --no-check-certificate -nv -c <src> -O "<destination>"
I can not imagine any reason why the option
--no-check-certificateshould be used. Therefore I suggest to remove it.
If there is a use case which is valid I suggest that the GUI offers a checkbox in the installation Media detail page that turns on/off the certificate check.
#4 Updated by Lukas Zapletal over 1 year ago
Interesting file to start with:
#5 Updated by Dominic Schlegel over 1 year ago
Lukas Zapletal wrote:
Let's add a new tftp.yaml setting named "verify_server_cert", when true the "--no-check-certificate" argument will be used.
That naming is confusing me. Shouldn't it be when "verify_server_cert" is set to false that the "--no-check-certificate" should be added?