@Alan.Braggins, its a software install and I believe it was installed as root. I am running vTM 17.4 and acme.sh version v2.7.4 I did figureout what the problem was and the fix I implemented was similar to adding ""--home=${ACMEHOME}". Our vTM is running in a cluster so when i configured our setup, I used a shared storage for the vTM. When I initially set it up and requested the ssl cert, it did use the parameter that I set for ACMEHOME but when its time to renew and the vTM alert triggers, acme.sh doesn't use the parameter that is set for ACMEHOME but instead it creates a directory called (/.acme.sh locally on the vTM) and installs the certs there. With this happening and since the alert triggers on all the cluster vTMs they all create the /.acme.sh locally with thier own private keys and when its done requesting the certs, all the cluster then tries to upload thier own version of private and public keys so there is a conflict during the ssl cert update which gives you an error message saying the cert and private key is not a match. Obviously, if the vTM is not in a cluster, then it would work great. Below is what I implemented to kinda fix it (unfortunately, when I figured out this was what was happening, it was already too late and I had already hit the rate limit for duplicate certs.) I added a new parameter in letsencryptforvtm.sh called ACME_CONFIG="--config-home '"/root/.acme.sh/" and then also added it to $ACMEHOME/acme.sh $TEST $ACME_CONFIG $ACMEOPTIONS $ACMEACTION -d ${CERTFILE} $ACMEKEY after that, I manually run the trigger and that seemed to have gone through all the vlaidation process successfully but again, I couldn't get a new cert because I had already hit the rate limit. Should i submit a pull request for these changes? Note: in order to see what is going on when the alert is triggered, you would have to set the alert mapping to verbose to get the full log entries in zxtm/logs/errors. If you don't set it to verbose, all you will see in the logs would be an alert about the certificates expiring.
... View more