I recentrly discovered https://certifytheweb.com/ (The SSL Certificate Manager for Windows, powered by Let's Encrypt) and made a simple script to automatize the renewal process.
You only have to modify the crt and key path and set it in the post-request script page of the program.
Hope can help some of you!
Code: Select all
param($result) $latest = $result.ManagedItem.CertificatePath openssl pkcs12 -in $latest -out E:\path\to\private\key\public.key -nocerts -nodes -passin pass: openssl pkcs12 -in $latest -out E:\path\to\public\crt\public.crt -nokeys -passin pass: Restart-Service -Name hMailServer -Force