Interface ISecurityMgmt


@Path("/system/security") public interface ISecurityMgmt
  • Method Details

    • updateCertificate

      @POST void updateCertificate(CertData certData) throws ServerFault
      Update external certificate/private key
      Parameters:
      certData - Certificate data
      Throws:
      ServerFault
    • getLetsEncryptTos

      @GET @Path("lets_encrypt_tos") String getLetsEncryptTos() throws ServerFault
      Get the URL to Let's Encrypt terms of service document
      Returns:
      URL
      Throws:
      ServerFault
    • approveLetsEncryptTos

      @PUT @Path("lets_encrypt_tos/{uid}") void approveLetsEncryptTos(@PathParam("uid") String domainUid) throws ServerFault
      Accept Let's Encrypt terms of service document
      Parameters:
      domainUid - the domain uid
      Throws:
      ServerFault
    • generateLetsEncrypt

      @POST @Path("lets_encrypt") TaskRef generateLetsEncrypt(CertData certData) throws ServerFault
      Generate Let's Encrypt certificate
      Parameters:
      certData - Certificate data
      Throws:
      ServerFault