diff --git a/src/Runtime/ObjectProcessors.cs b/src/Runtime/ObjectProcessors.cs index ae9779b..b005186 100644 --- a/src/Runtime/ObjectProcessors.cs +++ b/src/Runtime/ObjectProcessors.cs @@ -619,8 +619,10 @@ private async Task ProcessEnterpriseCA(ISearchResultEntry entry, R var props = LDAPPropertyProcessor.ReadEnterpriseCAProperties(entry); ret.Properties.Merge(props); - // Enabled cert templates - ret.EnabledCertTemplates = _certAbuseProcessor.ProcessCertTemplates(entry.GetArrayProperty(LDAPProperties.CertificateTemplates), resolvedSearchResult.Domain).ToArray(); + // Enabled/published cert templates + (IEnumerable resolvedTemplates, IEnumerable unresolvedTemplates) = _certAbuseProcessor.ProcessCertTemplates(entry.GetArrayProperty(LDAPProperties.CertificateTemplates), resolvedSearchResult.Domain); + ret.EnabledCertTemplates = resolvedTemplates.ToArray(); + ret.Properties.Add("unresolvedpublishedtemplates", unresolvedTemplates.ToArray()); } if ((_methods & ResolvedCollectionMethod.Container) != 0 || (_methods & ResolvedCollectionMethod.CertServices) != 0)