Ask the Community
Groups
How do I monitor the expiration of SSL certificates? - Connect IT Community | Kaseya
<main> <article class="userContent"> <p><strong>PROBLEM:</strong></p> <p>You wish to have advance warning when your SSL certificates are about to expire.</p> <p><strong>SOLUTION:</strong></p> <p>On the BVE server:</p> <ul><li>Unzip the attached file to <traverse_Home> /plugin/monitors</li> <li>Once unzipped the below files should be located at: <ul><li>/plugin/monitors/ssl_cert_check.xml</li> <li>/plugin/monitors/ssl_cert_check/ssl_cert_check.pl</li> </ul></li> <li>cd <traverse_home>plugin/monitors/ssl_cert_check</li> <li>chmod 755 ssl_cert_check.pl (only for GNU/Linux environment)</li> <li>To test it, you can run</li> <ul><li><traverse_home>/plugin/monitors/ssl_cert_check/ssl_cert_check.pl --host www.google.com --port 443</li> </ul><li>From 'Superuser -> Health', select the icon in the Action column for the BVE and the appropriate DGE, then 'Reload Config Files' from the menu</li> </ul><p><img src="/attachments/token/hmPA39C6VIhnXRk3pXDmjdKdT/?name=ssl2.JPG" alt="ssl2.JPG" class="embedImage-img importedEmbed-img"></img></p> <ul><li>Provision a new test (Create New Standard Tests) on a web server device using the monitor type 'ssl_cert_check'</li> </ul><p><img src="/attachments/token/OJ6vHrXJwISsjPy2PaZ3qcXbM/?name=ssl1.JPG" alt="ssl1.JPG" class="embedImage-img importedEmbed-img"></img></p> <p> </p> <ul><li>The test will return the number of days to expiration of the SSL certificate installed on the device.</li> </ul><p> </p> <p><img src="/attachments/token/vttZx3C90cGJ0HU72DKN79kZR/?name=ssl3.JPG" alt="ssl3.JPG" width="875" height="129" class="embedImage-img importedEmbed-img"></img></p> <h3 data-id="windows-dge-x">Windows DGE/x</h3> <p>if you are running Windows, you will required and extra step for this to run:</p> <ul><li>Download and install the latest version of OpenSSL for Windows and should be installed in "<strong>C:\OpenSSL-Win32</strong>" path (light version for your system) from: <a rel="nofollow" href="/home/leaving?allowTrusted=1&target=https%3A%2F%2Fslproweb.com%2Fproducts%2FWin32OpenSSL.html">https://slproweb.com/products/Win32OpenSSL.html</a> </li> </ul><p> </p> </article> </main>