Code to check SSL Client Certificate Expiration remotely Language: C# (C Sharp) using MS Visual Studio Express 2010 Reference: System.Net.ServicePointManager , another sample code from stackOverflow Code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Net; using System.Diagnostics; namespace CertCheck { class Program { static void Main(string[] args) { //Get URL from command line to check if (args.Length==0) { Console.WriteLine("Usage: CertCheck <https://url> [-v]"); Console.WriteLine("Enter an url with https prefix"); ...
Learn all you can from the mistakes of others. You won't have time to make them all yourself
~Alfred Sheinwold