diff --git a/CHANGELOG.md b/CHANGELOG.md index d32a6cc..126e723 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,4 +15,9 @@ * Add configuration flag to support adding client auth EKU to ssl cert requests * NOTE: This is a temporary feature which is planned for loss of support by Digicert in May 2026 * For smime certs, use profile type defined on the product as the default if not supplied, rather than just defaulting to 'strict' -* Hotfix for data type conversion \ No newline at end of file +* Hotfix for data type conversion + +### 2.1.2 +* Hotfix for incremental sync to default to a 6 day window if no previous incremental sync has run +* Workaround for DigiCert API issue where retrieving the PEM data of multiple certificates in the same order can occasionally return duplicate data rather than the correct cert +* Remove caching of product ID lookups from DigiCert account \ No newline at end of file diff --git a/digicert-certcentral-caplugin/CertCentralCAPlugin.cs b/digicert-certcentral-caplugin/CertCentralCAPlugin.cs index 7f191dc..69820c2 100644 --- a/digicert-certcentral-caplugin/CertCentralCAPlugin.cs +++ b/digicert-certcentral-caplugin/CertCentralCAPlugin.cs @@ -761,8 +761,8 @@ public async Task Synchronize(BlockingCollection blockin _logger.MethodEntry(LogLevel.Trace); // DigiCert issue with treating the timezone as mountain time. -7 hours to accomodate DST - // If no last sync, use 7 days in the past as the starting point (only relevant for incremental syncs) - lastSync = lastSync.HasValue ? lastSync.Value.AddHours(-7) : DateTime.UtcNow.AddDays(-7); + // If no last sync, use a 6 day window for the sync range (only relevant for incremental syncs) + lastSync = lastSync.HasValue ? lastSync.Value.AddHours(-7) : DateTime.UtcNow.AddDays(-5); DateTime? utcDate = DateTime.UtcNow.AddDays(1); string lastSyncFormat = FormatSyncDate(lastSync); string todaySyncFormat = FormatSyncDate(utcDate); diff --git a/digicert-certcentral-caplugin/digicert-certcentral-caplugin.csproj b/digicert-certcentral-caplugin/digicert-certcentral-caplugin.csproj index 84289d0..7510b07 100644 --- a/digicert-certcentral-caplugin/digicert-certcentral-caplugin.csproj +++ b/digicert-certcentral-caplugin/digicert-certcentral-caplugin.csproj @@ -6,8 +6,8 @@ enable disable DigicertCAPlugin - 2.1.1 - 2.1.1 + 2.1.2 + 2.1.2