[RHUI3.x] CDS reinstall fails with certificate error.
Issue
[RHUI3.x] CDS reinstall fails with certificate error.
The following error occurred when reinstalling CDS in "step 6. Reapply the configuration to your CDS nodes: ".
It looks like the certificate has expired. How can I resolve this error?
F.1. Upgrading the RHUA node
https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/3.1/html/system_administrators_guide/upgrading_red_hat_update_infrastructure#upgrading_the_rhua_node
Fatal error: sudo() received nonzero return code 1 while executing!
Requested: puppet agent --onetime --detailed-exitcodes --no-daemonize --no-usecacheonfailure --verbose
Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "puppet agent --onetime --detailed-exitcodes --no-daemonize --no-usecacheonfailure --verbose"
================================================== Standard output ==================================================
Info: Not using expired certificate for ca from cache; expired at 2022-10-17 07:21:09 UTC
Info: Not using expired certificate for ca from cache; expired at 2022-10-17 07:21:09 UTC
Info: Caching certificate for ca
Info: Caching certificate for vgrui05.teoshosted.local
Error: Could not request certificate: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [certificate has expired for /CN=Puppet CA: RHUA.example]
Exiting; failed to retrieve certificate and waitforcert is disabled
======================================================================================================================
Aborting.
Something happened, check the log file for more information: ~/.rhui/rhui.log
Environment
Red Hat Update Infrastructure 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.