Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionLukáš Hellebrandt
2017-10-11 11:48:18 UTC
Description of problem:
The Sat6.2 Installation Guide [1] in section "4.6.1. Configuring Capsule Server with a Default Server Certificate", part 1, advises to run:
# capsule-certs-generate \
--capsule-fqdn "mycapsule.example.com" \
--certs-tar "~/mycapsule.example.com-certs.tar"
In 6.3, you have to use --foreman-proxy-fqd instead of --capsule-fqdn (bug 1500671) which is unrelated to this bug. So let's fix it:
# capsule-certs-generate \
--foreman-proxy-fqdn "<FQDN>" \
--certs-tar "~/whatever-certs.tar"
However, using the tilde ~ symbol causes the following error:
"""
Parameter certs-tar invalid: ~/whatever-certs.tar is not one of regexes matching /^(([a-zA-Z]:[\\\/Error during configuration, exiting
"""
However, in 6.2 (tested with foreman-installer-katello-3.0.0.65-1), the tilde is expanded properly and the tool continues correctly -> this is regression.
Nope: the error message being displayed incorrectly is bug 1500676.
How reproducible:
Deterministic
Steps to Reproduce:
1. # capsule-certs-generate \
--foreman-proxy-fqdn "<FQDN>" \
--certs-tar "~/whatever-certs.tar"
Actual results:
Error
Expected results:
Correctly expanded path used and the tool run continues
Additional info:
[1] https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/installation_guide/installing_capsule_server
Comment 2Lukáš Hellebrandt
2017-10-11 11:59:24 UTC
^ That's correct. Even the "tilde case" is mentioned in the comments, thus, I am closing this BZ as a duplicate.
*** This bug has been marked as a duplicate of bug 1466688 ***