Background: Kickstarting RHEL7 on powerppc (IBM pSeries)
So I've kickstarted unattended for years, and had to use yaboot, NFS, etc. for kickstart in the past. Trying to modernize now. I have a working kickstart using HTTP (Apache) only (and TFTP). My problem comes in attempting to do it https only. Not sure if this is possible, but one would think it would be since you can specify https.
If I have the previously working web server answer for HTTP and HTTPS (same htdocs), and the following grub.conf
, it works fine (IP and FQDN are masked obviously):
menuentry 'Install RHEL 7 via Kickstart...' {
set root=http,WEBIP
linux https://WEBFQDN/software/rhel/ppc/ppc64/vmlinuz ro ip=dhcp ks=https://WEBFQDN/kickstart/rhel7-power.ks
echo 'Loading initial ramdisk ...'
inst.repo=https://WEBFQDN/software/rhel/
initrd https://WEBFQDN/software/rhel/ppc/ppc64/initrd.img
}
However a tcpdump reveals it still is using HTTP for a lot of traffic. And indeed, if I reconfigure the web server to RedirectMatch (.*) https://WEBFQDN/$1
(redirect all http to https, don't serve http), I get the following error:
error: invalid arch-independent ELF magic.
If I remove the RedirectMatch
(and go back to allowing http instead of a redirect), it works fine again.
So, I could live with http, but ideally the web server is just https (because it houses lots of sensitive data other than kickstart). Is this possible? Am I missing a key flag? I tried root=https,...
but then I got a "file not found" (unsupported network option I guess).
Thanks for any pointers!