This PR adds the ability for specifying PEM certificate files for use with yum repositories so that subscription management can be skipped. It adds several options to run.py:
--use-certificate-repos: sets the boolean
--certificate-file: specifies a path to a local file that will be used remotely as client-cert.pem
--certificate-key: specifies a path to a local file that will be used remotely as client-key.pem
A change was introduced by @juhoffma to fix ControlPath for El Capitan/MacOS which unfortunately breaks things on Linux, so this reverts that change back. I don't know how this is going to be resolved.
This was tested using both the new certificate method as well as using the existing RHSM method successfully.
This PR adds the ability for specifying PEM certificate files for use with yum repositories so that subscription management can be skipped. It adds several options to
run.py
:--use-certificate-repos
: sets the boolean--certificate-file
: specifies a path to a local file that will be used remotely asclient-cert.pem
--certificate-key
: specifies a path to a local file that will be used remotely asclient-key.pem
A change was introduced by @juhoffma to fix
ControlPath
for El Capitan/MacOS which unfortunately breaks things on Linux, so this reverts that change back. I don't know how this is going to be resolved.This was tested using both the new certificate method as well as using the existing RHSM method successfully.