Use temporary Amazon EC2 / Digital Ocean cloud machines to get / renew letsencrypt certificates
BSD-3-CLAUSE License
nginx/sites-enabled/site.conf
EC2_AKEY=xxx EC2_SKEY=yyy EC2_VPCID=kkk ./renew.sh
and follow the steps (like configuring DNS and etc)DO_ATOKEN=xxx ./renew.sh digitalocean
and follow the steps (like configuring DNS and etc)privkey1.pem
and fullchain1.pem
.You can also transfer the downloaded certificates to your site, there is an opinionated script upload_certs_on_nginx
.
eval "$(docker-machine --storage-path /usr/local/share/web/docker_machines/ env mysite)"
)upload_certs_on_nginx
, it assumes: container name, certificate path and others.