I'm attempting to install Spacewalk 1.8 with mrepo and create a mirror of RHEL 5&6 packages to use for frequently spun up development VMs. There are several guides that indicate I should use mrepo with gensystemid to register individual repositories as systems on RHN and then use the entitlements granted to my rhel systems. However gensystemid fails because /usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT is not present. It's not clear to me where I get this cert, whether it is included with an official rhel install, or if it is pulled in after using rhn_register, or if this the "key" per se that you purchase with the Satellite product that allows you to mirror? Several unhelpful how-to's say it's included with CentOS and it is not, nor is it present in rhn-tools rpm.
It appears mrepo is broken and/or abandoned. I am forced to use createrepo as described here: createrepo with rhel satellite. This means I have to have 2 rhel servers, one for 5 x86_64 and one for 6 x86_64 to create my local repos. This consumes the same number of entitlements but requires an additional vm, but at least it will work with some longevity. In my case the 6 repository will be on the same server hosting spacewalk but I will have to manually set up http from the 5 repository so it can be used as well.