Skip to content

Commit

Permalink
Fix missing kafka client ca-cert
Browse files Browse the repository at this point in the history
When configuring an appliance as a kafka client the user is asked for
the truststore path as well as the ca certificate path from the kafka
broker.  The truststore is scp'd over but the ca-cert is not causing
kafka connections to fail

`manageiq-messaging-ready`:
```
manageiq-db.localdomain 9093 - accepting connections
ssl.ca.location failed: error:05880002:x509 certificate routines::system lib
Kafka is not ready yet
```
  • Loading branch information
agrare committed May 6, 2024
1 parent 354661e commit 3288ad8
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def configure
configure_messaging_yaml # Set up the local message client in case EVM is actually running on this, Message Server
create_client_properties # Create the client.properties configuration fle
fetch_truststore_from_server # Fetch the Java Keystore from the Kafka Server
fetch_ca_cert_from_server # Fetch the CA Certificate from the Kafka Server
rescue AwesomeSpawn::CommandResultError => e
say(e.result.output)
say(e.result.error)
Expand Down

0 comments on commit 3288ad8

Please sign in to comment.