Skip to content

Commit 7ee3fee

Browse files
committed
Revert to months validity for now (globalsign will truncate at 200 days automatically)
1 parent afca7c9 commit 7ee3fee

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

globalsign-mssl-caplugin/Constants.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ public static class EnrollmentConfigConstants
2929
{
3030
public const string RootCAType = "RootCAType";
3131
public const string SlotSize = "SlotSize";
32-
public const string CertificateValidityInDays = "CertificateValidityInDays";
32+
public const string CertificateValidityInYears = "CertificateValidityInYears";
3333
public const string MSSLProfileId = "MSSLProfileId";
3434
}

globalsign-mssl-caplugin/GlobalSignCAPlugin.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -702,11 +702,11 @@ public Dictionary<string, PropertyConfigInfo> GetTemplateParameterAnnotations()
702702
{
703703
return new Dictionary<string, PropertyConfigInfo>
704704
{
705-
[EnrollmentConfigConstants.CertificateValidityInDays] = new()
705+
[EnrollmentConfigConstants.CertificateValidityInYears] = new()
706706
{
707-
Comments = "Number of days the certificate will be valid for",
707+
Comments = "Number of years the certificate will be valid for",
708708
Hidden = false,
709-
DefaultValue = "199",
709+
DefaultValue = 1,
710710
Type = "Number"
711711
},
712712
[EnrollmentConfigConstants.SlotSize] = new()

0 commit comments

Comments
 (0)