User Tools

Site Tools


Sidebar

letsencrypt

This is an old revision of the document!


new
certbot --nginx certonly -d yourdomain.com --deploy-hook /usr/local/sbin/push_to_confiared.sh
renew
certbot --nginx renew --deploy-hook /usr/local/sbin/push_to_confiared.sh
/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
letsencrypt.1546976238.txt.gz · Last modified: 2019/01/08 19:37 by admin