{"id":1276,"date":"2023-08-07T13:55:32","date_gmt":"2023-08-07T11:55:32","guid":{"rendered":"https:\/\/ndk.sytes.net\/wordpress\/?p=1276"},"modified":"2023-08-07T13:55:32","modified_gmt":"2023-08-07T11:55:32","slug":"install-lets-encrypt-certificate-on-microsoft-exchange","status":"publish","type":"post","link":"https:\/\/ndk.sytes.net\/wordpress\/?p=1276","title":{"rendered":"Install Let&#8217;s Encrypt certificate on Microsoft Exchange"},"content":{"rendered":"\n<p>Download the ACME client for windows here:<\/p>\n\n\n\n<p><a href=\"https:\/\/www.win-acme.com\">https:\/\/www.win-acme.com<\/a><\/p>\n\n\n\n<p>then unzip it into a directory, e.g. C:\\win-acme and change into that directory. then paste the following command (but make sure to change the needed parameters <strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-vivid-red-color\">before<\/mark><\/strong> executing):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.\\wacs.exe --source manual --host \"mail.example.com,autodiscover.example.com\" --certificatestore My --acl-fullcontrol \"network service,administrators\" --installation \"iis,script\" --installationsiteid 1 --script \".\/Scripts\/ImportExchange.v2.ps1\" --scriptparameters \"'{CertThumbprint}' 'IIS,SMTP,IMAP,POP' 1 '{CacheFile}' '{CachePassword}' '{CertFriendlyName}'\"<\/pre>\n\n\n\n<p>In this example we want a certificate for mail.example.com and autodiscover.example.com for the services IIS, SMTP, IMAP and POP. Important note for Hybrid Exchange configurations (synced to Office 365): you should use 0 instead of 1 in the\u00a0<code>--scriptparameters<\/code>, which translates to the\u00a0<code>LeaveOldExchangeCerts<\/code>\u00a0input of the sample script.<\/p>\n\n\n\n<p>More infos about this: <a href=\"https:\/\/www.win-acme.com\/manual\/advanced-use\/examples\/exchange\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.win-acme.com\/manual\/advanced-use\/examples\/exchange<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Download the ACME client for windows here: https:\/\/www.win-acme.com then unzip it into a directory, e.g. C:\\win-acme and change into that directory. then paste the following command (but make sure to change the needed parameters before executing): .\\wacs.exe &#8211;source manual &#8211;host &#8220;mail.example.com,autodiscover.example.com&#8221; &#8211;certificatestore My &#8211;acl-fullcontrol &#8220;network service,administrators&#8221; &#8211;installation &#8220;iis,script&#8221; &#8211;installationsiteid 1 &#8211;script &#8220;.\/Scripts\/ImportExchange.v2.ps1&#8221; &#8211;scriptparameters &#8220;&#8216;{CertThumbprint}&#8217; &#8216;IIS,SMTP,IMAP,POP&#8217; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,9],"tags":[],"class_list":["post-1276","post","type-post","status-publish","format-standard","hentry","category-servers","category-windows"],"_links":{"self":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1276"}],"version-history":[{"count":1,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1276\/revisions"}],"predecessor-version":[{"id":1277,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1276\/revisions\/1277"}],"wp:attachment":[{"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ndk.sytes.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}