So I have a server with an SSL cert that I did via auto and anto-renew. Works great.
However, we have grown and now I have build a load-balanced set of servers and placed them on Cloudflare utilizing their DNS and load balancing.
I just copied my certs to my various servers and it all works great until it comes time to renew the certificate. In my case, I had to disable all of my load balancing and allow one single server to make the renewal request then copy everything over to the other servers and re-enable my load balancing.
My understand of this is that letencrypt does a DNS lookup and the IP they are getting is the frontend of the load balancers and not my server.
So I understand that you can use certbot with an API directly from Cloudflare that allows the renewal based on certbot being able to add and then delete a DNS record (SEE HERE).
However, I do not know how to convert my renewals from how it works now (Apache Plugin) to the DNS method.
Any help would be greatly appreciated.