From 8b5f6e22a326dc1ab5e26f061caf5fb045f25277 Mon Sep 17 00:00:00 2001 From: Michal Altair Valasek Date: Sat, 4 Feb 2017 16:11:37 +0100 Subject: [PATCH] Fixed cert info display --- Altairis.AutoAcme.Manager/Program.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Altairis.AutoAcme.Manager/Program.cs b/Altairis.AutoAcme.Manager/Program.cs index 724ab17..e957089 100644 --- a/Altairis.AutoAcme.Manager/Program.cs +++ b/Altairis.AutoAcme.Manager/Program.cs @@ -136,14 +136,14 @@ public static void AddHost( cleanupCallback: CleanupChallenge); } - // Display certificate into + // Display certificate info Trace.Indent(); Trace.WriteLine("Certificate information:"); Trace.WriteLine($"Issuer: {result.Certificate.Issuer}"); Trace.WriteLine($"Subject: {result.Certificate.Subject}"); Trace.WriteLine($"Serial number: {result.Certificate.SerialNumber}"); Trace.WriteLine($"Not before: {result.Certificate.NotBefore:o}"); - Trace.WriteLine($"Not before: {result.Certificate.NotAfter:o}"); + Trace.WriteLine($"Not after: {result.Certificate.NotAfter:o}"); Trace.WriteLine($"Thumbprint: {result.Certificate.Thumbprint}"); Trace.Unindent(); @@ -376,14 +376,14 @@ public static void Renew( } } if (result != null) { - // Display certificate into + // Display certificate info Trace.Indent(); Trace.WriteLine("Certificate information:"); Trace.WriteLine($"Issuer: {result.Certificate.Issuer}"); Trace.WriteLine($"Subject: {result.Certificate.Subject}"); Trace.WriteLine($"Serial number: {result.Certificate.SerialNumber}"); Trace.WriteLine($"Not before: {result.Certificate.NotBefore:o}"); - Trace.WriteLine($"Not before: {result.Certificate.NotAfter:o}"); + Trace.WriteLine($"Not after: {result.Certificate.NotAfter:o}"); Trace.WriteLine($"Thumbprint: {result.Certificate.Thumbprint}"); Trace.Unindent();