{"id":1286,"date":"2025-02-17T12:47:15","date_gmt":"2025-02-17T10:47:15","guid":{"rendered":"http:\/\/dety.net.ua\/?p=1286"},"modified":"2025-02-17T12:47:15","modified_gmt":"2025-02-17T10:47:15","slug":"exchange-2019-error-500-oauth-certificate","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=1286","title":{"rendered":"Exchange 2019 + Error 500 OAuth certificate"},"content":{"rendered":"\n<p>If you delete expired certificates be ready for getting error 500 OAuth &#8230;. because this self-signed certificate was a critical point. If that happen you have to re-create a certificate or assign an existed one. The certificate will be propagated to all the Exchange servers.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># Creating a certificate\nNew-ExchangeCertificate -KeySize 2048 -PrivateKeyExportable $true -SubjectName \"cn=Microsoft Exchange Server Auth Certificate\" -FriendlyName \"Microsoft Exchange Server Auth Certificate\" -DomainName @()\n\n#Get all the certificates to check\nGet-ExchangeCertificate | fl Issuer,CertificateDomains, Thumbprint\n\n#Set (choose the new one or the existed one)\nSet-AuthConfig -NewCertificateThumbprint &lt;Place the Thumbprint here> -NewCertificateEffectiveDate (Get-Date)\nSet-AuthConfig -PublishCertificate\nSet-AuthConfig -ClearPreviousCertificate\n\n#Restart the service\nRestart-Service MSExchangeServiceHost\n\n#Restart IIS\niisreset\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you delete expired certificates be ready for getting error 500 OAuth &#8230;. because this self-signed certificate was a critical point. If that happen you have to re-create a certificate or assign an existed one. The certificate will be propagated to all the Exchange servers.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,13],"tags":[],"class_list":["post-1286","post","type-post","status-publish","format-standard","hentry","category-exchange","category-novosti"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1286","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1286"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1286\/revisions"}],"predecessor-version":[{"id":1287,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1286\/revisions\/1287"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1286"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1286"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1286"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}