[Satellite 6.2] While using custom ssl certs, the satellite-installer command fails with error "`puppet_parse': invalid byte sequence in UTF-8 (ArgumentError)"

Solution Verified - Updated -

Issue

  • While using custom ssl certs, the satellite-installer command fails with below error
#  satellite-installer  --scenario satellite  --certs-server-cert /root/sat_cert/server.crt  --certs-server-cert-req /root/sat_cert/satellite_cert_csr.pem  --certs-server-key /root/sat_cert/satellite_cert_key.pem  --certs-server-ca-cert /root/sat_cert/server-ca.pem  --certs-update-server --certs-update-server-ca


Marking certificate /root/ssl-build/satellite.example.com/satellite.example.com-apache for update
Marking certificate /root/ssl-build/satellite.example.com/satellite.example.com-foreman-proxy for update
Marking certificate /root/ssl-build/katello-server-ca for update
Installing             Info: Class[Certs::Katello]: Scheduling refresh of [99%] [........................................................................................................................... ]/usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:430:in `puppet_parse': invalid byte sequence in UTF-8 (ArgumentError)
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:399:in `block (2 levels) in run_installation'
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:398:in `each'
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:398:in `block in run_installation'
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:396:in `spawn'
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:396:in `run_installation'
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:141:in `execute'
        from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:67:in `run'
        from /usr/share/gems/gems/clamp-0.6.2/lib/clamp/command.rb:125:in `run'
        from /usr/share/gems/gems/kafo-0.7.6.1/lib/kafo/kafo_configure.rb:148:in `run'
        from /usr/sbin/satellite-installer:12:in `<main>'

Environment

  • Red Hat Satellite v 6.2
  • Custom ssl certificates

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content