Class TlsConfig

java.lang.Object
com.linecorp.centraldogma.server.TlsConfig

public final class TlsConfig extends Object
TLS configuration.
  • Constructor Details

    • TlsConfig

      public TlsConfig(File keyCertChainFile, File keyFile, @Nullable String keyPassword)
      Creates an instance with the specified keyCertChainFilePath, keyFilePath and keyPassword.
  • Method Details

    • keyCertChainFile

      public File keyCertChainFile()
      Returns a certificates file which is created with the given keyCertChainFilePath.
    • keyFile

      public File keyFile()
      Returns a private key file which is created with the given keyFilePath.
    • keyPassword

      @Nullable public String keyPassword()
      Returns a password for the private key file. Return null if no password is set.
    • toString

      public String toString()
      Overrides:
      toString in class Object