{"id":935,"date":"2022-02-14T08:53:17","date_gmt":"2022-02-14T08:53:17","guid":{"rendered":"https:\/\/www.geekmungus.co.uk\/?p=935"},"modified":"2022-11-05T10:53:18","modified_gmt":"2022-11-05T10:53:18","slug":"check-not-directly-accessible-ssl-certificate-expiry-on-microsoft-windows-server","status":"publish","type":"post","link":"https:\/\/geekmungus.co.uk\/?p=935","title":{"rendered":"Check (Not Directly Accessible) SSL Certificate Expiry on Microsoft Windows Server"},"content":{"rendered":"\n<p>NagiosXI and other monitoring tools have ways to determine if your SSL certificates on say a web server are nearing expiry, but what if you have software that uses a certificate but that certificate is not directly poll-able over the standard HTTPS checks.<\/p>\n\n\n\n<p>The script which can be found <a rel=\"noreferrer noopener\" href=\"https:\/\/github.com\/tristanhself\/general\/blob\/master\/certcheck.ps1\" data-type=\"URL\" data-id=\"https:\/\/github.com\/tristanhself\/general\/blob\/master\/certcheck.ps1\" target=\"_blank\">here<\/a>, is a passive check, so you would put the script on the server you wish to monitor, then configure it to run within a scheduled task perhaps once a day. You would then configure a host and service check within Nagios (and set it as a Passive check), the script would then report in once a day to tell you the status of the certificates on the server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>NagiosXI and other monitoring tools have ways to determine if your SSL certificates on say a web server are nearing expiry, but what if you have software that uses a certificate but that certificate is not directly poll-able over the standard HTTPS checks. The script which can be found here, is a passive check, so &#8230; <a title=\"Check (Not Directly Accessible) SSL Certificate Expiry on Microsoft Windows Server\" class=\"read-more\" href=\"https:\/\/geekmungus.co.uk\/?p=935\" aria-label=\"Read more about Check (Not Directly Accessible) SSL Certificate Expiry on Microsoft Windows Server\">Read more<\/a><\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,16],"tags":[],"class_list":["post-935","post","type-post","status-publish","format-standard","hentry","category-microsoft-windows","category-nagios-and-nagiosxi"],"_links":{"self":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/935","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=935"}],"version-history":[{"count":1,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/935\/revisions"}],"predecessor-version":[{"id":1345,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=\/wp\/v2\/posts\/935\/revisions\/1345"}],"wp:attachment":[{"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=935"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=935"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/geekmungus.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=935"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}