Automated Workflow for Exchange 2019 + PMG Certificate Renewal

vusald

Member
Apr 16, 2023
22
1
8
Hello forum
I have simple setup. Exchange 2019 on-prem + PMG in front of it.
Let's Encrypt renews wildcard certificate in Exchange 2019 via WACS.exe (renews all bindings) It's ok.
What I want is:
1. Export Let's Encrypt cert with Private key (done via powershell)
2. Export that certificate to .pem format (done via powershell)
3, Upload it to PMG (can be done via scp)
4. Replace existing certificates to newly uploaded one. (theoretically can be done)

Right now I'm doing it manually.
It's a little tough way... maybe there is much easier way to achieve same thing?

How do you guys handle those certificates?