Skip to content

Commit 123bb65

Browse files
Merge pull request #2 from Keyfactor/testconsole
Fix for Renew Issue
2 parents c995001 + 3a78fae commit 123bb65

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

SslStoreCaProxy/Client/Models/NewOrderRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ public class NewOrderRequest : INewOrderRequest
5959
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
6060
public string EmailLanguageCode { get; set; }
6161

62-
[JsonProperty("FileAuthDVIndicator")] public bool FileAuthDvIndicator { get; set; }
62+
[JsonProperty("FileAuthDVIndicator")] public bool? FileAuthDvIndicator { get; set; }
6363

6464
[JsonProperty("CNAMEAuthDVIndicator", NullValueHandling = NullValueHandling.Ignore)]
65-
public bool CnameAuthDvIndicator { get; set; }
65+
public bool? CnameAuthDvIndicator { get; set; }
6666

6767
[JsonProperty("HTTPSFileAuthDVIndicator", NullValueHandling = NullValueHandling.Ignore)]
6868
public bool HttpsFileAuthDvIndicator { get; set; }

SslStoreCaProxy/Interfaces/INewOrderRequest.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public interface INewOrderRequest
2828
long ReserveSanCount { get; set; }
2929
bool AddInstallationSupport { get; set; }
3030
string EmailLanguageCode { get; set; }
31-
bool FileAuthDvIndicator { get; set; }
32-
bool CnameAuthDvIndicator { get; set; }
31+
bool? FileAuthDvIndicator { get; set; }
32+
bool? CnameAuthDvIndicator { get; set; }
3333
bool HttpsFileAuthDvIndicator { get; set; }
3434
string SignatureHashAlgorithm { get; set; }
3535
bool CertTransparencyIndicator { get; set; }

SslStoreCaProxy/RequestManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,8 @@ public NewOrderRequest GetRenewalRequest(INewOrderResponse orderData, string csr
205205
ValidityPeriod = orderData.Validity,
206206
ServerCount = orderData.ServerCount,
207207
IsRenewalOrder = true,
208-
FileAuthDvIndicator = orderData.OrderStatus.DomainAuthVettingStatus.Exists(x => x.FileName != null),
209-
CnameAuthDvIndicator = orderData.OrderStatus.DomainAuthVettingStatus.Exists(x => x.DnsName != null),
208+
FileAuthDvIndicator = orderData.OrderStatus?.DomainAuthVettingStatus?.Exists(x => x.FileName != null),
209+
CnameAuthDvIndicator = orderData.OrderStatus?.DomainAuthVettingStatus?.Exists(x => x.DnsName != null),
210210
Csr = csr
211211
};
212212
}

0 commit comments

Comments
 (0)