Skip to content

serveroffline/letsencrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

letsencrypt

Tiny scripts for Let's Encrypt to automate deploy and renewal

Warning

This repository is here for historic purposes. The new auto-bot has all this functionality built in. This script was used prior to 1st of august.

Just make a cron-job as a user with enough rights to deploy and run let's encrypt plus the ability to reload the NGINX config (or whichever you want to use, I simply used NGINX in this one but it can be any...)

0 0 * * * /opt/letsencrypt/cron/automated_renewal

Default installation parameters

$ git clone https://github.com/letsencrypt/letsencrypt $ mv letsencrypt /opt/letsencrypt $ mkdir -p /var/www/letsencrypt/html

/etc/letsencrypt/cli.ini

rsa-key-size = 4096 email = example@example.net authenticator = webroot webroot-path = /var/www/letsencrypt/html text = True agree-tos = True renew-by-default = True

/etc/nginx/conf.d/letsencrypt.conf

location /.well-known/acme-challenge { default_type "text/plain"; root /var/www/letsencrypt/html; }

About

Let's Encrypt (Automated) Renewal Scripts

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages