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

推荐订阅源

让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
B
Blog
Jina AI
Jina AI
N
Netflix TechBlog - Medium
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园_首页
Hugging Face - Blog
Hugging Face - Blog
博客园 - 聂微东
美团技术团队
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
阮一峰的网络日志
阮一峰的网络日志
U
Unit 42
The Cloudflare Blog
V
V2EX
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
小众软件
小众软件
罗磊的独立博客
Microsoft Security Blog
Microsoft Security Blog
Apple Machine Learning Research
Apple Machine Learning Research
I
InfoQ
GbyAI
GbyAI
腾讯CDC
MongoDB | Blog
MongoDB | 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