This is an old revision of the document!
certbot --nginx certonly -d yourdomain.com --deploy-hook /usr/local/sbin/push_to_confiared.sh
certbot --nginx renew --deploy-hook /usr/local/sbin/push_to_confiared.sh
#RENEWED_LINEAGE=/etc/letsencrypt/live/site.com curl --data "certificate=@${RENEWED_LINEAGE}/cert.pem" --data "chain=@${RENEWED_LINEAGE}/chain.pem" --data "privatekey=@${RENEWED_LINEAGE}/privkey.pem" https://api.confiared.com/reverse-proxy/upload-certificate -o /var/log/last_letsencrypt_confiared_api.log