KEYLIME_REGISTRAR(8)
π KEYLIME_REGISTRAR β the registrar service, explained
okay so bestie, welcome to keylime_registrar(8) from the System Manager's Manual β¨ this is the whole page, nothing skipped, let's go π
πΈ NAME πΈ
keylime_registrar β the Keylime registrar service, aka the thing that handles agent registration π«Ά
β¨ SYNOPSIS β¨
keylime_registrar
heads up bestie: most operations need root privileges, so run it with sudo okay? π
π DESCRIPTION π
So the registrar is a long-running service that agents talk to. That's its whole deal, it just vibes there, running, forever, being useful π
It keeps its own database where it stores the data of all the registered agents β like a little scrapbook of everyone who signed up π
And here's the thing: the service does not accept command-line options. Not a single flag. Zero. It does not want your CLI energy. Instead:
- behavior is configured via configuration files and environment variables
- and it's managed by
keylime tenant
periodt π
π¦ CONFIGURATION π¦
Primary config lives at /etc/keylime/registrar.conf (or you can override it via env β more on that below π). All the options live under the [registrar] section.
π Essential configuration options π
ipβ bind address, aka where it's listening fromportβ the HTTP porttls_portβ the HTTPS porttls_dirβ where the TLS material lives. Valuegeneratemeans auto-generate the CA, keys and certs under$KEYLIME_DIR/reg_ca; valuedefaultmeans the shared verifier CA under$KEYLIME_DIR/cv_caserver_key,server_key_password,server_cert,trusted_client_caβ the TLS files, that's the whole vibedatabase_urlβ a SQLAlchemy URL. Fun fact: the valuesqlitemaps to$KEYLIME_DIR/reg_data.sqliteπdatabase_pool_sz_ovflβ pool size and overflow (non-sqlite only, iykyk)max_workersβ maximum worker processes. The actual count ismin(cpu_count, max_workers), and0means no limit, default is16β¨auto_migrate_dbβ apply DB migrations on startupmax_upload_sizeβ request body limit, in bytestpm_identityβ the allowed identity. Options aredefault,ek_cert_or_iak_idevid,ek_cert,iak_idevidπmalformed_cert_actionβwarn(the default),reject, orignore. lowkey dramatic but okaydurable_attestation_import(optional) β a Python import path to enable Durable Attestation
π ENVIRONMENT π
KEYLIME_REGISTRAR_CONFIGβ path toregistrar.conf, and it's got the highest priority πKEYLIME_LOGGING_CONFIGβ path tologging.confKEYLIME_DIRβ working directory, default is/var/lib/keylimeKEYLIME_TESTβon/true/1enables testing mode (looser checks, andWORK_DIRbecomesCWD) π
π FILES π
/etc/keylime/registrar.confβ the registrar configuration file/etc/keylime/logging.confβ logging configuration$KEYLIME_DIR/reg_data.sqliteβ the database file whendatabase_url = sqlite$KEYLIME_DIR/reg_caβ TLS certificates whentls_dir = generate$KEYLIME_DIR/cv_caβ shared verifier certificates whentls_dir = default
π₯ RUNTIME π₯
Starting it from a system install, iconic behavior only:
sudo keylime_registrar
Starting it as a systemd service, main character energy:
systemctl enable --now keylime_registrar
Opening the firewall ports (adjust these if you changed your ports, bestie, don't come for me):
firewall-cmd --add-port=8890/tcp --add-port=8891/tcp
firewall-cmd --runtime-to-permanent
β NOTES β
- HTTPS is required for routes unless it's explicitly allowed insecure by the service. no cap π
- With
tls_dir = default, start the verifier before the registrar so the shared CA/certs exist in$KEYLIME_DIR/cv_caβ otherwise you're gonna have a bad time π - The service forks worker processes (default: CPU count, capped by
max_workers) - Registrar and verifier may run on the same host or on separate hosts β flexible queen behavior π
π SEE ALSO π
keylime_verifier(8), keylime_tenant(1), keylime_agent(8)
π BUGS π
Found a bug? Report it at https://github.com/keylime/keylime/issues β they wanna hear from you fr fr π«Ά
π AUTHOR π
Keylime Developers β the legends behind all of this π
and that's the whole page bestie, no crumbs left π this edition dropped September 2025, it's KEYLIME_REGISTRAR(8) and it ate, periodt πβ¨
π¦ where this page comes from
- centos-stream 10: keylime-registrar 7.14.3-3.el10 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms