2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-04 20:17:58 +00:00
Files
confluent/confluent_server/confluent
Markus Hilger 4b61351373 Create and maintain the TLS CA as the confluent service account
The CA database under /etc/confluent/tls/ca is typically created by a root context such as osdeploy initialize -t, but the confluent service runs as the owner of /etc/confluent, and openssl ca rewrites the database (index, serial) as the invoking user on every issuance. Certificate issuance through the running service (e.g. the /self/tlscert deployment API) then fails on the root-owned database until packaging happens to repair the ownership.

Run the CA creation (full CA and the currently unused simple CA variant) and the openssl ca invocation under normalize_uid, the convention already used when publishing the CA certificate. The issued certificate is staged through a temporary file since the destination may only be writable by the invoking user, e.g. the web server certificate paths.

Existing root-owned CA databases are repaired by packaging or manually via: chown -R --reference=/etc/confluent /etc/confluent/tls
2026-07-15 05:55:48 +02:00
..
2026-07-14 05:28:53 +02:00
2026-07-14 05:28:53 +02:00
2026-02-27 13:32:08 -05:00
2026-07-14 05:28:53 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:28:53 +02:00
2026-07-14 05:28:53 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 11:02:15 -04:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:28:53 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 07:51:47 -04:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:28:53 +02:00
2026-07-13 02:50:11 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:03:58 +02:00
2026-07-14 05:28:53 +02:00