class CertificateManager {

  private String getSubjectDN(String hostname, String containerId,
                              String appName) {
    return String.format("/CN=%s%s%s",
                         SliderUtils.extractDomainNameFromFQDN(hostname),
                         containerId != null ? "/OU=" + containerId : "",
                         appName != null ? "/OU=" + appName : "");
  }

}