flynn-ssl-cert
flynn-ssl-cert copied to clipboard
Generates Let's Encrypt certificates and updates flynn routes automatically :)
flynn-ssl-cert
Introduction
Bash script that generates Let's Encrypt certificates and updates flynn routes automatically :)
Quickstart
git clone [email protected]/afgallo/flynn-ssl-cert.git
cd flynn-ssl-cert
chmod a+x ./gen-cert.sh
Usage
./gen-cert.sh my_app_name [domain_name] [email] [dns_service_name]
domain_name, email and dns_service_name are optional parameters. Make sure you change their default values before running the script.
Assumptions
- You have a valid domain name
- You have access to a DNS service where your domain is hosted
- You have docker installed and running
- You have a flynn cluster up and running
- You have the flynn CLI installed
Useful links
https://flynn.io/
https://hub.docker.com/r/certbot/certbot/
https://www.docker.com/
https://letsencrypt.org/
License
MIT licensed