# Auto update certificates in MS Exchange after auto renew

**URL:** <https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984>\
**Category:** Help\
**Created:** [October 12, 2022, 1:23pm UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984 "2022-10-12T13:23:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mj-network](https://avatars.discourse-cdn.com/v4/letter/m/e8c25b/32.png) [@mj-network](https://community.letsencrypt.org/u/mj-network)\
**Post date:** [October 12, 2022, 1:23pm UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984/1 "2022-10-12T13:23:38Z")

</div>

Hello,

I can't find anything on Google.

Is there a way, to setup auto update/set/install of let's encrypt certificates of services like imap, 143, 587, 465, etc. on MS exchange server after auto renewal? I know win-acme but I think that only auto updates certificates in IIS bindings (443).

Regards

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [October 12, 2022, 6:25pm UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984/2 "2022-10-12T18:25:20Z")

</div>

Hello @mj-network, welcome to the Let's Encrypt community. 🙂

[Let’s Encrypt](https://letsencrypt.org/) offers [Domain Validation (DV) certificates](https://letsencrypt.org/docs/faq/#what-services-does-let-s-encrypt-offer).

Thus you need to own and **have control** over the [Domain Name](https://en.wikipedia.org/wiki/Domain_name) (or have a **subdomain** under an existing domain name, for example pointed to your server by your employer or school) you wish to obtain a certificate for, from an ICANN [Accredited Registrar](https://www.icann.org/en/accredited-registrars?filter-letter=a&sort-direction=asc&sort-param=name&page=1).

For [Let’s Encrypt](https://letsencrypt.org/) to issue a Domain Validation (DV) certificate [Domain Validation](https://letsencrypt.org/how-it-works/#domain-validation) must happen  
and it is a [CA/Browser Forum](https://cabforum.org/) **[Baseline Requirement](https://cabforum.org/baseline-requirements-documents/)**.

[Best Practice - Keep Port 80 Open](https://letsencrypt.org/docs/allow-port-80/)

[What IP addresses does Let’s Encrypt use to validate my web server?](https://letsencrypt.org/docs/faq/#what-ip-addresses-does-let-s-encrypt-use-to-validate-my-web-server)  
Let’s Encrypt **does not publish a list of IP addresses we use to validate,**  
and these IP addresses may change at any time.

Let's Encrypt uses [Multi-Perspective Validation Improves Domain Validation Security - Let's Encrypt](https://letsencrypt.org/2020/02/19/multi-perspective-validation.html)

Since these are Domain Validation (DV) certificates the [Domain Name System (DNS)](https://en.wikipedia.org/wiki/Domain_Name_System) is used extensively in the validation process as well a allowing us to assist here on [Let's Encrypt community](https://community.letsencrypt.org/).  
DNS Queries need to give **consistent** results from any location on the Internet, all your authoritative DNS Servers for the _Domain_ need to also give **consistent** results as well.

Testing and debugging are best done using the **[Staging Environment](https://letsencrypt.org/docs/staging-environment/)** as the **[Rate Limits](https://letsencrypt.org/docs/rate-limits/)** are much higher. Rate Limits are per week (rolling).

And to assist with debugging there is a great place to start is [Let's Debug](https://letsdebug.net/).

**Please fill out the fields below so we can help you better.** Note: you must provide your domain name to get help. **Domain names** for **issued certificates** are **all made public in [Certificate Transparency](https://community.letsencrypt.org/t/cant-get-new-renew-certificate-for-new-domain/184575/11) logs** (e.g. [crt.sh | example.com](https://crt.sh/?q=example.com)), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:

I ran this command:

It produced this output:

My web server is (include version):

The operating system my web server runs on is (include version):

My hosting provider, if applicable, is:

I can login to a root shell on my machine (yes or no, or I don't know):

I'm using a control panel to manage my site (no, or provide the name and version of the control panel):

The version of my client is (e.g. output of `certbot --version` or `certbot-auto --version` if you're using Certbot):

Thank you for assisting us in helping **YOU**!

---

<div class="post-metadata">

**Author:** ![Bruce5051](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/bruce5051/32/76576_2.png) [@Bruce5051](https://community.letsencrypt.org/u/Bruce5051)\
**Post date:** [October 12, 2022, 6:30pm UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984/3 "2022-10-12T18:30:17Z")

</div>

Here are some links to articles that may or may not help

1. [Additional SSL certificates for IMAP and SMTP](https://community.letsencrypt.org/t/additional-ssl-certificates-for-imap-and-smtp/120717)
2. [How to get iOS email to accept cert renewals for IMAP and SMTP servers?](https://community.letsencrypt.org/t/how-to-get-ios-email-to-accept-cert-renewals-for-imap-and-smtp-servers/156327)
3. [Mail Certificate smtp/imap problem](https://community.letsencrypt.org/t/mail-certificate-smtp-imap-problem/171115)
4. [Using Let's Encrypt Certificates for Mail and other Apps [ClearOS Documentation]](https://documentation.clearos.com/content:en_us:kb_howtos_using_letsencrypt_certificates_for_mail)
5. [Using Let’s Encrypt TLS Certificates for SMTP, IMAP, and HTTP](https://robpickering.com/using-lets-encrypt-tls-certificates-for-smtp-imap-and-http/)
6. [How to secure Postfix using Let’s Encrypt - UpCloud](https://upcloud.com/resources/tutorials/secure-postfix-using-lets-encrypt)
7. [Install FREE Let's Encrypt certificate in Exchange Server - ALI TAJRAN](https://www.alitajran.com/install-free-lets-encrypt-certificate-in-exchange-server/)

---

<div class="post-metadata">

**Author:** ![petercooperjr](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/petercooperjr/32/84698_2.png) [@petercooperjr](https://community.letsencrypt.org/u/petercooperjr)\
**Post date:** [October 12, 2022, 7:32pm UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984/4 "2022-10-12T19:32:52Z")

</div>

I don't have a specific suggestion for you, but it sounds like something that most Windows ACME clients ought to be able to do. If nothing else, most clients should have a concept of a "deploy hook" that can run whatever custom script you want in order to handle reloading services after getting new certificates. See win-acme's [script documentation](https://www.win-acme.com/reference/plugins/installation/script), for instance.

You might also want to look through the other [Windows-based clients](https://letsencrypt.org/docs/client-options/#clients-windows-/-iis) to see if one of them has more out-of-the-box support for what you're trying to do.

---

<div class="post-metadata">

**Author:** ![webprofusion](https://sea3.discourse-cdn.com/letsencrypt/user_avatar/community.letsencrypt.org/webprofusion/32/85310_2.png) [@webprofusion](https://community.letsencrypt.org/u/webprofusion)\
**Post date:** [October 13, 2022, 6:23am UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984/5 "2022-10-13T06:23:18Z")

</div>

win-acme has an example powershell script for (multi-service) Exchange deployment, Certify The Web (which I develop) also has a similar Deployment task available, or you can script your own (e.g. let the app install the cert to the store then run your own powershell to update the cert thumbprint against each service).

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/letsencrypt/original/3X/c/a/ca6c06ea1ea201324bba7048c6841ce60236468d.png) [@system](https://community.letsencrypt.org/u/system)\
**Post date:** [November 12, 2022, 6:23am UTC](https://community.letsencrypt.org/t/auto-update-certificates-in-ms-exchange-after-auto-renew/185984/6 "2022-11-12T06:23:35Z")

</div>

Closed on November 12, 2022, 6:23am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
