Where Keycloak uses cryptography and why an inventory entry matters now
If you own identity for your organization, the first post-quantum task is a cryptographic inventory of Keycloak, before any planning for upgrades. Keycloak uses cryptography in realm keys, token signing, HTTPS for incoming connections, outgoing TLS trust, and the Java runtime (JVM) it runs on. This entry is the locate phase of a vendor review: it records where each of those uses sits in your deployment, so the later questions about exposure and upgrades have something concrete to refer to. Keycloak is an open-source CNCF Incubating project that your organization runs itself, which means the inventory is your responsibility. The identity or platform team should own it, with the security lead signing off.
Start with the realm keys. Each realm has an active key pair plus any passive keys, and the default RSA key size and signing algorithm are recorded in a maintainer-authored inventory (issue #46336, still open as of this writing), which lists RS256 as the default for RSA keys and a default RSA key size of 2048 bits. Confirm the values in your own realms, because realm administrators can change them. For HTTPS, check whether https-certificate-file and https-certificate-key-file (PEM) or https-key-store-file (PKCS12 or JKS) is in use, and note that PEM files take precedence when both are set. For outgoing TLS trust, record the truststore paths passed with --truststore-paths and the tls-hostname-verifier setting. For the JVM, record the OpenJDK version your Keycloak container or host actually runs, and whether FIPS mode is enabled with --features=fips.
This page does not judge whether any item in that inventory is post-quantum ready. It records what exists and where, so that the next pages can address exposure, upgrade paths and what the vendor has said. Capture each item with its version, its configuration file or command-line flag, and its owner, and date the entry, since the Keycloak release notes and issue trackers change over time. Keep the inventory with your certificate and key records so a later review can reuse it.
Which Keycloak areas use cryptography and which depend on public-key algorithms
This table maps each Keycloak area that uses cryptography, what it protects, the algorithm family the facts name, whether it depends on public-key algorithms, and where it is configured. Use it to build your inventory before planning any upgrade. Areas the supplied facts do not document are marked for confirmation.
| Area | What it protects and algorithm family | Public-key dependency | Where it is configured |
|---|---|---|---|
| HTTPS and management interface | Encrypts client and admin connections. TLS 1.3 and 1.2 by default, with cipher suites chosen by Keycloak when unset | Yes, the server certificate is a public-key credential | https-protocols, https-cipher-suites, https-certificate-file, https-certificate-key-file, https-management-* |
| Outgoing TLS trust | Validates certificates when Keycloak connects to other servers, using Java's default certificates plus added ones | Yes, trust depends on X.509 certificates and their public keys | --truststore-paths, tls-hostname-verifier (default DEFAULT) |
| Realm keys and token signing | Signs tokens for each realm. Default RSA key is RS256 at 2048 bits, with ECDSA, EdDSA and HS512 options per the inventory | Yes for RSA and ECDSA signing keys, no for HS512 symmetric signing | Realm key providers rsa-generated, rsa and java-keystore, in the realm key settings |
| Token encryption keys | Encrypts tokens for specific recipients using RSA-OAEP and ECDH-ES, per the inventory | Yes, these are public-key key-encryption algorithms | Realm and client token settings, as listed in the inventory issue (confirm the exact setting names in your version) |
| SAML signing | Signs and verifies SAML assertions. Legacy RSA_SHA1 and DSA_SHA1 options are flagged for removal | Yes, SAML signatures are public-key | Realm key and SAML client settings (confirm against your release) |
| FIPS mode | Restricts algorithms to a FIPS 140-2 approved set through BouncyCastle FIPS jars. Strict mode needs RSA of at least 2048 bits and disallows RSA1_5 by default | Yes, RSA and ECDSA remain in use under approved constraints | --features=fips, --fips-mode=strict, and the providers setting for BouncyCastle FIPS jars |
| JVM and container runtime | Supplies the crypto implementation and TLS stack. The server image uses OpenJDK 21 for FIPS, and Keycloak supports OpenJDK 25 | Inherits the public-key support of the JDK version you run | Container image tag, JDK installation and Java runtime options in your deployment |
| Firmware and vendor-managed update channels | Not applicable for self-hosted Keycloak, since no firmware or vendor-managed appliance is involved | Not applicable | Not applicable |
| Post-quantum key exchange and signatures | No shipped release is documented as supporting post-quantum key exchange or ML-DSA signatures. Confirm current status in the release notes before relying on it | Not applicable | Not documented in the supplied facts. Check the features guide and release notes for your version |
Which protocols Keycloak terminates and originates
Keycloak handles cryptography in two directions: it terminates HTTPS from clients and administrators, and it originates TLS connections to external services through its truststore. SAML and OIDC add a third layer, where signed and encrypted tokens carry identity data between Keycloak and relying parties. Each card below covers one of these protocol surfaces so you can inventory what your deployment actually negotiates.
Inbound HTTPS on port 8443
Keycloak serves HTTPS on port 8443 by default, set through https-port. The https-protocols option defaults to TLSv1.3,TLSv1.2, and deprecated protocols are disabled by default. Any value your Java runtime does not support is silently ignored, so an administrator who sets an unsupported protocol may not see an error. Confirm the negotiated protocol with a test client against your own deployment rather than trusting the configured value alone.
Cipher suites without a fixed default
The https-cipher-suites setting has no fixed default. When no value is given, Keycloak selects a default from what the JRE offers, so the effective list depends on your Java version and provider configuration. Record the cipher suites your running instance negotiates, not only the settings in your configuration files. Changes to the JRE or to the FIPS provider can change this list without any change to Keycloak's own settings.
HTTPS certificate and keystore files
The HTTPS certificate comes from https-certificate-file and https-certificate-key-file for PEM, or from https-key-store-file for PKCS12 or JKS. If both formats are configured, PEM files take precedence. The keystore password defaults to password when unset, so check that your deployment sets its own value. Certificates and keystores reload every hour by default under https-certificates-reload-period, which you can change or disable with -1.
Management interface inheritance
The https-management-* options inherit values from the HTTP options when they are unset, but only when http-management-scheme is set to inherit. If you configure the management interface separately, its TLS settings no longer follow the main listener. Check each management setting on its own, because a value you changed on the main listener may not reach the management port, and the reverse is also true.
Outgoing TLS through the truststore
Keycloak's outgoing TLS connections to identity brokers, user federation servers and other services trust Java's default certificates plus any added through --truststore-paths. The tls-hostname-verifier setting defaults to DEFAULT. The generated truststore is PKCS12 by default and BCFKS in FIPS strict mode. Inventory every external endpoint Keycloak calls, because each one is a TLS client connection governed by this truststore.
SAML and OIDC signed and encrypted tokens
SAML assertions and OIDC tokens carry identity data that Keycloak signs and, in some configurations, encrypts for the relying party. Signing uses the realm's active key pair, which is covered in the realm keys section of this page. The token protocols are separate from TLS: a deployment can have strong HTTPS and still issue tokens under the algorithms its realm keys use. List which clients receive signed or encrypted tokens, since each client's configuration controls what it accepts.
Where Keycloak certificates and keys are stored and who rotates them
The HTTPS certificate that Keycloak presents to clients is supplied by the administrator, not generated by Keycloak. It can be provided as PEM files through https-certificate-file and https-certificate-key-file, or as a PKCS12 or JKS keystore through https-key-store-file. If both formats are configured, the PEM files take precedence. Certificates are typically issued by your internal certificate authority or a public CA and copied onto the host or mounted into the container.
- Issuance: The administrator requests the certificate outside Keycloak and places the files on the server.
- Storage: PEM files or a keystore on the host filesystem, referenced by path in the startup configuration.
- Keystore password: If
https-key-store-passwordis unset, the password defaults topassword. Change it for any production keystore. - Encrypted keys: From Keycloak 26.8.0, encrypted PKCS#8 PEM private keys are supported through
https-certificate-key-file-password. - Rotation: The server administrator replaces the files or keystore, and Keycloak picks up the change through the periodic reload described in the last tab.
Check that the keystore password has been changed from the default, and record the Keycloak version that will read the encrypted key format.
Each realm holds its own signing key pair for tokens and related signatures. When a realm is created, Keycloak generates a key pair and a self-signed certificate automatically. Administrators can replace these with other providers: rsa-generated creates a new key inside Keycloak, rsa uses an uploaded PEM private key with an optional certificate, and java-keystore loads a JKS, PKCS12 or BCFKS keystore.
- Issuance: Generated automatically at realm creation, or created or imported by a realm administrator.
- Storage: Inside the Keycloak database for generated keys, or in a file or keystore that the provider configuration points to.
- One active key: A realm has one active key pair at a time. The provider with the highest priority supplies the active key, and any other keys remain as passive keys.
- Rotation guidance: The realm keys documentation suggests creating new keys every three to six months. Rotation is a realm administrator task performed in the admin console or through the admin API.
- Default algorithm: The maintainer-authored cryptographic inventory (issue 46336) lists RS256 as the default and a default RSA key size of 2048 bits.
Before rotating, confirm which clients and resource servers cache the public keys, since they must fetch the new key set to verify tokens issued after the change.
The truststore controls which certificate authorities Keycloak trusts when it connects outward, for example to a directory, an identity provider or a federation endpoint. Trust starts from Java's default certificates. Additional certificates are added through --truststore-paths. Keycloak generates its own truststore from these inputs.
- Issuance: Obtained from your internal CA or the remote service operator, then supplied as a file path.
- Storage: The generated truststore is PKCS12 by default and BCFKS in FIPS strict mode, stored under the Keycloak data directory.
- Hostname verification: The
tls-hostname-verifieroption defaults toDEFAULT. - Rotation: Whoever runs the remote service or the internal CA supplies the new certificate, and the server administrator adds it to the truststore paths and restarts or reloads as the release requires.
- FIPS: Strict FIPS mode changes the truststore format, so test the generated file in that mode before relying on it.
Confirm that every outbound dependency's certificate chain is covered, because a missing root shows up only when that connection is next used.
Keycloak reloads HTTPS certificates and keystores on a timer, so replacing files does not always require a restart. The reload period is set by https-certificates-reload-period, which defaults to 1h with a minimum of 30 seconds. Setting the value to -1 disables the reload. The management interface uses https-management-* options, which inherit from the HTTP options only when http-management-scheme is inherited.
- Reload interval: The default is one hour, so a replaced certificate may take up to that long to be served.
- Management interface: Confirm whether the management options inherit the main HTTPS settings or have their own files.
- Disabling reload: If set to
-1, a restart is required to load new material. - Ownership: Platform engineers run the reload and restart procedure, while the security team approves certificate and key changes.
- Port: The HTTPS port defaults to 8443 through
https-port, which matters for firewall and load balancer rules.
After any replacement, verify the served certificate with a client connection, and record the time of the change so you can match it against logs.
How administrators and tools reach Keycloak and what protects each path
Administrators reach Keycloak's admin console and admin REST API over the same HTTPS listener that serves end-user logins, unless the deployment moves management onto a separate management interface. Each path is governed by TLS options, so the first inventory step is to record which interface carries admin traffic and which settings protect it. Keycloak's TLS guide says the HTTPS port defaults to 8443 (https-port), that the TLS protocols default to TLSv1.3,TLSv1.2 (https-protocols), and that https-cipher-suites has no fixed default, so Keycloak selects one when no value is given. Confirm the actual values in each deployment rather than assuming the defaults, because a value the JRE does not support is silently ignored.
The management interface is configured separately through the https-management-* options, including https-management-certificate-file, https-management-certificate-key-file and https-management-certificate-key-file-password. The TLS guide says these options inherit from the HTTP options when unset, but only when http-management-scheme is inherited. If an operator sets http-management-scheme to a different value, the management listener no longer picks up the main HTTPS settings, and it must be configured explicitly. Check this setting first, since an inherited value can make the admin path look configured when it is not. Since 26.8.0, encrypted PKCS#8 PEM keys are accepted for the management interface through --https-management-certificate-key-file-password, which matters for any inventory that records key file formats.
The supplied facts do not document how clustered or high-availability links between Keycloak nodes, or between nodes and their database, are secured, so this page cannot state their protocols or key handling. Confirm with the vendor and in your own deployment which inter-node and database connections use TLS, which certificates they present, and whether the cluster uses a separate management interface. The certificate reload setting also affects these paths: certificates and keystores reload every hour by default (https-certificates-reload-period, default 1h, minimum 30 seconds, -1 disables), so record the interval your deployment uses when you plan a certificate change.
Which Keycloak software, JVM and update channels the organization controls
Keycloak runs inside infrastructure the organization operates, so the server, provider jars and Java runtime are its own decisions to make and track. These cards cover the components to inventory before planning any post-quantum change, and the points the supplied sources do not settle.
The Keycloak server version
Keycloak is self-hosted, so the organization decides which release runs and when it changes. The release notes showed 26.8.2 as the latest version when checked on 2026-12-03, but the page gave no release date, so the date of that release cannot be confirmed from the source. Record the exact version in use, including patch level, because cryptographic defaults and feature flags change between releases. Compare the running version against the release notes before any change.
Keycloak release notesThe OpenJDK 21 container image
The Keycloak server container image continues to use OpenJDK 21, which the FIPS guide recommends for compliance. This is the runtime that handles TLS, signing and key operations in the default container deployment. Confirm which JDK the image actually contains, since a custom base image or a different distribution changes the JVM the organization is responsible for.
Keycloak FIPS guideJava 25 support alongside container 21
Keycloak states that it supports running on OpenJDK 25, while the server container image stays on OpenJDK 21 to support FIPS mode. An organization running its own JVM outside the container can therefore be on a different Java version from the image. Record which JDK each environment uses, because the cryptographic providers and algorithms available depend on the runtime and not on Keycloak alone.
Keycloak release notesBouncyCastle FIPS jars added by the operator
Keycloak does not ship the BouncyCastle FIPS jars, so the operator must download them and add them to the providers path for FIPS mode. These jars are a separate component with their own version and update history, and they must match what the FIPS deployment is meant to use. Track the jar versions in the inventory alongside the Keycloak and JDK versions, since a change to either can alter the cryptography in use.
Keycloak FIPS guideSigning and update channels to confirm
The supplied sources do not cover how Keycloak images or jars are signed, or which update channels the vendor and any distribution provide. Ask the vendor or the distribution used whether images and provider jars carry signatures, how they are verified, and which channel delivers security fixes. Until those answers are on file, treat the source of every component as unverified in the inventory.
What to record for each Keycloak cryptographic item
Each row names one field an inventory entry needs for a Keycloak cryptographic item, with the documented default where the facts supply one. Where a default is listed, treat it as the starting value and replace it with the value your deployment actually uses. Record the version and scope with every row, since the same setting can differ between realms, the TLS listener and the management interface.
| Field | What to record | Keycloak default or note |
|---|---|---|
| Product and version | Keycloak release and server image tag, plus the OpenJDK version in the runtime | Latest version checked on 2026-12-03 was 26.8.2. The server image uses OpenJDK 21 to support FIPS mode. |
| Realm or server scope | Realm name for key and token settings, or the listener (HTTPS, management) for TLS settings | Realm keys are per realm. TLS options apply to the server listener and management options inherit from HTTP only when inherited. |
| Owner | Team or named person responsible for the realm key, certificate or keystore | No default. Record the owner in your own change process, since Keycloak does not set one. |
| Location | Realm key provider ID, certificate file path, keystore path or truststore path | Key providers are rsa-generated, rsa and java-keystore. The HTTPS certificate is set by https-certificate-file or https-key-store-file. |
| Protocol | TLS, SAML, OpenID Connect, or the realm key use (token signing, key encryption) | HTTPS protocols default to TLSv1.3,TLSv1.2 (https-protocols). Deprecated protocols are disabled by default. |
| Algorithm and key size | Signature or key encryption algorithm, and RSA or EC key size in bits | Default RSA signing is RS256 and the default RSA key size is 2048 bits. Symmetric default is HS512. Replace these with recorded values if you have changed them. |
| Certificate issuer and expiry | Issuer name and notAfter date for each HTTPS, truststore or realm certificate | A realm key pair and self-signed certificate are generated automatically when a realm is created. Replace that certificate with your own if your policy requires it. |
| Configurable or fixed | Whether the setting can be changed by the operator, and the option or UI that changes it | https-cipher-suites has no fixed default and Keycloak picks a reasonable one. Passive and active realm keys can be added in the admin console. |
| Confidentiality period | How long the data protected by the item must stay confidential, recorded in years, by data class | No default from Keycloak. Record this from your data classification. It drives how urgently you address key exchange. |
| Rotation and reload | Key rotation interval and certificate reload period you have set | The realm keys guide suggests creating new keys every three to six months. Certificates and keystores reload every hour by default (https-certificates-reload-period, 1h). |
Which Keycloak items depend on public-key algorithms and are in scope for migration
Migration scope in Keycloak starts with the cryptographic inventory the project maintains in issue #46336, opened on 2026-02-13 and still open. That inventory classes RSA (RS and PS signatures), ECDSA (ES256, ES384, ES512), EdDSA, RSA-OAEP key encryption and ECDH-ES as public-key algorithms. It also records that SAML still offers RSA_SHA1 and DSA_SHA1, which the inventory flags for removal. Treat these as the public-key items to plan around, and treat the HS512 default for symmetric keys and the hash functions as outside the public-key set, since they do not rely on the same mathematics for key agreement or signing.
Three groups of items fall in scope. The first is the HTTPS certificate and its private key, set with https-certificate-file and https-certificate-key-file in PEM form or https-key-store-file in PKCS12 or JKS form, where PEM takes precedence if both are configured. The second is the realm signing keys: each realm holds one active key pair plus any passive keys, generated as rsa-generated, uploaded as rsa, or imported through java-keystore. The third is SAML signing and encryption material for each client. Inventory each of these per realm and per client, because the same algorithm can appear in several places.
Two update points matter for the inventory. Issue #46336, in an update dated 2026-11-26, records that RSA keys below 2048 bits remain supported outside strict FIPS mode, and that RSA1_5 stays available. Confirm in your own realms which key sizes and algorithms are actually configured, because a deployment can carry weaker keys than the defaults suggest. For the function-by-function view of where RSA and elliptic-curve keys are used in login and data flows, see the sibling page on which Keycloak functions depend on RSA and elliptic-curve keys.
How to gather the Keycloak cryptographic information
This sequence builds a dated inventory of the keys, certificates, TLS settings, runtime and feature flags that a Keycloak deployment uses. Each step names the place to read the value and the record to keep, so the same inventory can be reviewed or repeated after an upgrade. Questions the public documentation leaves open are collected at the end for the vendor.
Export the server configuration and TLS options
The engineer who runs the Keycloak server exports its effective configuration, from the command line, the keycloak.conf file or the container environment variables. Record the value of https-protocols, which defaults to TLSv1.3,TLSv1.2 according to the Keycloak TLS guide, and note whether https-cipher-suites is set, because that option has no fixed default and Keycloak selects one when it is empty. Record https-port (default 8443), the keystore or certificate file settings, and the truststore-paths and fips options. Keep the export with its date. The step is done when every TLS and truststore key that is set, and every one that is left at its default, is written down with its value.
List realm keys for each realm
In the admin console, an administrator opens each realm, goes to Realm settings and then Keys, and records every key pair listed. For each key, note the provider (rsa-generated, rsa for an uploaded PEM key, or java-keystore), its priority, and whether it is the active key or a passive key. The Keycloak realm keys documentation says a realm has one active key pair at a time, that the highest provider priority becomes the active key, and that a new realm generates a key pair and self-signed certificate automatically. Repeat the list for every realm, including those created by import, because each realm holds its own keys. The step is done when every realm has a dated list of its keys.
Inventory certificate and keystore files
On the host or in the mounted volumes, the operator lists every certificate, private key and keystore that Keycloak reads: the PEM files named by https-certificate-file and https-certificate-key-file, any PKCS12 or JKS file named by https-key-store-file, and the truststore files generated or added through truststore-paths. For each file, record the expiry date by reading its certificate with the standard openssl or keytool utilities, and note the file type. The Keycloak TLS guide states that PEM files take precedence when both PEM and keystore files are configured, so record which set is in use. The step is done when each file has a path, type and expiry date in the inventory.
Confirm the JDK version and FIPS mode at runtime
The operator confirms the Java runtime from the running process, not from the image tag alone. Run java -version inside the running container or on the server, and record the vendor and major version. Check whether FIPS is active by reading the fips-mode setting and the features list in the running configuration. The Keycloak FIPS guide says fips-mode defaults to non-strict, that strict mode is needed for an approved mode, and that the guide recommends OpenJDK 21 for compliance. The Keycloak 26.6.0 release notes say the server container image continues to use OpenJDK 21 for FIPS mode. The step is done when the JDK version, vendor and FIPS mode are recorded from the live system.
Check the features list for enabled flags
The operator reads the enabled features from the running configuration or the startup output, and compares them with the Keycloak features guide. Record every flag that is set, including fips:v1, which the guide lists as supported but disabled by default. Also record any experimental or preview flag. The features guide does not list a post-quantum or hybrid key exchange flag among its supported, preview, deprecated or experimental features, so an absent flag is recorded as absent and not as a result. The step is done when the enabled features are listed with the release they were read from.
Record the algorithms the vendor documents as defaults
The security lead reads the Keycloak cryptographic inventory tracked in issue 46336 and records each default it names: RS256 for RSA token signing, HS512 for symmetric keys, and a default RSA key size of 2048 bits. The same inventory lists RSA, ECDSA and EdDSA signatures, RSA-OAEP and ECDH-ES, and it flags RSA_SHA1 and DSA_SHA1 for removal. Keep each default with the note that it comes from an open issue that was last updated on 2026-11-26, and that it may change in a later release. The step is done when the defaults in use in this deployment are compared with the documented defaults, and each difference is noted.
Compile the dated inventory
The operator and the security lead combine the outputs of the earlier steps into a single dated record for each Keycloak instance. The record holds the server configuration, the realm key lists, the certificate and keystore expiry table, the runtime JDK and FIPS mode, the enabled features and the algorithm defaults. Store it with the configuration exports under change control, so later upgrades can be compared against it. The step is done when the record has an owner, a date and a version of Keycloak, and when every blank field has a note saying what must still be confirmed.
Questions engineers and vendor-risk reviewers ask about Keycloak cryptography
Is Keycloak quantum safe?
No product can be declared quantum safe from the available sources, and Keycloak does not support post-quantum key exchange or post-quantum signatures in any documented release. Its default signing algorithm is RS256 and its default RSA key size is 2048 bits, both of which are public-key algorithms that quantum computers would threaten. The Keycloak project has open work on hybrid TLS key exchange (issue #43691) and ML-DSA token signing (issue #43692), but neither is shipped or documented as supported. Maintainers have also said token signing is a lower priority than TLS. Treat Keycloak as not post-quantum ready today, and inventory its public-key uses so you can track its progress against the open issues.
Which Keycloak version should a post-quantum inventory name?
Name the exact server version you run, along with the JDK and the container image, because the cryptographic behavior depends on all three. The latest release shown in the Keycloak release notes was 26.8.2 when checked on December 3, 2026, though those notes gave no release date for it. Record the FIPS mode setting too, since strict FIPS mode changes which RSA key sizes and algorithms are allowed. Note that the server container image uses OpenJDK 21 to support FIPS mode, even on releases that can run on OpenJDK 25. Also record the version of every provider and adapter you load, because those can carry their own cryptographic libraries.
Does recording Keycloak's cryptography cost extra?
Recording the cryptography is mostly internal work, and the cost depends on how many realms, clients and TLS endpoints you run. Your engineers or your security team will need to read the realm key settings, the TLS configuration, the truststore and the JDK version, then record each public-key use. Costs rise with the number of realms, the number of federated clients and SAML connections, and the number of environments that need the same review. DeployOpen does not publish prices. A quote follows from a written scope, so ask for the scope to list which realms, endpoints and environments are included, and whether the review covers SAML and OIDC clients separately.
What breaks if a TLS setting is wrong in Keycloak?
The most important silent failure is that Keycloak ignores a TLS protocol value that the Java runtime does not support, so the server can start with a different protocol set than the one you wrote. The https-protocols option defaults to TLSv1.3,TLSv1.2, and deprecated protocols are disabled by default. If you set a protocol that your JDK does not support, Keycloak does not warn you, so verify the negotiated protocol with a test client after every change. Similar checks apply to https-cipher-suites, which has no fixed default, and to the certificate files, because PEM files take precedence over a keystore when both are configured. Also remember that certificates reload every hour by default.
What should we ask Keycloak's vendor about post-quantum plans?
Ask the Keycloak project for its current status and dates on the open post-quantum work, and point them to the specific issues rather than asking a general question. The main items are issue #43690, which is the parent readiness issue; issue #43691, which covers hybrid key exchange in TLS 1.3; issue #43692, which covers ML-DSA signatures for OAuth and OpenID Connect; and discussion #40496, where maintainers explained their priorities. Ask whether any release is planned to document a post-quantum feature flag, whether hybrid signatures are supported in JWS, and how SAML is affected by pending IETF work. Record the date of each answer, because the issues were still open when last checked.
Can our team run the Keycloak cryptography inventory ourselves?
Yes, a team that already runs Keycloak can usually do the inventory itself, using the realm key documentation, the TLS guide and the truststore guide as its reference points. The effort depends on how many realms you run, how many clients use SAML or OIDC signing, whether you use custom providers, and whether FIPS mode is enabled. Teams often need outside help when many realms have drifted from a standard configuration, when custom providers or adapters must be traced, or when the evidence must be prepared for an assessment. An independent auditor or certification body would issue any formal opinion. DeployOpen can plan and support the inventory with a fixed scope agreed in writing before work starts.
How DeployOpen helps build and maintain a Keycloak cryptographic inventory
DeployOpen works with your team to find every place your Keycloak deployment uses cryptography: realm keys, token signing, TLS settings, truststores and the Java runtime beneath them. We record each item against the version, configuration and component it applies to, so the inventory can be reviewed, updated and handed to your security and compliance teams.
How we scope
- Confirm the Keycloak version, realms, clients, adapters and deployment model that the inventory must cover.
- List the Java runtime, container image and FIPS mode settings in use, since these determine which algorithms are available.
- Agree the written scope, deliverables and timelines before work starts, as engagements are fixed-scope by default.
How we build
- Record realm key providers, active and passive keys, and the algorithms each key uses for token signing.
- Document HTTPS settings including protocols, cipher suites, certificate files, keystore types and reload periods.
- Map outgoing TLS trust, truststore paths and hostname verification, and note any SAML algorithms flagged for removal.
How we hand over
- Deliver a dated inventory that states the version and setting each entry applies to, with links to the matching Keycloak documentation.
- Flag open upstream items, such as post-quantum tracking issues, separately from what the shipped release documents.
- Walk your team through the inventory and agree the update process for future realm, TLS and runtime changes.
How we support
- Keep the inventory current through ongoing support, which is available as a retainer after the initial handover.
- Retest the inventory after Keycloak upgrades, JDK changes and realm key rotations, which the guides suggest every three to six months.
- Continue testing on a retainer basis so changes to TLS and signing settings are reflected in the records.

