Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-22161

The generation of certificates using "capsule-certs-generate" fails when custom SSL parameters are provided.

XMLWordPrintable

    • Important
    • No

      Description of problem:

      The generation of certificates using "capsule-certs-generate" fails when custom SSL parameters are provided.

      Version-Release number of selected component (if applicable):
      satellite-installer-6.15.0.2-1

      How reproducible:
      New installation of 6.15

      Steps to Reproduce:
      1. Install new satellite
      2. Generate a capsule certificate through capsule-certs-generate with custom SSL parameters
      3.

      Actual results:

      1. capsule-certs-generate -v --foreman-proxy-fqdn "capsule.example.com" --certs-tar "~/capsule.example.com-certs.tar" --server-cert "/root/cert/servercert.pem" --server-key "/root/cert/capsule.example.com_cert_key.pem" --server-ca-cert "/root/cert/CA-Chain.pem" --foreman-proxy-cname "loadbalancer.example.com"

      2023-12-28 02:17:44 [NOTICE] [root] Loading installer configuration. This will take some time.
      2023-12-28 02:17:46 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
      2023-12-28 02:17:46 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.

      Traceback (most recent call last):
      15: from /usr/sbin/capsule-certs-generate:58:in `<main>'
      14: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:54:in `run'
      13: from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/command.rb:140:in `run'
      12: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:184:in `run'
      11: from /usr/share/gems/gems/clamp-1.3.2/lib/clamp/command.rb:66:in `run'
      10: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/kafo_configure.rb:214:in `execute'
      9: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:65:in `execute'
      8: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:65:in `each'
      7: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hooking.rb:67:in `block in execute'
      6: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hook_context.rb:19:in `execute'
      5: from /usr/share/gems/gems/kafo-7.3.0/lib/kafo/hook_context.rb:19:in `instance_eval'
      4: from /usr/sbin/capsule-certs-generate:45:in `block in <main>'
      3: from /usr/share/ruby/open3.rb:390:in `capture2e'
      2: from /usr/share/ruby/open3.rb:208:in `popen2e'
      1: from /usr/share/ruby/open3.rb:213:in `popen_run'
      /usr/share/ruby/open3.rb:213:in `spawn': wrong first argument (ArgumentError)

      Expected results:

      capsule certificates should be created for capsule installation

      Additional info:

            jira-bugzilla-migration RH Bugzilla Integration
            jira-bugzilla-migration RH Bugzilla Integration
            Griffin Sullivan Griffin Sullivan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: