What a Java certificate or signature error means for post-quantum keys
A Java certificate or signature error about a post-quantum algorithm means the JDK, provider or keytool command that is running does not supply the algorithm named in the certificate or signature. The problem sits in the runtime, not in the certificate itself, so the application or administrator running that JDK must act. In the OpenJDK jdk-24-ga source, GetInstance.java throws java.security.NoSuchAlgorithmException with the message <algorithm> <type> not available when no installed provider supplies the algorithm, and no such algorithm: <algorithm> for provider <provider> when a named provider lacks it. Match the algorithm name in the message against the parameter sets in the Java Security Standard Algorithm Names specification for JDK 25, which lists ML-DSA-44, ML-DSA-65, ML-DSA-87, ML-KEM-512, ML-KEM-768 and ML-KEM-1024. The OIDs in KnownOIDs.java for those names are 2.16.840.1.101.3.4.3.17 through .19 for ML-DSA and 2.16.840.1.101.3.4.4.1 through .3 for ML-KEM, so an error that shows a dotted OID instead of a name points to the same lookup failure.
The JDK does not silently accept a connection or artifact it cannot check. It fails the validation step and reports the error, so a TLS handshake stops and a signed JAR does not verify. Urgency depends on where the error appears. A production TLS endpoint or client that fails on a post-quantum certificate is an outage risk and needs attention now. A signed JAR that fails verification affects only the artifacts signed with that algorithm, and the operator should confirm which JDK version each consumer runs. The JDK 26 security updates list signed JAR support for ML-DSA as JDK-8349732, so a JDK older than that release may not verify ML-DSA-signed JARs at all. Check the version with java -version, which prints to the error stream, or with java --version, which prints to the output stream, and confirm the installed providers with -XshowSettings:security:providers.
Who has to act on a Java post-quantum error
A Java post-quantum error can be fixed at several layers, and each layer belongs to a different person. Before changing anything, identify who controls the JDK, the provider configuration, the keystore and the signing step, because a fix made at the wrong layer will not hold.
Application developer
The application developer controls the JDK version the code is built against and the provider configuration, including any java.security overrides and whether a provider is added at runtime. Check which algorithm names the code requests, such as ML-DSA or ML-KEM, and whether the lookup succeeds under the JDK actually deployed. A lookup failure with a message such as "not available" usually means the JDK or provider does not supply that algorithm, not that the certificate is bad.
Standard algorithm namesServer or platform operator
The server or platform operator sets the runtime the application actually starts with, including the JDK installation, startup flags and any -Djava.security.properties setting. Confirm the runtime version with java -version and check the security providers with -XshowSettings:security:providers. Changes here affect every application on the host, so test them against each service before rolling them out.
Java command referenceKeystore administrator
The keystore administrator runs keytool to generate keys, create certificate requests and inspect stored entries, and runs jarsigner to sign and verify JARs. Keytool requires that the -sigalg value be compatible with -keyalg, and its default signature table in the JDK 25 documentation does not list ML-DSA, so the signature algorithm must be named explicitly. Use keytool -list -v to confirm the owner, issuer and extensions of each stored certificate before replacing it.
Keytool referenceVendor shipping a bundled JRE
A vendor that ships its own bundled JRE controls the JDK version and security configuration inside that product, and customers generally cannot change its JDK or java.security file. Ask the vendor which JDK release is bundled, whether it supplies the post-quantum algorithms, and when an updated runtime will ship. Until then, the error may be outside the customer's control and the request belongs with the vendor's support channel.
User of a hosted service
A user of a hosted Java service generally cannot change the JDK, the provider configuration or the keystore used on the provider's side. The useful action is to ask the service operator which JDK version runs the service and whether post-quantum certificates or signatures are in use. Record the exact error text and the time it occurred, since that is the information the operator needs to trace it.
How to check which JDK and providers are running
This sequence confirms which JDK build is active, which security providers it loads, and what the keystore and signed JARs contain, so you can tell whether a certificate or signature error comes from a missing algorithm, an old runtime, or a certificate that needs replacing. Each check produces output you can compare against the Java documentation for your version.
Confirm the active JDK version
Run java -version in the terminal where your application starts, then run java --version. The first command prints the product version to the error stream, and the second prints it to the standard output stream, so you can capture either one. Record the feature number and build, because post-quantum algorithms such as ML-DSA and ML-KEM arrived in specific releases: the JDK 24 migration guide says JDK 24 provides implementations of ML-DSA and ML-KEM. If your version is older than the release that supplies the algorithm you need, the error is expected and an upgrade is the fix. Confirm the same version inside your service, because the shell and the service may point to different installations.
List the static security providers
Run java -XshowSettings:security:providers to print the static provider settings that the runtime loads. Read the list in order, since the JDK searches providers in that sequence when it resolves an algorithm name. Check whether the provider that should supply your algorithm appears at all. If it does not, the JDK cannot return it through a plain lookup, and you will see errors such as the one that reports an algorithm type as not available. Keep this output with your version record, because the same algorithm name can resolve differently on a different provider list.
Inspect the keystore contents
Run keytool -list -v -keystore followed by the path to your keystore, and enter the store password when prompted. The output prints each entry with its owner, issuer, serial number and extensions in readable form. Compare the signature algorithm and key algorithm on each entry against the names listed in the Java Security Standard Algorithm Names page for your JDK. Note the keystore type as well: the default is pkcs12, set by the keystore.type property in java.security, and JKS appears only when it was chosen with the storetype option. A mismatch between the entry's algorithm and the runtime's supported list is the usual cause of a certificate that the application cannot parse.
Verify signed JAR files
For each signed JAR you ship or load, run jarsigner -verify with the JAR path to see whether the signature validates. Run jarsigner -verify -verbose on the same file to list each signed entry and its signer details. For certificate information about each signer, add the -certs option, which the JDK 26 jarsigner documentation shows with a keystore argument. If the output includes the message jar verified, with signer errors when you use -strict, treat the warning as an unresolved problem, not a pass. Record which JAR failed and which signer it names, since you will need that for the fix.
Check the algorithm name against your JDK
Open the Java Security Standard Algorithm Names page that matches your installed version, and confirm that the algorithm names in your keystore and JAR output appear there exactly as written. Parameter-set names such as ML-DSA-65 or ML-KEM-768 may report a family name through Key.getAlgorithm(), so check both forms before you decide an algorithm is missing. Also compare the OID your tooling reports against the OID listed in the OpenJDK source for your release, since the source defines ML-DSA and ML-KEM object identifiers. Where the page and your output disagree, confirm the JDK version first, then raise the mismatch with the vendor of the certificate or library that produced it.
Record findings before changing anything
Write down the JDK version, the provider list, the keystore type and entries, and the jarsigner results in one place before you change a setting or replace a file. Include the exact error text from your application logs so you can match it to a cause later. This record lets you confirm the fix in the same way you found the problem, and it gives your platform or compliance team evidence of the state you started from. If the checks show that the runtime is too old for the algorithm, plan the upgrade with your change process, and confirm the target version against the Oracle migration guide for that release before you deploy it.
Causes of ML-DSA and ML-KEM errors in Java and the fix for each
This table pairs each likely cause of an ML-DSA or ML-KEM error in Java with the check that confirms it and the fix to apply. Read it from the top row down, since the first matching cause is usually the one to act on. Each fix changes only the JDK, provider, signature algorithm or security configuration named in its row.
| Cause | How to confirm | Fix |
|---|---|---|
| JDK older than 24 lacks the implementation | Run java -version and check whether the major version is below 24. The Java SE 24 migration guide says JDK 24 is the release that provides ML-DSA (JEP 497) and ML-KEM (JEP 496). | Upgrade the runtime to JDK 24 or later, then rerun the failing operation. |
| JDK 24 or later, but the provider lacks the algorithm | Run java -XshowSettings:security:providers to list the static providers. A lookup that reports 'ML-DSA not available' or 'ML-KEM not available' means no installed provider supplies it. | Use a JDK build whose SunJCE or SunEC provider includes the algorithm, or add a provider with -addprovider or -providerClass where the tool supports it. |
| keytool -sigalg does not match -keyalg | Compare the -keyalg and -sigalg values in the keytool command. The JDK 25 keytool documentation says -sigalg must be compatible with -keyalg. | Set -sigalg to the signature algorithm that matches the key, and regenerate the key pair if the mismatch was used during creation. |
| jarsigner -sigalg has no matching provider | Check the -sigalg value against the signing key and the providers listed by the runtime. The JDK 26 jarsigner documentation says a statically installed provider must supply the algorithm or one must be given with -addprovider or -providerClass. | Use a sigalg the signing key supports and add the provider with -addprovider or -providerClass, then rerun the signing command. |
| java.security disabledAlgorithms or override file blocks the algorithm | Locate the java.security file and any file passed with -Djava.security.properties. Check the jdk.certpath.disabledAlgorithms entry and whether security.overridePropertiesFile is set to true. | Remove the blocking entry from the override file, or edit the configuration named in the runtime's documentation, and confirm the change with a test run. |
| Bundled runtime does not match the application JDK | Run java -version from the bundle and from the application's build environment, then compare the two. A bundled runtime older than JDK 24 cannot run ML-DSA or ML-KEM code. | Rebuild the application bundle against the same JDK version used for development and testing, and redeploy it. |
Decision path from error message to fix
The path starts at the exception or verify failure a Java team sees, then branches on three checks. First, the JDK version: JDK 24 and later include ML-DSA and ML-KEM, while older releases do not, so an unknown-algorithm error on an older JDK points to an upgrade. Second, whether a named provider is in use: a "no such algorithm ... for provider" message means that provider lacks the algorithm, while "not available" means no installed provider supplies it. Third, whether the failure comes from keytool or jarsigner, since each has its own algorithm flags and provider options. Each branch ends in one of three fixes: upgrade the JDK, add or select a provider, or correct the keytool option. Check the exact message text against your JDK version before acting on any branch.
Branches from the Java error message to one of three fixes.
What to change, in order, to clear the error
Work through these steps in sequence so that the Java runtime, the keystore tooling and the signing command all agree on the same post-quantum algorithm family. Each step closes with a check, so you can confirm the error is cleared before you move on.
Confirm the JDK version in use
Run
java -versionto see the product version on the error stream, andjava --versionto see it on the standard output stream. Also confirm which JDK your build tool and application server actually launch, since a service can run a different JDK from the one on your shell path. If the version is below 24, the runtime has no ML-KEM or ML-DSA implementation to supply those algorithms. You are done when you have recorded the exact version string for each runtime involved. Runjava -XshowSettings:security:providersto list the static security providers that this runtime exposes.Upgrade to a release that supplies the algorithms
Install a JDK release that includes the algorithms your certificates use. The Oracle JDK 24 migration guide says JDK 24 provides ML-KEM (JEP 496) and ML-DSA (JEP 497). The JDK 26 migration guide lists signed JAR support for ML-DSA (JDK-8349732). If you sign JARs with ML-DSA, plan for JDK 26. Point your build tools and service configuration at the new JDK, then restart the runtime. You are done when
java -versionreports the new release on every host that runs the application.Align the signature algorithm with the key algorithm
When you generate a key with
keytool -genkeypair, the-sigalgvalue must be compatible with the-keyalgvalue, according to the JDK 25 keytool documentation. The default signature algorithm table in the JDK 25 and JDK 26 keytool pages has no ML-DSA row, so set-sigalgexplicitly and do not rely on the default. Only one of-groupnameand-keysizecan be specified in the same command. Regenerate the key with matching values, and then list the result withkeytool -list -v -keystore <path>to confirm the owner, issuer, serial number and extensions. You are done when the listed certificate shows the algorithm family you intended.Supply the provider to jarsigner when needed
The JDK 26 jarsigner documentation says the
-sigalgmust be compatible with the signing private key. It also says that a statically installed provider must supply the algorithm, or that you must name one with-addprovideror-providerClass, otherwise the command does not succeed. Re-run the signing command with the provider named that supplies ML-DSA on your runtime. Because EdDSA and ML-DSA use the same name for the key and signature algorithm, use only the signature algorithm with the same name as your key algorithm. You are done whenjarsignercompletes without a provider or algorithm error.Verify the signed JAR and its signer chain
Run
jarsigner -verify -verbose <jar>against the signed file to confirm the signature validates. To see certificate details for each signer, add-certsand point to the keystore that holds the trust anchors, for examplejarsigner -keystore $JAVA_HOME/lib/security/cacerts -verify -verbose -certs <jar>. Add-strictif you want severe warnings reported, which produce the message "jar verified, with signer errors" when present. Review the output carefully, since a verified message with signer errors still needs investigation. You are done when verification completes with no signer errors on the JAR you signed.Reload or restart the application
Restart the application so that it loads the new JDK, the updated keystore and any changes to the
java.securityconfiguration. If you pass an extra properties file with-Djava.security.properties=<URL>, confirm that it is loaded, because by defaultsecurity.overridePropertiesFileis set to true and the file appends to the masterjava.securityfile. Check the application's startup log for the error that prompted this work. You are done when the application starts on the new runtime and the original message no longer appears.Confirm the error is resolved, not hidden
Repeat the operation that produced the error, such as a signature check, a keystore load or a TLS connection, and confirm it succeeds for the reason you expect. If a connection still fails, trace the handshake with
-Djavax.net.debug=ssl:handshake:dataand review which algorithms the peer offered. Do not clear the message by suppressing warnings, disabling validation or lowering the security settings, since that leaves the underlying mismatch in place. You are done when the failing operation completes and you can explain which change resolved it.
How the fix differs by Java deployment
When your application runs on a JDK installed directly on a host, you control the java.security file and the JDK version itself. The sources support two routes: editing the master java.security file in the JDK's conf/security directory, or leaving it untouched and passing an extra file at launch. The OpenJDK jdk-25-ga java.security file sets security.overridePropertiesFile=true by default and lets -Djava.security.properties=<URL> append a file to the master file, so you can add settings without modifying the installed JDK.
- Check the JDK version first: Run
java -versionto see the product version, andjava --versionif you need the output on the standard output stream rather than the error stream. - Confirm the provider list: Run
java -XshowSettings:security:providersto see which static providers the JDK loads. - Use the override file where it fits: Pass
-Djava.security.properties=<URL>in the launch command to append settings, and keep the master file unchanged for easier rollback. - Edit the master file only when required: Change
jdk.certpath.disabledAlgorithmsorkeystore.typein the master file if your change must apply to every application on the host. - Upgrade rather than patch where possible: JDK 24 provides ML-DSA and ML-KEM implementations, and JDK 25 documents their standard names, so a supported release may remove the need for a provider workaround.
Before a change, record the current java.security values and the output of java -XshowSettings:security:providers so you can restore them if a dependent service fails.
Some applications ship their own JRE inside the application image or installer, which means the Java runtime is a copy the application owns and the host JDK does not affect it. Changing the host's java.security file will not change behavior inside the bundle. The fix belongs in the bundled runtime or in the launch settings the application passes to it, and you must rebuild the image to apply it.
- Locate the bundled runtime: Find the JRE directory inside the image or installer and read its version with
java -versionrun from that directory. - Pass settings at launch: If the application's start script accepts JVM options, add
-Djava.security.properties=<URL>there so the override applies only to that application. - Rebuild, do not patch in place: Changing files inside a running container or installed copy is lost on the next deployment, so update the image build and redeploy it.
- Confirm the JRE version after the rebuild: Check the version string again in the new image, since the vendor may ship a JRE older than the JDK feature you need.
- Ask the vendor about the runtime: If the bundled runtime is not yours to modify, the question to put to the software vendor is which JDK version it ships and whether it supports the ML-DSA and ML-KEM names.
After the rebuild, verify the change by running the application's signing or verification path and confirming the error no longer appears in its logs.
In a container or Kubernetes deployment, the Java runtime comes from the base image and the configuration comes from the image, environment variables or a mounted ConfigMap in a Helm chart. The durable fix is to change the base image or the chart values, not to edit files inside a running pod, because pods are replaced on rollout and the change disappears. This keeps the effect of each change in version control.
- Pin the base image version: Choose a base image whose JDK version supports the algorithms you need, and record the tag in the chart or Dockerfile.
- Mount the override file: Store the override in a ConfigMap and mount it into the container, then reference its path with
-Djava.security.properties=<URL>in theJAVA_TOOL_OPTIONSor the container's arguments. - Set the keystore type where needed: The default keystore type is PKCS12, set by
keystore.typeinjava.security, and JKS must be chosen explicitly with-storetype JKSin tooling that creates keystores. - Keep values in the chart: Put the override file path and the JVM arguments in
values.yamlso each environment receives the same setting. - Roll out and watch: Apply the chart change with a rollout and check container logs for the
NoSuchAlgorithmExceptionmessage, which the OpenJDK source shows for algorithms no provider supplies.
Confirm the change by running java -XshowSettings:security:providers inside a pod from the new image, which shows the providers the running JVM loaded.
On a hosted Java runtime, such as a managed application platform or a vendor-run service, you usually cannot edit java.security, pass JVM flags, or choose the JDK build. Your options are narrower: ask the provider which JDK version runs your application, whether it supports the ML-DSA and ML-KEM algorithm names, and whether it lets you pass custom JVM options or an override file. The answers determine whether you can fix the error yourself or must depend on the provider's schedule.
- Find the runtime version: Ask the provider for the exact JDK version, since the feature level determines whether ML-DSA and ML-KEM are available.
- Check for configurable options: Confirm whether the platform accepts
-Djava.security.propertiesor aJAVA_TOOL_OPTIONS-style setting, and whether it lets you select a runtime version. - Request a runtime upgrade in writing: If the current version lacks the algorithms, record the request and the provider's stated upgrade date.
- Test the change on a non-production copy: Where the platform allows a staging environment, run your signing or verification path there before any production change.
- Keep your own evidence: Save the provider's stated runtime version and the error output, so the vendor-risk file shows what was known and when.
Before you rely on a hosted runtime for post-quantum signatures, confirm in writing the JDK version it runs and the settings you are permitted to change.
How to confirm the Java fix worked
Success after a Java change means three things can be checked directly: the certificate is present in the keystore with a recognized algorithm, a signed JAR verifies without signer errors, and the TLS handshake completes. Start by rerunning keytool -list -v -keystore against the keystore you changed, for example keytool -list -v -keystore ~/ks. The output prints each certificate in readable form with its owner, issuer, serial number and extensions. Confirm that the entry you expect is listed and that its signature algorithm matches what you configured. The default keystore type is PKCS12, set by the keystore.type property in the java.security file, so check the -storetype you used if the entry does not appear where you expect it.
For signed JARs, rerun jarsigner -verify -verbose -certs against the file, using the same keystore path if you verify against a truststore such as $JAVA_HOME/lib/security/cacerts. The -certs flag prints certificate information for each signer, so you can see the algorithm and chain that Java now reads. Success means the signer is listed and the command reports no signer errors. With -strict, severe warnings produce the message "jar verified, with signer errors", which means the fix is not complete. For TLS, run your application with java -Djavax.net.debug=ssl:handshake:data and confirm that the handshake completes. Keep in mind that this trace is verbose and can expose sensitive data, so use it in a test environment only.
After the change, watch your application logs for java.security.NoSuchAlgorithmException. The message <algorithm> <type> not available means no installed provider supplies the algorithm, and no such algorithm: <algorithm> for provider <provider> means the named provider lacks it. Either message after your change means the fix did not reach the runtime that actually runs the code. Check which JDK version is in use with java -version (product version, written to the error stream) or java --version (written to the output stream), since ML-DSA and ML-KEM support depends on the release you run. Confirm the exact provider support for your JDK version in Oracle's documentation before you rely on it in production.
What can break when Java post-quantum support changes
Moving to a JDK with ML-DSA and ML-KEM support changes which algorithms are available, which keystore format is used and which certificates the runtime accepts. The cards below cover the places where existing Java systems tend to fail, and what to check in each before and after the change.
Pinned algorithms in older clients
Older clients, scripts and automation often request a specific signature or key algorithm by name. When a runtime or provider does not supply that name, lookups fail with a NoSuchAlgorithmException. JDK 24 added ML-DSA and ML-KEM providers, so a client that was written before that release may not find the names it expects. Check every hard-coded algorithm string in your code and build scripts, and confirm which provider supplies each one on the JDK you run.
GetInstance sourceCI runners on older JDKs
Build and test runners often keep an older JDK installed than the one used on developer workstations or in production. A pipeline on an older JDK can sign or verify artifacts without the post-quantum algorithms, so a build that passes locally may fail in CI, or the reverse. Pin the JDK version used by each pipeline, and run the signing and verification steps on the same release you deploy.
JDK 26 security updatesDisabled algorithms in java.security
The jdk.certpath.disabledAlgorithms property in java.security can reject certificate chains that use SHA1, MD5, RSA keys under 1024 bits, DSA keys under 1024 bits or EC keys under 224 bits. The JDK 25 default also rejects SHA1 used to sign JARs after a fixed date. An older certificate that passed before can be refused after an upgrade, so check the effective value with the provider settings output and identify which chains it affects. A system property can add a file that appends to the master file, but the default security.overridePropertiesFile setting controls whether that works, so confirm it on your build.
JDK 25 java.securityKeystore type defaults to PKCS12
The default keystore type is set by keystore.type in java.security and is pkcs12 in JDK 25. A keystore file created by an older tool or process as JKS may open differently or not at all after the default changes, and a keystore created now may not be readable by a system that expects JKS. Run keytool -list -v against each keystore to see its type and entries, and set -storetype JKS explicitly where a legacy consumer needs it.
keytool documentationSigning algorithms not in keytool defaults
The default signature algorithm table for keytool in JDK 25 and JDK 26 lists DSA, RSA, EC, RSASSA-PSS, EdDSA, Ed25519 and Ed448, but no ML-DSA row. A key generation or signing command that relies on the default may not produce a post-quantum key, and -sigalg must match the -keyalg value. Specify the algorithm explicitly and verify the resulting key with a listing before depending on it.
jarsigner documentationWhen to get help with Java post-quantum errors
Some Java post-quantum errors are routine to fix in place, but several situations call for outside help. The first is when you cannot upgrade the JDK. The facts show that ML-DSA and ML-KEM arrived in provider code over several releases: JDK 24 provides implementations of ML-DSA (JEP 497) and ML-KEM (JEP 496), signed JAR support for ML-DSA is listed under JDK 26, and the hybrid TLS groups in JEP 527 are described for JDK 27. If your services run on a JDK that predates the algorithm you need, a NoSuchAlgorithmException reading "not available" may not be fixable by configuration alone. Confirm your current JDK version with java -version and check the Java Security Standard Algorithm Names page for the release you plan to run before deciding that an upgrade is the only path.
The second case is when you do not control the runtime. Many teams inherit a JDK from an application server, a vendor appliance or a container base image, and changes to java.security, keytool defaults or the cacerts file may belong to another team or be overwritten on redeploy. Confirm who owns the runtime and whether the -Djava.security.properties override and security.overridePropertiesFile setting are available to you. The third case is when many services are affected at once, which makes a per-application fix error-prone. Ask for an inventory of which JDK builds and keystore types each service uses, and treat a shared fix as a change to plan, test and roll out in stages.
The fourth case is when a regulated environment needs documented evidence that the change was made and verified. Keystore changes, JDK upgrades and signing-algorithm decisions usually need records of what was changed, when, by whom and how it was tested, such as jarsigner -verify -verbose -certs output and keytool -list -v output for the affected keystores. DeployOpen can help plan the upgrade path, configure keystores and runtimes, and prepare that evidence for your assessors. DeployOpen does not issue audit reports or certifications; your auditors and certification bodies make those determinations. Ask any outside partner for a written scope, the deliverables they will produce and who verifies the results.
Questions people ask after seeing a Java post-quantum error
Does this error mean my Java connection or signature is no longer protected?
Not by itself. The error usually means the JDK did not find a provider for an algorithm name it does not recognize, so the operation failed rather than running with weaker protection. Check what the message names: a NoSuchAlgorithmException with the text "<algorithm> <type> not available" means no installed provider supplies that algorithm. Confirm the JDK version with java -version, then list the active providers with java -XshowSettings:security:providers. Whether a given connection or signature is protected depends on the algorithms actually negotiated, which you can see with TLS tracing (java -Djavax.net.debug=ssl:handshake:data MyApp) or by verifying a signed JAR with jarsigner -verify -verbose.
Is a Java post-quantum certificate error urgent to fix?
It depends on whether the failure blocks a working system. If a service stops handshaking or a signed JAR fails verification, that is an operational problem to fix in the current change window. The sources here do not set a deadline for commercial Java systems, so do not treat this message as a compliance trigger on its own. Check with your security or compliance owner whether a contract or internal policy sets a date, and confirm what the JDK vendor and your own tooling support before planning the work.
Should I suppress or silence the Java post-quantum warning?
Avoid silencing it until you know what it reports. Suppressing a warning hides the signal you need to decide whether a certificate or signature is being rejected, accepted or ignored. If a JAR check reports "jar verified, with signer errors" under -strict, the signer problem still needs a fix. Use keytool -list -v -keystore <file> to inspect each certificate's owner, issuer, serial number and extensions, and confirm whether the algorithm is one your JDK version supports. Where a configuration change is needed, make it deliberately and record it, rather than turning off checks globally.
Why am I seeing this Java post-quantum error now and not before?
The most likely cause is a change in the software or the data it handles. The JDK added support for post-quantum algorithms over several releases: JDK 24 provides ML-DSA (JEP 497) and ML-KEM (JEP 496), and JDK 26 adds signed JAR support for ML-DSA. A certificate or JAR signed with those algorithms will fail on an older JDK that does not know them. Check your java -version against the release that introduced the algorithm, and check whether a new certificate or signing tool was introduced recently in your pipeline.
What should I do if my Java version cannot be upgraded right away?
Start by identifying which component needs the algorithm, because not every system needs a JDK upgrade. Options to evaluate include: keeping the current JDK and asking the certificate issuer or signing team to use an algorithm the JDK already supports; isolating the affected service on a segment until it can be upgraded; or planning the upgrade through your standard change process. Any provider added with -addprovider or -providerClass for jarsigner must be tested first. Document the reason for the chosen path and the date you expect to revisit it.
Can my own team fix this Java error, or should we get outside help?
Many teams can diagnose and fix this themselves if they have someone who can read the JDK version, the provider list and the certificate contents. Get outside help when the failure sits inside a production system you cannot test freely, when the keystore or signing process is shared across several products, or when you need evidence for an assessment. DeployOpen works on self-hosted platforms inside client infrastructure and can plan, implement and document a fix within a fixed scope agreed in writing. It does not issue audit reports or certifications. Ask any provider for a written scope and deliverables before work starts.
How much does it cost to fix a Java post-quantum certificate error?
The cost depends on how many systems depend on the affected keystore or signing process, and on whether a JDK upgrade is needed. The main components are the time to inventory affected services, the time to test a JDK or configuration change, and the time to retest and document the result. Upgrades are typically one-time work, while ongoing monitoring of new JDK releases recurs. The sources here do not give a price or duration, so ask any provider to quote against a written scope that lists the systems, the JDK versions and the deliverables.
How DeployOpen helps fix Java post-quantum errors
DeployOpen starts by identifying which JDK version, keystore types and signing workflows your Java services use, and where a certificate or signature they do not recognize is causing failures. We then plan a fixed-scope engagement that covers keystore and keytool changes, provider configuration and JAR signing checks, with each step documented so your security and compliance teams can review it.
How we scope
- Inventory the JDK versions and vendor distributions running in your Java applications and build pipelines.
- Record which keystore types, including PKCS12 and JKS, hold the certificates and keys in each service.
- Agree in writing which signing workflows, such as signed JARs, are in scope and which are excluded.
How we build
- Reproduce the failing lookup or validation in a test environment, using the exact error message from your logs.
- Adjust keystore, provider and java.security configuration, then retest each affected service against your own certificates.
- Verify signed JARs with jarsigner, checking signer details and strict-mode warnings before any change reaches production.
How we hand over
- Deliver a written record of every configuration change, keystore command and version tested, with rollback steps.
- Provide the verification output your compliance and security reviewers need to check each fix independently.
- Walk your platform team through the runbook so future JDK upgrades can be checked against the same steps.
How we support
- Ongoing support, upgrades and continuous testing are available as a retainer after the fixed-scope work is complete.
- Retainer scope is agreed in writing, covering which JDK upgrades and keystore changes it includes.
- Ask any quote to state which costs are one-time and which recur under a retainer.

