Note: You must edit [domain] and [dir] in the examples below.
Step 1. Double-check that dgate-ssl is loading the live certs.
Step 2. Create a script to renew the cert via an http standalone server. (Make sure it has execute permissions)
~/certbot-auto certonly\
--standalone\
--standalone-supported-challenges http-01\
--http-01-port 3005\