Skip to content

Commit

Permalink
update tls certs again
Browse files Browse the repository at this point in the history
  • Loading branch information
seabo committed Aug 29, 2023
1 parent 83c796b commit 4ec8323
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/deployment/history/20230829-tls-cert-update.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Update TLS certs

1. SSH into EC2 instance
2. Unlike the notes I wrote last time, running `sudo certbot renew`
didn't work because nginx was already bound to port 80 and certbot
couldn't do it's nifty challenge thing.
3. So: `docker stop xyz-prod-nginx-1` - this causes some downtime for
the app, which I think we can afford.
4. Now `sudo certbot renew` works.
5. Relaunch docker containers with `docker compose -p xyz-prod -f docker-compose.yml -f docker-compose.production.yml up -d`

2 comments on commit 4ec8323

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seabo this was deployed as to group ``.

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seabo this was deployed as to group ``.

Please sign in to comment.