Skip to content

Commit

Permalink
log cert request json
Browse files Browse the repository at this point in the history
  • Loading branch information
dgaley committed Jul 5, 2024
1 parent f65a6c6 commit af192b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/SectigoCAProxy/SectigoCAProxy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,8 @@ public override EnrollmentResult Enroll(ICertificateDataReader certificateDataRe
};

Logger.Debug($"Submit {enrollmentType} request");
var jsonReq = JsonConvert.SerializeObject(request, Formatting.Indented);
Logger.Debug($"Request object: {jsonReq}");
sslId = Task.Run(async () => await Client.Enroll(request)).Result;
newCert = Task.Run(async () => await Client.GetCertificate(sslId)).Result;
Logger.Debug($"Enrolled for Certificate {newCert.CommonName} (ID: {newCert.Id}) | Status: {newCert.status}. Attempt to Pickup Certificate.");
Expand Down

0 comments on commit af192b5

Please sign in to comment.