{"id":1197,"date":"2022-08-22T14:30:26","date_gmt":"2022-08-22T12:30:26","guid":{"rendered":"http:\/\/dety.net.ua\/?p=1197"},"modified":"2022-08-22T14:30:26","modified_gmt":"2022-08-22T12:30:26","slug":"exchange-2019-renew-the-certificate","status":"publish","type":"post","link":"https:\/\/dety.net.ua\/?p=1197","title":{"rendered":"Exchange 2019 + renew the certificate"},"content":{"rendered":"\n<ol class=\"wp-block-list\" type=\"1\"><li>You cannot renew the certificate via WebGUI, Powershell only. We will use Godaddy and we have the existing certificate which we will renew.<\/li><li>Get the renewed certificate from Godaddy.<\/li><li>Run IIS management console on the first Exchange server.<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">       Go to Server certificates and click Complete certificate request.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">       Choose the certificate from Godaddy. It will appear in the list with your current server&#8217;s private key.<\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\" start=\"4\"><li>Export the certificate with the private key for other servers.<\/li><li>Run Exchange powershell with commands (replace with your thumbprint and names):<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Get-ExchangeCertificate | Format-List FriendlyName,Subject,CertificateDomains,Thumbprint,Services<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Enable-ExchangeCertificate -Thumbprint 89617470A0&#8230;864C2CDBA -Services POP,IMAP,IIS,SMTP<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$cert = Get-ExchangeCertificate -Thumbprint 89617470A&#8230;CA864C2CDBA<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>$tlscertificatename = &#8220;&lt;I&gt;$($cert.Issuer)&lt;S&gt;$($cert.Subject)&#8221;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Get-SendConnector<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set-SendConnector &#8220;Outbound to Office 365 &#8211; eb5adf9a-xxxx-xxxxx-xxxx-4d5bc589be83&#8221; -TlsCertificateName $tlscertificatename<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Set-ReceiveConnector &#8220;Server \\Default Frontend Server &#8221; -TlsCertificateName $tlscertificatename<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>iisreset<\/strong><\/p>\n\n\n\n<ol class=\"wp-block-list\" type=\"1\" start=\"6\"><li>Go to IIS \u201cExchange Backend\u201d and assign the certificate. Then you can delete the old one via GUI.<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>You cannot renew the certificate via WebGUI, Powershell only. We will use Godaddy and we have the existing certificate which we will renew. Get the renewed certificate from Godaddy. Run IIS management console on the first Exchange server. Go to Server certificates and click Complete certificate request. Choose the certificate from Godaddy. It will appear [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1197","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1197","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=1197"}],"version-history":[{"count":1,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1197\/revisions"}],"predecessor-version":[{"id":1198,"href":"https:\/\/dety.net.ua\/index.php?rest_route=\/wp\/v2\/posts\/1197\/revisions\/1198"}],"wp:attachment":[{"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1197"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1197"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dety.net.ua\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1197"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}