Automatically Switch to Renewed SSL Certificate
Running OS X Server 5.4 on 10.13 High Sierra.
I've set up a server to use certbot to automatically renew SSL/TLS certificates from Let'sEncrypt for web, mail, and DAV. The LaunchDaemon script is successful in obtaining the new certificates and importing them into the Keychain, but from there I must MANUALLY select the renewed certificates using the Certificates panel in ServerAdmin.
Is there a helper script that that would automate this process since certs from Let'sEncrypt are only valid for 90 days and I do not want to be sitting at a terminal doing this manually every time.