@Path("{hostName}")
  @POST @ApiIgnore // until documented
  @Consumes(MediaType.APPLICATION_JSON)
  @Produces({MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML})
  public SignCertResponse signAgentCrt(@PathParam("hostName") String hostname,
                                       SignMessage message, @Context HttpServletRequest req) {
    return certMan.signAgentCrt(hostname, message.getCsr(), message.getPassphrase());
  }
Signs agent certificate
@response.representation.200.doc This API is invoked by Ambari agent running
 on a cluster to register with the server.
@response.representation.200.mediaType application/json
@response.representation.406.doc Error in register message format
@response.representation.408.doc Request Timed out
@param message Register message
@throws Exception
ambari-server/src/main/java/org/apache/ambari/server/security/unsecured/rest/CertificateSign.java