Your Java application is configured to use the alias server . The alias exists, but does it contain the private key the application needs for TLS?
Start by inspecting that specific entry with the keytool from your application’s JDK:
keytool -list -v -storetype JKS -keystore app.jks -alias server
Enter fullscreen mode
Exit fullscreen mode
Enter the store password when prompted. Replace server with the alias in your application configuration. If you’re unsure which alias to check, omit -alias server to list all entries.
Read the entry type first
PrivateKeyEntry contains a private key and its certificate chain. A TLS server or mTLS client uses this kind of entry for its own identity.
trustedCertEntry contains a certificate trusted by the application. You’ll commonly find these entries in a truststore.
For a PrivateKeyEntry , check the certificate fingerprint, expiry date, and chain length. A chain length of 1 is expected for a self-signed identity.…