Not sure how to do that. I presume you mean edit the fileIdeally, edit the renewal config file to use it.
Code:
nano /mnt/v1/iocage/jails/nextcloud/root/usr/local/etc/letsencrypt/renewal/mydomain.ddns.net.conf
What do I add to the file? Here is my current version
Code:
# renew_before_expiry = 30 days version = 0.31.0 archive_dir = /usr/local/etc/letsencrypt/archive/mydomain.ddns.net cert = /usr/local/etc/letsencrypt/live/mydomain.ddns.net/cert.pem privkey = /usr/local/etc/letsencrypt/live/mydomain.ddns.net/privkey.pem chain = /usr/local/etc/letsencrypt/live/mydomain.ddns.net/chain.pem fullchain = /usr/local/etc/letsencrypt/live/mydomain.ddns.net/fullchain.pem # Options used in the renewal process [renewalparams] authenticator = webroot account = *********************************************** server = https://acme-v02.api.letsencrypt.org/directory [[webroot_map]] mydomain.ddns.net = /usr/local/www
EDIT: apparently it is not recommended to edit the config file per the certbot user guide.
could I issue this command from the jail to let certbot edit the config?
Code:
certbot renew --deploy-hook "service nginx reload"
Last edited: