Entitlement entitlement = entry.getValue();
CertificateSerial serial = serialMap.get(entry.getKey());
Product product = productMap.get(entry.getKey());
log.info("Generating entitlement cert for entitlement: {}", entitlement);
Set<Product> products = new HashSet<Product>(
<BUG>productCurator.getPoolProvidedProductsCached(entitlement.getPool().getId()));
products.addAll(getDerivedProductsForDistributor(entitlement));</BUG>
products.add(product);
Map<String, EnvironmentContent> promotedContent = getPromotedContent(entitlement);
String contentPrefix = getContentPrefix(entitlement, !thisIsUeberCert);

Entitlement entitlement = entry.getValue();
CertificateSerial serial = serialMap.get(entry.getKey());
Product product = productMap.get(entry.getKey());
log.info("Generating entitlement cert for entitlement: {}", entitlement);
Set<Product> products = new HashSet<Product>(
productCurator.getPoolProvidedProductsCached(entitlement.getPool()));
products.addAll(getDerivedProductsForDistributor(entitlement));
products.add(product);
Map<String, EnvironmentContent> promotedContent = getPromotedContent(entitlement);
String contentPrefix = getContentPrefix(entitlement, !thisIsUeberCert);
