惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

爱范儿
爱范儿
量子位
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
J
Java Code Geeks
B
Blog
V
V2EX
博客园 - 三生石上(FineUI控件)
Blog — PlanetScale
Blog — PlanetScale
aimingoo的专栏
aimingoo的专栏
Y
Y Combinator Blog
F
Fortinet All Blogs
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
The Cloudflare Blog
A
About on SuperTechFans
D
DataBreaches.Net
阮一峰的网络日志
阮一峰的网络日志
博客园 - Franky
H
Help Net Security
宝玉的分享
宝玉的分享
Martin Fowler
Martin Fowler
酷 壳 – CoolShell
酷 壳 – CoolShell
MongoDB | Blog
MongoDB | Blog
L
LangChain Blog

Anže's Blog

The 15-Year-Old iptables Rule That Broke My DNS Fedidevs 9h Outage Postmortem Letting Claude Upgrade My Raspberry Pi Agents Day Lisbon DjangoCon Europe 2026 How to Safely Update Your Dependencies Speeding Up Django Startup Times with Lazy Imports Typing Your Django Project in 2026 Claude Fixes User Bug Jekyll to Hugo Migration Advent of Code 2025 🎄 Django bulk_update Memory Issue Migrating Gunicorn to Granian Disable Network Requests When Running Pytest Disable Runserver Warning in Django 5.2 Autogenerating og:images with Jekyll Power Outages and Gunicorn PID Files UV with Django Go-like Error Handling Makes No Sense in JavaScript or Python Packages Do Not Match the Hashes Pip Error Gotchas with SQLite in Production Fedidevs Dev Update #2 Django SQLite Production Config Django Streaming HTTP Responses Deploying a Django Project to My Raspberry Pi (Video) Thoughts on Code Reviews Django SQLite Benchmark Django, SQLite, and the Database Is Locked Error No Downtime Deployments with Gunicorn SQLite Write-Ahead Logging
Fly.io Certificate Renewal
Anže Pečar · 2023-06-19 · via Anže's Blog

One of my side projects experienced downtime due to an expired SSL certificate. Here’s what happened and how I resolved it.

chart showing 1h and 41 minutes of downtime

I host my project on fly.io and followed the official docs to set up the certificates 3 months ago. The other day I started receiving SSL Handshake Failed errors.

To fix the issue, I ran the following commands:

flyctl certs delete fedidevs.com
flyctl certs create fedidevs.com

Surprisingly, I had to delete the existing certificate before creating a new one, or else I encountered the following error:

Error: Hostname already exists on app

I have found a forum thread with others experiencing this same issue. According to a fly.io employee post the certificates should auto-renew 30 days before expiration, but they did have a bug that prevented certificates from renewing. Did this bug regress?

Despite having the A/AAAA records correctly set, my site didn’t auto-renew. I’ve now added the CNAME record to my DNS settings hoping that this will fix the problem, but I’ll have to wait until September to know for sure. 🤞

image showing the certificates are valid until September 14, 2023