Description of problem: Command [openssl x509 -req -days 365 -in /root/ENT/Red Hat Update Infrastructure 2.0.csr -CA /etc/pki/rhui/entitlement-ca.crt -CAkey /etc/pki/rhui/entitlement-ca-key.pem -out /root/ENT/Red Hat Update Infrastructure 2.0.crt -extfile /root/ENT/Red Hat Update Infrastructure 2.0-extensions.txt -extensions rhui] Certificate creation output unknown option Hat usage: x509 args -inform arg - input format - default PEM (one of DER, NET or PEM) -outform arg - output format - default PEM (one of DER, NET or PEM) -keyform arg - private key format - default PEM -CAform arg - CA format - default PEM -CAkeyform arg - CA key format - default PEM -in arg - input file - default stdin -out arg - output file - default stdout -passin arg - private key password source -serial - print serial number value recreate: 1. e create entitlement certificates and client configuration RPMs 2. e generate an entitlement certificate 3. pick some repos 4. Name of the certificate. This will be used as the name of the certificate file (name.crt) and its associated private key (name.key). Choose something that will help identify the products contained with it: Use a name w/ spaces here...
the above error is found in /root/.rhui/rhui.log
I don't think spaces are something we need to add support for. Anyway, this is not a regression, so it's something we can discuss as possible inclusion in the next release of RHUI.
Added check to disallow spaces in the name. committed to cloude repo: b4a4c97cf77d0e8e2ad9a50275a11c2d7f7ec974
built into rh-rhui-tools 2.0.55 brew build: https://brewweb.devel.redhat.com/buildinfo?buildID=198358 Will probably wait on spinning a new iso until monday to see if any other issues pop up.
- 24: Red Hat Enterprise Linux 6 Server - Optional Beta from RHUI(Debug RPMs) - 25: Red Hat Enterprise Linux 6 Server - Supplementary (Debug RPMs) from RHUI - 26: Red Hat Enterprise Linux 6 Server - Supplementary (RPMs) from RHUI * - 27: Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI - 28: Red Hat Enterprise Linux 6 Server - Supplementary Beta (Debug RPMs) from RHUI - 29: Red Hat Enterprise Linux 6 Server - Supplementary Beta (RPMs) from RHUI - 30: Red Hat Enterprise Linux 6 Server - Supplementary Beta (Source RPMs) from RHUI - 31: Red Hat Enterprise Linux 6 Server Beta (Source RPMs) from RHUI - 32: Red Hat Enterprise Linux 6 Server Beta from RHUI (Debug RPMs) - 33: Red Hat Enterprise Linux 6 Server Beta from RHUI (RPMs) - 34: Red Hat Update Infrastructure 1.2 (Debug RPMs) - 35: Red Hat Update Infrastructure 1.2 (RPMs) - 36: Red Hat Update Infrastructure 1.2 (Source RPMs) - 37: Red Hat Update Infrastructure 2.0 (Debug RPMs) - 38: Red Hat Update Infrastructure 2.0 (RPMs) - 39: Red Hat Update Infrastructure 2.0 (Source RPMs) Enter value (1-39) to toggle selection, 'c' to confirm selections, or '?' for more commands: c Name of the certificate. This will be used as the name of the certificate file (name.crt) and its associated private key (name.key). Choose something that will help identify the products contained with it: rh rhui The name can not contain spaces. Name of the certificate. This will be used as the name of the certificate file (name.crt) and its associated private key (name.key). Choose something that will help identify the products contained with it: rh-rhui-rhel5-server Local directory in which to save the generated certificate [current directory]: /root Number of days the certificate should be valid [365]: 365 Repositories to be included in the entitlement certificate: Red Hat Repositories Red Hat Enterprise Linux 5 Server from RHUI (RPMs) Proceed? (y/n) y ...............................................................................+++ ....................................+++ Entitlement certificate created at /root/rh-rhui-rhel5-server.crt ------------------------------------------------------------------------------
Released in RHUI 2.0.2