Class TlsConfigurationException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
com.jsgalactic.axiom.lifecycle.TlsConfigurationException
All Implemented Interfaces:
Serializable

public final class TlsConfigurationException extends IOException
Thrown when TLS material cannot be used: a file is missing or unreadable, a PEM block is malformed, the key does not belong to the certificate, a certificate is expired or not yet valid, or the configured protocols and cipher suites leave nothing the JVM supports. It is thrown when a listener starts and by Server.reloadTls().

Messages name the file or the problem, never the content of a key, a certificate or a password, and the exception carries no cause that could hold such content.

See Also:
  • Constructor Details

    • TlsConfigurationException

      public TlsConfigurationException(String message)
      Creates the exception.
      Parameters:
      message - what is wrong, without key material