Where Java and OpenJDK use cryptography, and why to inventory it now
Build a cryptographic inventory of every place Java and OpenJDK touch cryptography, and assign that work to the platform or security engineer who owns the JDK baseline. The areas to cover are TLS through the SunJSSE provider, keystores and certificate paths, JAR and code signing, time stamping, and the security configuration files that set the rules for all of them. Start the inventory now because post-quantum work depends on knowing exactly which connections, stores and signatures use RSA, Diffie-Hellman or elliptic-curve keys before anything is changed. The sources listed on this page cover JDK 27 and the OpenJDK master branch. Releases before JDK 27 may behave differently, so record the exact release, vendor build and patch level of every runtime you find, not just the major version.
The TLS area is where the inventory starts. In JDK 27, the SunJSSE provider offers hybrid key exchange groups X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024, and by default the most preferred group is X25519MLKEM768, so a connection negotiates a hybrid group whenever the peer supports it. Other groups, such as secp256r1, x25519 and the ffdhe groups, remain classical public-key schemes. The TLS signature schemes listed for JDK 27 are all classical, with no ML-DSA entries. Check the jdk.tls.namedGroups, jdk.tls.client.protocols and jdk.tls.server.cipherSuites properties in each service, and check whether any code calls SSLParameters.setNamedGroups, because either can change what is negotiated. Record which services set these properties explicitly and which rely on defaults.
The keystore, certificate and signing areas need the same treatment. In the OpenJDK master branch java.security file, keystore.type is pkcs12, and the jdk.certpath.disabledAlgorithms and jdk.jar.disabledAlgorithms entries already restrict weak RSA, DSA and EC key sizes and SHA-1 use. Locate each cacerts or jssecacerts truststore, each application keystore, and each code that runs keytool or jarsigner. Note the key algorithm, key size and signature algorithm of each, because the JDK 27 defaults derive from the key type, and an ML-DSA key signs with the signature algorithm ML-DSA. Confirm with your own build team whether any artifact pipeline signs JARs, and whether it uses -tsa with RFC 3161 time stamps and SHA-384 defaults. Treat the output as a dated inventory, and repeat it when the runtime changes.
Every area where Java and OpenJDK use cryptography
This table lists each area where Java and OpenJDK use cryptography, the algorithm family the sources name, whether it depends on public-key algorithms, and where it is configured. Use it as a starting inventory, then confirm each area against your own JDK version and settings. Rows the sources do not document are marked for confirmation.
| Area | What it protects | Algorithm family named in sources | Configured in |
|---|---|---|---|
| TLS key exchange | Session keys agreed between client and server during the TLS handshake | Classical ECDHE and FFDHE groups, plus hybrid ECDHE-ML-KEM groups in JDK 27 | jdk.tls.namedGroups, SSLParameters.setNamedGroups |
| TLS signatures and cipher suites | Server and client authentication, and symmetric cipher choice after the handshake | ECDSA, EdDSA and RSA (PKCS#1 and PSS) signature schemes; no ML-DSA scheme listed in JDK 27 | jdk.tls.client.cipherSuites, jdk.tls.server.cipherSuites, jdk.tls.client.protocols, jdk.tls.server.protocols |
| Certificate path validation | Trust decisions on certificate chains, including which algorithms and key sizes are accepted | RSA, DSA, EC and SHA-1 constraints in the certpath rules | jdk.certpath.disabledAlgorithms in java.security |
| Keystores and truststores | Stored private keys and trusted certificates; default truststore is jssecacerts if present, otherwise cacerts | Default keystore type pkcs12; key types depend on the provider chosen | keystore.type in java.security, javax.net.ssl.trustStore system properties |
| Key generation with keytool | Newly created key pairs and self-signed or CSR-based certificates | Default key sizes: RSA and RSASSA-PSS 3072, EC 384, DSA 2048, DH 3072; no default -keyalg | keytool -genkeypair options such as -keyalg, -keysize and -sigalg |
| JAR signing with jarsigner | Integrity and origin of signed JAR files | Default digest SHA-384; signature algorithm derived from key type (for example SHA384withRSA); ML-DSA keys sign with ML-DSA | jarsigner options -digestalg and -sigalg; jdk.jar.disabledAlgorithms |
| Time stamping | Proof of when a JAR was signed, so signatures remain valid after certificate expiry | RFC 3161 Time-Stamp Protocol; default -tsadigestalg SHA-384 | jarsigner -tsa and -tsadigestalg options |
| Disabled-algorithm lists | Which algorithms are refused in TLS, certificate paths and JAR signing | Lists name SHA-1, MD5, RSA and DSA keys under 1024 bits, EC under 224 bits, and SSLv3 through TLSv1.1 | jdk.tls.disabledAlgorithms, jdk.certpath.disabledAlgorithms, jdk.jar.disabledAlgorithms in java.security |
Which TLS settings choose the algorithms Java uses
In Java and OpenJDK, a handful of system properties and one code-level call decide which protocol versions, cipher suites and key exchange groups a TLS connection can negotiate. Together they decide whether a post-quantum hybrid group is ever offered, so each one belongs in the inventory.
Protocol versions in use
The properties jdk.tls.client.protocols and jdk.tls.server.protocols set the handshake protocols for TLS and DTLS. They have no default value, so the protocols in effect depend on the JDK release and on how the application or container sets them. The SunJSSE provider supports SSLv3, TLSv1, TLSv1.1, TLSv1.2, TLSv1.3, DTLSv1.0 and DTLSv1.2. Check each service for an explicit value, since a missing setting leaves the choice to the runtime defaults.
Cipher suites that override defaults
The properties jdk.tls.client.cipherSuites and jdk.tls.server.cipherSuites replace the default enabled cipher suites. The defaults are the SunJSSE list for the release, in order of preference. These properties can also configure weak suites, so a value set years ago may still enable them. Review any value found in a service's startup flags, and compare it with the defaults for the JDK release in use.
Named groups in preference order
The property jdk.tls.namedGroups takes a quoted, comma-separated list of key exchange groups in preference order. If it is unset or empty, the implementation's default groups and preferences apply. The sources list three hybrid ECDHE-ML-KEM groups in JDK 27: X25519MLKEM768, SecP256r1MLKEM768 and SecP384r1MLKEM1024. The default most preferred group is X25519MLKEM768, so a connection negotiates it whenever the peer supports it. Other hybrids must be listed explicitly.
Named groups set in code
Applications can set key exchange groups in code with SSLParameters.setNamedGroups(String[]) and read them back with getNamedGroups(). This is an alternative to the jdk.tls.namedGroups property. A value set in code overrides the system property for that connection. Search the codebase for these calls, since a group list set in application code will not appear in the JVM flags.
Classical groups still offered
The named group table in the JDK 27 standard names specification includes secp256r1, secp384r1, secp521r1, x25519, x448 and ffdhe2048 to ffdhe8192. These are classical public-key schemes. The client sends a classical x25519 key share next to the hybrid X25519MLKEM768 key share, so a classical group may still be chosen when a peer does not support the hybrid. Confirm the negotiated group in test traffic rather than assuming the hybrid was used.
Standard namesWhere Java and OpenJDK keep certificates and keys
TLS servers and clients built on the SunJSSE provider read their private keys and certificate chains from a keystore file that the application or its configuration points to. Those keys are the server's and client's identities in the handshake, and they are where RSA or elliptic-curve private keys sit for the TLS layer. The keystore file itself is the usual place to inventory them, because each entry shows the key algorithm and size.
- Location: The keystore is a file path set by the application, often through the
javax.net.ssl.keyStoreandjavax.net.ssl.keyStorePasswordsystem properties or the equivalent configuration of the server. - Generation:
keytool -genkeypaircreates a key pair and a self-signed certificate. The JDK 27 keytool page gives default sizes of 3072 for RSA, 384 for EC and 2048 for DSA, and derives the default signature algorithm from the key type, such as SHA384withRSA for RSA keys up to 7680 bits. - Rotation: Whoever administers the application or server regenerates the key pair or imports a new certificate with keytool. The sources listed on this page do not describe a rotation process beyond the keytool and keystore options, so confirm your own rotation procedure.
- Algorithm visibility: Use
keytool -list -vto read the key algorithm and size of each entry in a keystore.
Check the keystore path and type for every TLS service in your estate, because a single application can read several keystores.
The truststore holds the certificates that a Java client or server trusts when it validates a peer. The JDK 27 JSSE guide says the default truststore is jssecacerts if that file exists in the security directory, and otherwise cacerts. A site that adds its own trust anchors usually places them in jssecacerts so that the vendor's cacerts file stays unchanged.
- Location: The default is
lib/security/cacertsinside the JDK, andlib/security/jssecacertstakes precedence when it exists. - Selection rule: Java checks for
jssecacertsfirst and falls back tocacertsonly when it is absent, so confirm which file a running process loads. - Generation:
keytool -importcertadds a trusted certificate to a truststore. The sources listed on this page do not state default key sizes for entries added this way. - Rotation: Whoever maintains the JDK image or the site trust list updates the entries, for example when a trust anchor is withdrawn. The sources do not describe a rotation process beyond keytool options.
- Store type: The sources listed here do not say which store type the default truststores use in each release, so check with
keytool -listagainst each file.
Confirm which truststore file each runtime loads, since a stray jssecacerts file silently replaces the vendor defaults.
The keystore.type setting in the java.security file sets the default store format that keytool and the KeyStore API use when a type is not named. In the OpenJDK master branch file read on 2026-12-03, that setting is pkcs12. Other providers can also hold keys, which matters for inventory because keys may sit outside any Java keystore file.
- Default type:
keystore.typeispkcs12in the OpenJDK master branchjava.securityfile read on 2026-12-03. The sources listed on this page do not say whether every shipped release uses the same default. - Listed providers: The master branch lists SUN, SunRsaSign, SunEC, SunJSSE, SunJCE, SunJGSS, SunSASL, XMLDSig, SunPCSC, JdkLDAP, JdkSASL and SunPKCS11, plus SunMSCAPI on Windows and Apple on macOS.
- PKCS#11 and platform stores: SunPKCS11 reads keys from a hardware or software token through a native library. SunMSCAPI and Apple reach the Windows and macOS certificate stores, so keys may live in the operating system rather than a file.
- Rotation: Rotation follows the token, HSM or operating system store that holds the key. The sources do not describe a rotation process for these providers.
For each provider in use, record where the private key is held, since that location decides who can rotate it.
Signing keys for JAR files are used by jarsigner, which writes signature files into a signed archive. These are separate from TLS keys and are typically held in a keystore that the release engineering team controls. The JDK 27 jarsigner page gives the defaults used when the key is chosen automatically.
- Location: The signing key is held in a keystore the signer names with the
-keystoreoption, and the signer must supply the key password. - Generation:
keytool -genkeypaircreates the key used to sign, and the same default key sizes and signature algorithms apply as for TLS keys. - Defaults: The default digest algorithm is SHA-384, and the default signature algorithm follows the key type, such as SHA384withRSA for RSA keys up to 7680 bits.
- Timestamping:
-tsaadds a time stamp using the RFC 3161 Time-Stamp Protocol, and-tsadigestalgdefaults to SHA-384. - Post-quantum key type: The JDK 27 jarsigner page says an ML-DSA key signs with the ML-DSA signature algorithm and a
.DSAsignature block file. - Rotation: Release engineering or the team that owns the signing identity rotates the key. The sources do not describe a rotation process beyond the keytool and jarsigner options.
List every keystore that a build pipeline uses for jarsigner, because these keys sign software that customers install.
Which paths reach Java and OpenJDK cryptographic settings
Administrators and deployers reach Java and OpenJDK cryptographic settings through four main paths, and each one can change how TLS, keystores and signing behave. The first is the java.security file in the JDK. Its jdk.tls.disabledAlgorithms, jdk.certpath.disabledAlgorithms, jdk.jar.disabledAlgorithms and keystore.type entries, along with the list of security providers, are read from that file at startup. The OpenJDK master branch file, read on 2026-12-03, sets keystore.type to pkcs12 and includes SHA-1 and RSA or EC key-size limits in its disabled lists. The second path is system properties passed at launch, such as jdk.tls.namedGroups, jdk.tls.client.protocols, jdk.tls.client.cipherSuites and jdk.tls.keyLimits. The third is code calls to SSLParameters, including setNamedGroups, which the JDK 27 JSSE guide describes as an alternative to the named groups property. The fourth is the keytool and jarsigner command lines, which set key types, key sizes, signature algorithms, digest algorithms and time stamping when keys are created or JARs are signed.
The sources listed on this page do not document a remote management interface for these settings. Whether anyone can change them from outside a host therefore depends on how the JDK is packaged and how the application is deployed, not on a feature of Java itself. A java.security file can be replaced or edited on disk, and launch properties can be set by wrapper scripts, container images, service definitions or application servers. Reviewers should record, for each system, who can write the java.security file, which startup scripts and environment variables set jdk.* properties, and whether any application code calls SSLParameters at runtime.
Confirm how your build and deployment tooling sets these values before you rely on any inventory. Check container image build files, configuration management code, CI pipelines and application server settings for -D flags and copies of java.security. Check whether a jssecacerts file or a custom cacerts truststore is present, because the JDK 27 JSSE guide says the default truststore is jssecacerts if it exists and otherwise cacerts. Keep the results with the version of each JDK you run, since defaults and the entries in java.security change between releases and vendor builds.
Signing and update paths that Java and OpenJDK rely on
Java and OpenJDK use the same disabled-algorithm lists and signing defaults across certificate paths and JAR files. The cards below cover the settings that govern how signed code is produced, time stamped and verified, and what to check in each. The sources describe these as settings in the JDK itself and say nothing about vendor-controlled firmware or license channels.
JAR signing and verification limits
The jdk.jar.disabledAlgorithms property in java.security rejects MD2, MD5, RSA and DSA keys under 1024 bits, and SHA-1 signatures dated after 2019-01-01. Verification of signed JARs therefore fails for artifacts that rely on those algorithms. Check the java.security file on each runtime, since a custom value replaces the default list. Review any JARs that still carry SHA-1 signatures before changing the property.
OpenJDK java.securityDefault jarsigner digest and signature
The jarsigner tool uses SHA-384 as its default digest algorithm. Its default signature algorithm is chosen from the signing key type, for example SHA384withRSA for RSA keys up to 7680 bits. Build scripts that omit -digestalg and -sigalg inherit these defaults, so a key change can change the signature algorithm without any script edit. Record the effective algorithm in release checks.
JDK 27 jarsignerML-DSA signing with a DSA block file
The JDK 27 jarsigner documentation says an ML-DSA key signs with the signature algorithm ML-DSA and writes a .DSA signature block file. Verifiers and tooling that expect a .DSA block to hold classical DSA material may misread such a JAR. Test signed artifacts end to end with every verifier in the release path before publishing them. Confirm with the vendor how older verifiers handle this file name.
JDK 27 jarsignerRFC 3161 time stamping with jarsigner
The -tsa option adds a time stamp from a Time-Stamp Authority using the RFC 3161 Time-Stamp Protocol. The -tsadigestalg default is SHA-384. A time stamp lets a signature remain verifiable after its signing certificate expires, so the authority and its digest choice belong in the signing inventory. Confirm which authorities your release process uses and what digest they accept.
JDK 27 jarsignerDisabled lists for certificate paths
The jdk.certpath.disabledAlgorithms property in java.security lists MD2, MD5, SHA1 for jdkCA and TLSServer usage, RSA and DSA keys under 1024 bits, and EC keys under 224 bits. Certificate chains that use any of these fail validation. Review the property in each runtime and in any custom java.security file that overrides it. Check the certificate chains that internal services present before changing the list.
OpenJDK java.securityShared scope of the disabled lists
The jdk.certpath.disabledAlgorithms and jdk.jar.disabledAlgorithms properties are separate settings that share several entries. A change to one does not change the other, so each list needs its own review. Keep a record of both values for every runtime in use. Confirm with the vendor whether any supplied distribution changes these defaults.
What to record for each Java and OpenJDK cryptographic item
This table lists the fields to capture for each place Java or OpenJDK uses cryptography, such as a TLS connection, a keystore or a signing step. Read each row as a question your inventory must answer, with the source named where the reference documents point. Record the JDK version and build separately, because the JSSE defaults, the disabled-algorithm lists and the hybrid groups depend on the release you run.
| Field | What to record | Where the sources name it |
|---|---|---|
| Product and JDK version | The exact JDK release and update, for example JDK 27 or a JDK 24 build, and whether the OpenJDK master branch or a vendor build is in use | Standard Names pages are versioned per release, and the JDK 27 and JDK 24 specifications are the references for the algorithm lists |
| Vendor build or distribution | Which distribution ships the runtime, since defaults can differ between builds | The OpenJDK java.security file is the upstream default, and vendor builds may change it |
| Owner | The team responsible for the application, keystore, truststore or signing key | Not covered by the sources listed on this page; assign an owner in your own process |
| Location | The file path of java.security, the keystore or truststore file, the provider name, or the jdk.tls.* property set | The java.security file, the default truststore (jssecacerts, then cacerts) and the keytool and jarsigner defaults are named in the JSSE guide and tool pages |
| Protocol or purpose | TLS, certificate path validation, JAR signing, time stamping or keystore storage | The JSSE guide covers TLS, the keytool page covers keystores, and the jarsigner page covers JAR signing and RFC 3161 time stamps |
| Algorithm and key size | The key exchange group, signature scheme, cipher suite and key size, for example X25519MLKEM768 or RSA 3072 | The Named Groups and TLS signature scheme tables in Standard Names list the groups and schemes, and keytool lists default key sizes |
| Certificate issuer and expiry | The issuing authority and validity period for each certificate in the keystore or truststore | The keytool and jarsigner pages describe certificate handling; expiry dates come from your own certificate records |
| Configurable or fixed in the JDK | Whether the value is set by a property, by code through SSLParameters, or fixed in the release | The jdk.tls.namedGroups property and SSLParameters.setNamedGroups are the two documented ways to change groups; cipher suite and protocol properties are also listed in the JSSE guide |
| Confidentiality lifetime | How long the data the item protects must stay confidential, which sets how urgent a change is | Not covered by the sources listed on this page; agree the period with the data owner |
Which Java and OpenJDK items depend on public-key algorithms
Start the inventory by splitting Java and OpenJDK items into two groups: those that depend on public-key algorithms and those that rely only on symmetric algorithms and hashes. Items in the first group need a post-quantum plan. Items in the second group need only a check that their key sizes and algorithm choices remain appropriate. In the TLS stack, the classical key exchange groups are secp256r1, secp384r1, secp521r1, x25519, x448 and the ffdhe2048 to ffdhe8192 finite-field groups. These groups use elliptic-curve or Diffie-Hellman key agreement, so they depend on public-key algorithms. The TLS signature schemes listed for JDK 27 are ECDSA, EdDSA and the RSA PKCS#1 and RSA-PSS variants, which cover certificate authentication and handshake signatures. The JDK 27 Standard Names specification lists 16 TLS signature schemes and none of them is ML-DSA, so the sources do not show a post-quantum signature scheme for TLS in JDK 27.
The bulk ciphers and digests in the same stack are a different matter. AES-GCM and ChaCha20-Poly1305 encrypt the record data after the handshake, and SHA-384 is the default digest for jarsigner and for the timestamp digest. These are symmetric algorithms and hashes, so they do not share the public-key dependency. Keep them in the inventory as a separate category and record the cipher suite and digest in use, so reviewers can see which items are symmetric only. The keystore and certificate settings sit on the public-key side. The default keytool key sizes of 3072 for RSA and 384 for EC and the jdk.certpath.disabledAlgorithms and jdk.jar.disabledAlgorithms limits on RSA and DSA key sizes all relate to public-key material, so they belong in the public-key group.
The detail for each RSA and elliptic-curve dependency is on the sibling page on RSA and elliptic-curve dependencies, which covers the connections, logins and signatures that rely on those keys. Use this page to confirm the item list, and use the sibling page to record the specific configuration. Confirm in your own environment which key exchange groups and signature schemes your servers and clients negotiate, because the JDK 27 defaults may be overridden by the jdk.tls.namedGroups and jdk.tls.server.cipherSuites properties. The sources listed on this page do not say whether a given production deployment has changed those settings, so check each one.
How to collect the Java and OpenJDK inventory data
Work through these steps in order on each Java deployment to record the runtime build, the TLS and certificate-path settings, the keystores and truststore, the security providers, the signing setup and any custom key exchange code. The result is one inventory record per deployment that shows where public-key cryptography is used and what the JDK does not reveal on its own.
Record the runtime version and vendor build
On each host or container image, run java -version and save the full output, including the vendor line and the build identifier. Use the same runtime that the application actually loads, which can differ from the system default when a service ships its own JDK or sets JAVA_HOME. Note the path to the java binary and the release family, such as JDK 24 or JDK 27, because the standard-name specifications and the TLS defaults differ between releases. The step is done when every deployment has a recorded vendor, build and binary path that matches the running process.
Read java.security and the jdk.tls and jdk.certpath properties
Open the java.security file in the conf/security directory of each JDK home and copy the values of jdk.tls.disabledAlgorithms, jdk.certpath.disabledAlgorithms, jdk.jar.disabledAlgorithms and keystore.type. Then check for overrides in the application, such as -D system properties or a changed java.security file, and record the jdk.tls.namedGroups, jdk.tls.client.protocols, jdk.tls.server.protocols and jdk.tls.client.cipherSuites settings when they are set. Compare the values with the OpenJDK master file and the vendor's build, because distributions can ship different defaults. The step is done when each deployment has its effective values written down, with any overrides marked.
List keystores and the default truststore with keytool
For each keystore the application loads, run keytool -list -v against the file and record the store type, the entry aliases, the key algorithm and key size, the signature algorithm and the expiry date. Also list the default truststore: the JDK uses jssecacerts when that file exists and cacerts otherwise, so check which one is present in each JDK home and whether the application sets javax.net.ssl.trustStore. Keep a note of any entry that uses RSA, DSA, EC or Diffie-Hellman keys, since these are the keys that depend on public-key cryptography. The step is done when every keystore and the active truststore have one record each with type, path and key details.
Check which security providers are configured
Read the security.provider entries in java.security, in their numbered order, and confirm which providers are active in the running process. For the common providers, SunJSSE handles TLS, SunEC handles elliptic-curve keys, SunJCE handles symmetric and some asymmetric operations, and SunPKCS11 and SunMSCAPI appear only where configured or on the matching platform. A provider added at the application level, such as a third-party library, is not in the java.security list, so record any such addition from the application's startup code or classpath. The step is done when each deployment has an ordered list of active providers recorded against its runtime.
Review jarsigner use in the build
In the build scripts and release pipeline, search for jarsigner and for any tool that wraps it, and record each signing key alias, keystore, digest algorithm, signature algorithm and whether a timestamp authority is used through -tsa. The JDK 27 documentation gives a default digest of SHA-384 and derives the default signature algorithm from the key type, so record the explicit values where they are set and the defaults where they are not. Note which signing key type is used, since an ML-DSA key would sign with its own signature algorithm and a .DSA block file. The step is done when every signed artifact has its signing key, algorithm and timestamp source recorded, with the build file or pipeline stage that produces it.
Search the codebase for SSLParameters.setNamedGroups
Run a text search across the source and build configuration for setNamedGroups and getNamedGroups, and for any code that creates or changes SSLParameters. Each match should be recorded with the file, the class, the group list it sets and the path through which the code runs, such as a client connector or a server listener. The JDK 27 guide describes this call as an alternative to the jdk.tls.namedGroups property, so a match overrides that property for the connection it covers. Also search for jdk.tls.namedGroups in code, scripts and deployment files so that both mechanisms are captured. The step is done when every match and every property setting is linked to a deployment and a connection type.
Confirm what the JDK cannot show, with the vendor or deployment tooling
The JDK itself cannot show which peers a deployment talks to, which middleboxes sit on the path, whether a vendor-supplied JDK has been patched beyond the public specifications, or which key exchange a remote endpoint will accept. Record these as open items and confirm them with the JDK distributor, the application vendor or the deployment tooling, such as the configuration management system or the container image build. Ask the vendor whether the runtime is a supported build and which defaults it changes. The step is done when each open item has a named owner, a source to check and a recorded answer or a date for the answer.
How a Java TLS connection chooses its key exchange group
The path starts in the application, which either sets the enabled groups through the jdk.tls.namedGroups system property or through SSLParameters.setNamedGroups, or inherits the JDK default. The client then offers key shares for its preferred groups, and the peer's supported groups are matched against that list. The hybrid group X25519MLKEM768 is the default most-preferred group in JDK 27, so it is chosen whenever both sides support it. Classical groups such as x25519 or secp256r1 are the fallback when the peer does not support a hybrid. Check the enabled list and the preference order in your configuration, since other hybrids must be enabled explicitly.
Group selection path for a Java TLS 1.3 client connection in JDK 27.
Common questions about Java and OpenJDK cryptographic inventory
Is Java quantum safe?
The sources do not support calling Java quantum safe, and no one should describe it that way in a tender or audit response. What the JDK 27 documentation shows is narrower: the Security Standard Algorithm Names specification lists ML-KEM (FIPS 203) and ML-DSA (FIPS 204) with their parameter sets, and the JSSE guide says TLS 1.3 can negotiate hybrid groups such as X25519MLKEM768 by default when the peer supports them. TLS signature schemes in JDK 27 remain classical, and classical groups stay available alongside the hybrids. Treat the inventory as the way to find out what your own applications negotiate, and record the JDK version and any overriding properties with each finding.
Which Java version should the inventory record?
Record the exact runtime version that each application runs on, taken from the running process rather than from the build file, because the JDK version determines which algorithms and default groups apply. Also record the vendor and build, since distributions can differ from the OpenJDK master branch. Post-quantum named groups and ML-KEM and ML-DSA entries appear in the JDK 24 and JDK 27 specifications, so a version earlier than 24 should be flagged for separate review. Note whether the runtime is a long-term support release, and check the Inside Java post of 2026-08-07 for the stated roadmap before deciding how far to upgrade.
Does the inventory add cost, and what drives its effort?
The inventory itself is mostly staff time, with one-time collection cost and some recurring cost when it is repeated after upgrades or new deployments. Effort rises with the number of JVMs, the number of applications that set their own TLS or keystore properties, and how many services load custom security providers. Reading the java.security file, the jdk.tls properties and the keystore configuration per application is usually the slowest step. The sources do not give a figure for typical effort, so ask any outside party for a fixed scope that lists the application count, the environments and the evidence format before agreeing a price.
What should I ask the vendor about settings the JDK does not show?
Ask the vendor which named groups and cipher suites its product enables when it runs on the JDK, and whether it overrides jdk.tls.namedGroups, jdk.tls.client.cipherSuites or the SSLParameters in code. Ask which keystore type and truststore it uses, whether it loads a custom provider, and whether its signing tools use the jarsigner defaults. Ask for the JDK version it ships or supports, and for its statement on ML-KEM, ML-DSA and hybrid key exchange. The sources do not say what any particular product does, so these answers must come from the vendor in writing.
Can the team do the collection itself, or do they need outside help?
Most teams can collect the core facts themselves: the runtime version, the java.security file, the jdk.tls system properties, the keystore type and the truststore location. These are visible on the host and in the application configuration. Outside help adds value where many services need comparing, where code sets SSLParameters directly, or where the team needs a repeatable evidence format for an assessor. A fixed-scope engagement sets the deliverables and timeline in writing before work starts, and DeployOpen can plan that work, but it does not issue audit reports or attestations, so the assessor's own review still applies.
Which Java security settings should the inventory check first?
Check the jdk.tls.disabledAlgorithms list, the jdk.certpath.disabledAlgorithms and jdk.jar.disabledAlgorithms entries, and the keystore.type value in java.security. In the OpenJDK master branch file read on 2026-12-03, keystore.type is pkcs12, and the disabled lists include SHA-1 handshake signatures and several legacy protocols. Also check jdk.tls.client.protocols and jdk.tls.server.protocols, which have no default value, so an explicit setting overrides the SunJSSE defaults. Distributions may ship a different java.security file, so read the file from the runtime being inventoried.
How does the default truststore affect the inventory?
The JSSE guide says the default truststore is jssecacerts if that file exists, and otherwise cacerts. An application therefore may trust a different set of roots from the one a person expects when they open the cacerts file. Record which truststore file each process reads, and check for jssecacerts alongside cacerts on every host. Also note the keytool and jarsigner defaults recorded in the JDK 27 documentation, because a key generated with defaults will carry those algorithms into the inventory.
How DeployOpen works on this
DeployOpen scopes, builds and documents a cryptographic inventory for the Java and OpenJDK estate you run, starting from where TLS, keystores and signing are configured today. Each engagement is fixed-scope, with the written scope fixing which applications, JDK releases and vendors are covered.
How we scope
- Confirm which JDK releases and vendor builds your applications run, since the OpenJDK defaults differ by release.
- List the applications and services that open TLS connections, load keystores or verify signed JARs in your estate.
- Agree in writing which truststores, keystores and jdk.* security properties fall within the inventory.
How we build
- Record the enabled TLS protocols, cipher suites and named groups from jdk.tls.* properties and SSLParameters code.
- Check the java.security file for jdk.tls.disabledAlgorithms, jdk.certpath.disabledAlgorithms and keystore.type settings.
- Map keytool and jarsigner usage, including default key sizes and signature algorithms, to each signing workflow.
How we hand over
- Deliver a dated inventory that states which JDK release, edition and component each finding applies to.
- Separate classical public-key uses from any ML-KEM or ML-DSA settings your estate has explicitly enabled.
- Document open questions for the vendor or project, so your security assessors can record answers with sources.
How we support
- Retest the inventory after JDK upgrades or changes to java.security and jdk.tls.namedGroups settings.
- Offer ongoing support and continuous review as a retainer, scoped separately from the initial fixed-scope inventory.
- Confirm any new release notes or LTS post-quantum roadmap statements against your estate before updating records.

