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

推荐订阅源

博客园 - 【当耐特】
小众软件
小众软件
S
SegmentFault 最新的问题
GbyAI
GbyAI
量子位
爱范儿
爱范儿
L
LangChain Blog
Vercel News
Vercel News
A
About on SuperTechFans
腾讯CDC
博客园_首页
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
博客园 - 聂微东
Stack Overflow Blog
Stack Overflow Blog
H
Help Net Security
U
Unit 42
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
V
V2EX
V
Visual Studio Blog
美团技术团队
D
DataBreaches.Net
The GitHub Blog
The GitHub Blog
N
Netflix TechBlog - Medium

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
🚀 One-Click Talos Omni Deployment: From Zero to Kubernete...
Jesus Gilbert · 2026-06-23 · via DEV Community

Jesus Gilbert

One-Click Self-Hosted Talos Omni Deployment with Automatic TLS Trust Configuration

After spending several hours troubleshooting self-hosted Talos Omni deployments, TLS certificate chains, Dex configuration, Trusted Roots, and the dreaded:

x509: certificate signed by unknown authority

I decided to automate the entire process into a single script.

The script deploys a complete self-hosted Omni environment and automatically handles the certificate trust issues that many people encounter when onboarding Talos nodes.

What This Script Does

  • Installs and configures Dex
  • Deploys Omni
  • Generates a self-signed internal CA
  • Creates server certificates with the complete certificate chain
  • Configures SideroLink
  • Generates Trusted Roots configuration
  • Creates the talos.config.early kernel argument
  • Produces everything needed for Talos Image Factory
  • Works with Proxmox, VMware, bare metal, and cloud VMs

Why This Exists

Most self-hosted Omni installation guides require multiple manual steps:

  1. Generate certificates
  2. Configure Dex
  3. Configure OIDC
  4. Fix certificate trust issues
  5. Create Trusted Roots
  6. Generate custom Talos boot media

Missing any of these steps can prevent Talos nodes from connecting successfully.

This script automates the entire workflow from start to finish.

Prerequisites

  • Linux server
  • Docker installed and running
  • Internet access

Required Ports

Port Service
443 Omni UI
5556 Dex
8090 SideroLink API
8091 Event Sink
8100 Kubernetes Proxy
50180/UDP WireGuard

Quick Start

Make the script executable:

chmod +x install.sh

(Optional) Customize your environment:

export OMNI_IP=<YOUR_OMNI_SERVER_IP>
export ADMIN_EMAIL=<YOUR_ADMIN_EMAIL>

./install.sh

Example:

export OMNI_IP=192.168.1.100
export ADMIN_EMAIL=admin@example.com

./install.sh

Variables

Variable Description
OMNI_IP IP address or hostname of the Omni server
ADMIN_EMAIL Administrator email used for Omni login

If not provided, the script uses built-in defaults.

Login Credentials

The installer automatically creates an administrator account in Dex.

Use the email configured in:

export ADMIN_EMAIL=<YOUR_ADMIN_EMAIL>

to authenticate.

Default Password

Admin123!

Changing the Default Password

If you prefer a different password, generate a new bcrypt hash before running the installer:

docker run --rm -it httpd:2.4-alpine htpasswd -BnC 15 admin

You will be prompted to enter the password twice.

Example output:

admin:$2y$15$XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Copy only the hash portion after:

admin:

Open the script and search for:

DEX_PASSWORD_HASH=

Replace the existing hash with your newly generated one.

In the current version of the script, this variable is located near the beginning of the file (around line 46).

What Happens After Installation?

Once the installation completes:

Open Omni:

https://YOUR_OMNI_IP

Log in using:

Email: ADMIN_EMAIL
Password: Admin123!

(or your custom password)

Click:

Copy Kernel Parameters

Open Talos Image Factory:

https://factory.talos.dev

Build a Talos ISO using:

Recommended Settings

Platform

Metal

Architecture

amd64

Extensions

siderolabs/qemu-guest-agent

(for Proxmox users)

Paste the following into:

Extra kernel command line arguments

<contents of talos-config-early.arg>
<Omni Kernel Parameters>

Download the ISO and boot your nodes.

Result

After booting:

  • Nodes automatically join Omni
  • SideroLink connects successfully
  • No TLS trust errors
  • No x509: certificate signed by unknown authority
  • Cluster creation works immediately

Tested On

  • Talos 1.13.x
  • Omni Self-Hosted
  • Ubuntu Server
  • Docker
  • Proxmox VE

Download

You can download the script here:

https://github.com/jgilbertcastro/talosomni/blob/main/install.sh

Feedback

Feedback, bug reports, and pull requests are welcome.

Hopefully this saves someone else from spending hours debugging TLS certificate chains, Trusted Roots, and Talos onboarding. 😅