Project

General

Profile

Actions

Bug #35453

closed

Remove the trailing "\" from capsule-certs-generate command for new capsules in katello-certs-check

Added by Sayan Das over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
easy
Triaged:
Yes
Fixed in Releases:

Description

Description of problem:

katello-certs-generate -t capsule return command proposal with trailing "\" for new Capsule

Version-Release number of selected component (if applicable): 6.12 snap 8

How reproducible: Always

Steps to Reproduce:
1.# katello-certs-check -t capsule -c <cert> -k <key> -b <CA bundle>

Actual results:
...
To use them inside a NEW $CAPSULE, run this command:

capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" \
--certs-tar "~/$CAPSULE-certs.tar" \
--server-cert "/root/ssl/capsule/jjansat612-capsule_cert.crt" \
--server-key "/root/ssl/capsule/jjansat612-capsule.pem" \
--server-ca-cert "/root/ssl/capsule/CA.pem" \

...

Expected results:
...
To use them inside a NEW $CAPSULE, run this command:

capsule-certs-generate --foreman-proxy-fqdn "$CAPSULE" \
--certs-tar "~/$CAPSULE-certs.tar" \
--server-cert "/root/ssl/capsule/jjansat612-capsule_cert.crt" \
--server-key "/root/ssl/capsule/jjansat612-capsule.pem" \
--server-ca-cert "/root/ssl/capsule/CA.pem"

...

Actions

Also available in: Atom PDF