Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Small script to ease creation and renewal of Lets Encrypt certificates on Uberspace

License

Notifications You must be signed in to change notification settings

m3adow/letsencrypt-uberspace-mgr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Uberspace Let's Encrypt Manager

This is a very simple script to automate the process of getting and renewing multiple SSL certificates for multiple domains on Uberspace. I've written a short blog entry about it.

Reasoning

Utilizing Let's Encrypt on Uberspace is very easy. Sadly there's one flaw: By default, all domains registered on your Uberspace are included in one certificate. This is a major privacy issue as it could reveal domains you're not officially affiliated with.
That's why I created the letsencrypt-uberspace-mgr.

Howto

Create a file ~/etc/letsencrypt_domains.conf with every domain you want to have in one certificate per line, e.g.:

1st.domain.tld,2nd.domain.tld
my.single.tld
my.other.tld,and.another.tld

Then just put the script into your crontab, e.g.:

23 3 * * 5 /home/your-uberspace-user/path/to/script/letsencrypt-uberspace-mgr > ~/tmp/letsencrypt-uberspace-mgr.log

I recommend using keep-until-expiring = True in your cli.ini to avoid running into Let's Encrypts Rate Limiting. Also consider using staging = True while testing the script for similar reasons.

It's possible to override every variable defined in the script to change its functionality.

Roadmap

  • Add different E-Mail adresses per domain set
  • Ease creation of new certificates
  • Use URL instead of conf file to ease cert management of distributed Uberspaces

Disclaimer

This script works. I haven't put a lot of thought or time into it, so it's not unlikely the way the script works is overly complicated (letsencrypt -c seems to be an easier way), but it works.

About

Small script to ease creation and renewal of Lets Encrypt certificates on Uberspace

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages