code: private boolean run(I_CmsReport report, Collection<CmsSite> sites, Collection<String> workplaceUrls) {
  
          try {
              DomainGrouping domainGrouping = computeDomainGrouping(sites, workplaceUrls);
              if (domainGrouping.isEmpty()) {
                  report.println(
                      org.opencms.ui.apps.Messages.get().container(
                          org.opencms.ui.apps.Messages.RPT_LETSENCRYPT_NO_DOMAINS_0));
                  return false;
              }
              String certConfig = domainGrouping.generateCertJson();
              if (!m_configUpdater.update(certConfig)) {
                  report.println(
                      org.opencms.ui.apps.Messages.get().container(
                          org.opencms.ui.apps.Messages.RPT_LETSENCRYPT_UPDATE_FAILED_0),
                      I_CmsReport.FORMAT_WARNING);
                  return false;
              }
              return true;
          } catch (Exception e) {
              report.println(e);
              return false;
          }
      }
docs: Runs the certificate configuration update for a given set of sites and workplace URLS.<p>
  
  @param report the report to write to
  @param sites the sites
  @param workplaceUrls the workplace URLS
  
  @return true if the Letsencrypt update was successful