Project

General

Profile

Bug #25564

katello-certs-check gives the wrong output if using certificate with wildcard.

Added by Suraj Patil 12 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
foreman-installer script
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

If we try to install custom certs on satellite with wildcard i.e CN=*.example.com katello-certs-check gives the wrong output.

katello-certs-check gives the command to generate the capsule certs as below instead of satellite-installer command.

--------------------------------------------------------------------------------------------------------
To use them inside a NEW $FOREMAN_PROXY, run this command:

capsule-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY"\
--certs-tar "~/$FOREMAN_PROXY-certs.tar"\
--server-cert "/customcerts/cert_crt.pem"\
--server-key "/customcerts/cert_key.pem"\
--server-ca-cert "/customcerts/CA_crt.pem"\
To use them inside an EXISTING $FOREMAN_PROXY, run this command INSTEAD:
capsule-certs-generate --foreman-proxy-fqdn "$FOREMAN_PROXY"\
--certs-tar "~/$FOREMAN_PROXY-certs.tar"\
--server-cert "/customcerts/cert_crt.pem"\
--server-key "/customcerts/cert_key.pem"\
--server-ca-cert "/customcerts/CA_crt.pem"\
--certs-update-server

Associated revisions

Revision 86979bce (diff)
Added by Suraj Patil 4 months ago

Fixes #25564 - add target option

Rather than attempting to detect the target based on the hostname, this adds an
explicit parameter which allows users to force the output to match their use.

Co-Authored-By: Ewoud Kohl van Wijngaarden <>

History

#1 Updated by The Foreman Bot 12 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/718 added

#2 Updated by Christine Fouant 12 months ago

  • Triaged changed from No to Yes
  • Target version set to Katello 3.10.1

#3 Updated by The Foreman Bot 12 months ago

  • Pull request https://github.com/Katello/katello-installer/pull/723 added

#4 Updated by Ewoud Kohl van Wijngaarden 9 months ago

  • Target version deleted (Katello 3.10.1)
  • Status changed from Ready For Testing to New
  • Category deleted (Installer)
  • Project changed from Katello to Installer
  • Pull request deleted (https://github.com/Katello/katello-installer/pull/718, https://github.com/Katello/katello-installer/pull/723)

#5 Updated by Suraj Patil 8 months ago

  • Assignee deleted (Suraj Patil)

#6 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/347 added

#7 Updated by Suraj Patil 4 months ago

  • Assignee set to Suraj Patil

#8 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 1.23.0 added

#9 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

#10 Updated by Amit Upadhye 4 months ago

  • Category set to foreman-installer script

Also available in: Atom PDF