Interface CATLSContextServiceType

All Superinterfaces:
com.io7m.repetoir.core.RPServiceType
All Known Implementing Classes:
CATLSContextService

public interface CATLSContextServiceType extends com.io7m.repetoir.core.RPServiceType
A service that provides preconfigured TLS contexts.
  • Method Details

    • create

      CATLSContext create(String user, CATLSStoreConfiguration keyStoreConfiguration, CATLSStoreConfiguration trustStoreConfiguration) throws CAException
      Create a TLS context.
      Parameters:
      user - The user of this context (such as "HealthService", "AdminService", etc)
      keyStoreConfiguration - The keystore configuration
      trustStoreConfiguration - The truststore configuration
      Returns:
      A TLS context
      Throws:
      CAException - On errors
    • reload

      void reload()
      Reload all TLS contexts. Primarily used to reload short-lived certificates issued using the ACME protocol.