Skip to content

Instantly share code, notes, and snippets.

@janl

janl/README.md Secret

Created January 16, 2018 16:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janl/c600583209452c6aac87fed8c774503a to your computer and use it in GitHub Desktop.
Save janl/c600583209452c6aac87fed8c774503a to your computer and use it in GitHub Desktop.
Greenkeeper Enterprise & letsencrypt

If the Greenkeeper Enterprise service is already running, first stop it on the admin console.

ssh root@gke.my-company.com
apt-get install python-letsencrypt # assumes Debian/Ubuntu, analogous for other package managers / OSs
export DOMAIN=my-company.com # assumes sh/bash
letsencrypt certonly --standalone --email me@$DOMAIN --agree-tos --keep -d gke.$DOMAIN -d api.$DOMAIN -d kue.$DOMAIN # optional: -d couchdb.$DOMAIN
cp /etc/letsencrypt/live/$DOMAIN*/fullchain.pem /data/certs/$DOMAIN.crt
cp /etc/letsencrypt/live/$DOMAIN*/privkey.pem /data/certs/$DOMAIN.key

Now (re-) start the Greenkeeper Enterprise serices in the admin console. If you are just going through the initial setup, the service will be started in a later steo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment