{"id":2083,"date":"2018-01-30T22:50:32","date_gmt":"2018-01-31T03:50:32","guid":{"rendered":"http:\/\/lisa.rushworth.us\/?p=2083"},"modified":"2018-01-31T12:46:38","modified_gmt":"2018-01-31T17:46:38","slug":"active-directory-federation-services-adfs-relaying-party-trust-cert-expiry","status":"publish","type":"post","link":"https:\/\/www.rushworth.us\/lisa\/?p=2083","title":{"rendered":"Active Directory Federation Services (ADFS) Relying Party Trust Cert Expiry"},"content":{"rendered":"<p>At work, we received a critical ticket for an application that was unable to authenticate to ADFS. Nothing globally wrong &#8211; other applications are authenticating. A long call later, we discovered that the app&#8217;s certificate has expired. Why would the application not monitor their certificate expiry dates?? That&#8217;s an excellent question, but not one over which I have any control.<\/p>\n<p>I\u00a0<em>can<\/em> monitor their certs on our side. So I wrote a quick <a href=\"https:\/\/github.com\/ljr55555\/ADFSCertMonitoring\/blob\/master\/_checkRelyingPartyCerts.ps1\" target=\"_blank\" rel=\"noopener\">powershell script to grab certificates from the relying party trusts<\/a> and alerts us if any certs will be expiring in the next 30 days. It has to run on the ADFS server &#8211; I&#8217;d love to get it moved to the automation server in the future. I expect get-adfsrelyingpartytrust returns disabled agreements. I want to filter out disabled agreements.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At work, we received a critical ticket for an application that was unable to authenticate to ADFS. Nothing globally wrong &#8211; other applications are authenticating. A long call later, we discovered that the app&#8217;s certificate has expired. Why would the application not monitor their certificate expiry dates?? That&#8217;s an excellent question, but not one over &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[30],"tags":[503,304,504,233],"class_list":["post-2083","post","type-post","status-publish","format-standard","hentry","category-system-administration","tag-adfs","tag-automation","tag-certificate-expiry","tag-git"],"_links":{"self":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/2083","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2083"}],"version-history":[{"count":3,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/2083\/revisions"}],"predecessor-version":[{"id":2087,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=\/wp\/v2\/posts\/2083\/revisions\/2087"}],"wp:attachment":[{"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2083"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2083"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rushworth.us\/lisa\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2083"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}