I have a internal certificate service which is not LetsEncrypt nor it is using ACME protocol.
During startup I download the certs and place them into .certs directory which works well via
tls load .certs. However, what is the correct way to renew these certificates without instance restart?
Currently, I decode cert expiration date and right before the cert expires I download new certs into .certs directory and then make a call to instance.restart()
FYI I’m using my own plugin directive which installs the certs and it is registered before tls directive. Looking for a way to just make a call to some function which would reload the certs from .certs directory or even better allow me to update certs via inst.Storage[CertCacheInstStorageKey].(*certificateCache).