uyuni icon indicating copy to clipboard operation
uyuni copied to clipboard

Root CA not send it to clients

Open vampywiz17 opened this issue 6 months ago • 1 comments

Problem description

I used Uyuni with self-signed certs at this point. now today i update it with signed-certificate this command:

mgr-ssl-cert-setup --root-ca-file=my_company_root_ca.pem --server-cert-file=cert.pem --server-key-file=key.pem

After restart uyuni service and postgresql.

Run all salt clients the Highstate. it send it to clients the new "RHN-ORG-TRUSTED-SSL-CERT"

But if i try to run a zypper ref i get curl 60 certificate error. i check on client side the /etc/pki/trust/anchors folder, but it only contain the "RHN-ORG-TRUSTED-SSL-CERT" but not my company root CA.

my workaround:

Copy my company root CA to /etc/pki/trust/anchors and run update-ca-certificates command. It solve the probem, but if not possible to do this, without do the same all my clients?

Steps to reproduce

  1. update certificate (set/change root ca)
  2. Highstate clients
  3. run zypper ref

Uyuni version

Information for package Uyuni-Server-release:
---------------------------------------------
Repository     : Uyuni Server Stable
Name           : Uyuni-Server-release
Version        : 2024.01-230900.212.1.uyuni3
Arch           : x86_64
Vendor         : obs://build.opensuse.org/systemsmanagement:Uyuni
Support Level  : Level 3
Installed Size : 1.4 KiB
Installed      : Yes
Status         : up-to-date
Source package : Uyuni-Server-release-2024.01-230900.212.1.uyuni3.src
Summary        : Uyuni Server
Description    :
    Uyuni lets you efficiently manage physical, virtual,
    and cloud-based Linux systems. It provides automated and cost-effective
    configuration and software management, asset management, and system
    provisioning.

Uyuni proxy version (if used)

No response

Useful logs

No response

Additional information

No response

vampywiz17 avatar Feb 19 '24 17:02 vampywiz17

Please try to upgrade to uyuni 2024.02. There was a security update for salt, which broke something. The update may fix also your problem.

mcalmer avatar Feb 20 '24 06:02 mcalmer

Seems to be stale, please feel free to reopen if the problem reappears :smiley:

avshiliaev avatar May 21 '24 15:05 avshiliaev