Ab

Abusing a GitHub repo as a private certificate authority

Hacker News

Abusing a GitHub repo as a private certificate authority

I tend to create a private certificate authority for every side project, in order to create TLS certs for local development. I find it useful to have local development closely resemble production when at all possible, and "real" certificates are an important element. Anyway I got tired of having these CA private keys on my local machine, especially as I started thinking about setting up a private CA for my company ( https://riza.io ). So I started thinking about what the simplest way to host a private CA might be. You really only need two things: 1) secret storage, to hold the CA's private key, and 2) a computer with access to the secret that can run openssl. It turns out that a GitHub repository has secret storage, and GitHub Actions provides a computer with access to that secret storage which can run openssl. So I made a GitHub repo with a stupid-simple workflow and a couple of convenience shell scripts to use as a private CA. I've already used it as a template repo to host private CA's for my projects, and thought it might be useful to others.

Share card

Actual performance

26points
7comments
Made the leaderboard

Launch Intel predictions

Analyze your own launch →
Product HuntOn track for Day 1 leaderboard · Strong signals: mac, computer, using · Missing: agents, macos, agent
81%81% predicted probability of success on Product Hunt, based on ML models trained on real launch data.
best fitHighest predicted score across all platforms for this description.
Indie HackersFits the IH revenue-focused audience · Strong signals: started · Missing: supports, reddit linkedin, podcasting
70%70% predicted probability of success on Indie Hackers, based on ML models trained on real launch data.
Hacker NewsStrong engagement from HN community · Strong signals: ide, io · Missing: https docs, excited, just released
55%55% predicted probability of success on Hacker News, based on ML models trained on real launch data.
nativeThis product was originally launched on this platform.
TrustMRRLess likely to generate early MRR · Strong signals: way · Missing: mobile apps, ios, personal
44%44% predicted probability of success on TrustMRR, based on ML models trained on real launch data.
AppSumoMay struggle as an AppSumo deal · Strong signals: host · Missing: plus, platform, intuitive
43%43% predicted probability of success on AppSumo, based on ML models trained on real launch data.
Acquire.comPre-revenue stage for this audience · Missing: arr, mrr, revenue
14%14% predicted probability of success on Acquire.com, based on ML models trained on real launch data.
BetaListMay not resonate with beta-testers · Missing: web3, chat, crypto
0%0% predicted probability of success on BetaList, based on ML models trained on real launch data.

Correct prediction on native model

Similar products

My
My son's first GitHub repo76%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

My son's first GitHub repo

Hacker News17
20
2019 Wuhan Coronavirus data (2019-nCoV) GitHub repo39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

2019 Wuhan Coronavirus data (2019-nCoV) GitHub repo

Hacker News7
Je
JeopardyGithub: GitHub Repo to Jeopardy Game55%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

JeopardyGithub: GitHub Repo to Jeopardy Game

Hacker News4
DeepWiki by Congnition
DeepWiki by Congnition65%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Understand Any GitHub Repo with AI Wikis

Product Hunt+152Open Source
Gi
GitHub repo with all design tools47%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitHub repo with all design tools

Hacker News2
Gi
GitHub Repo Engagement Dasbhoard with Apache Superset39%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitHub Repo Engagement Dasbhoard with Apache Superset

Hacker News1
Gi
GitVain – GitHub Repo Stats53%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

GitVain – GitHub Repo Stats

Hacker News1
Re
Repostatus – Get happiness status of your GitHub repo48%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Repostatus – Get happiness status of your GitHub repo

Hacker News1
A
A userscript to show the size of a GitHub repo.33%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

A userscript to show the size of a GitHub repo.

Hacker News1
Di
Discover insights about any GitHub repo46%Launch Intel prediction score: how likely this product is to succeed on its source platform, based on its name, tagline, and description.

Discover insights about any GitHub repo

Hacker News3