Candlepin is unreachable

Hi,

I’ve just installed a new foreman server on Rocky 9, with foreman version 3.12.0 and katello version 4.14.1 and notice that Candlepin is unreachable when configuring the server with an ansible playbook. The package version is candlepin-4.4.19-1.el9.noarch.

When I run hammer ping I see:
hammer ping
database:
Status: ok
Server Response: Duration: 0ms
cache:
servers:
1) Status: ok
Server Response: Duration: 0ms
candlepin:
Status: FAIL
Server Response: Message: Failed to open TCP connection to localhost:23443 (Connection refused - connect(2) for “localhost” port 23443)
candlepin_auth:
Status: FAIL
Server Response: Message: A backend service [ Candlepin ] is unreachable
candlepin_events:
Status: FAIL
message: Not running
Server Response: Duration: 0ms
katello_events:
Status: ok
message: 0 Processed, 0 Failed
Server Response: Duration: 0ms
pulp3:
Status: ok
Server Response: Duration: 94ms
pulp3_content:
Status: ok
Server Response: Duration: 78ms
foreman_tasks:
Status: ok
Server Response: Duration: 4ms

If I try downgrading candlepin to 4.4.16-1.el9 and restarting the services, I see the same error. Any ideas on how I can resolve?

Many Thanks,
Tania

Looks like my issue is related to A backend service [ Candlepin ] is unreachable after doing a fresh install of Satellite 6.16 on RHEL 9.5 - Red Hat Customer Portal

Found Keytool error: java.lang.Exception: The -keyalg option must be specified which solved my issue.