Skip to main content

Primary links

  • Home
  • AI
  • Kubernetes
  • Incus
  • Ansible
  • Terraform
  • OpenStack
  • Virtualization
  • Linux
  • SmartHome
  • HowTo

Misc

  • Linux
  • Hardware
    • APC Back-UPS ES 700G
    • ARM
    • AVM
    • AX88772A Fast Ethernet USB Adapter
    • AXIS M1144-L
    • Adaptec RAID controller
    • Android
    • Archive
      • DataLogic QS6500
      • Epson B-310N / Epson B-500DN
      • HP Compaq t5720
      • HP ProCurve 2524
      • Huawei UMTS USB Stick
      • Lego
      • Linksys SPA921
      • Linux For Tegra
      • PogoPlug
      • SheevaPlug
      • Synology DiskStation DS411+
      • Toshiba Tegra AC100
    • Arduino
    • Bionx
    • Bluetooth
    • Brother
    • Cisco
    • DCPMM / NVRAM
    • Dell
    • ESP32 / ESP8266
    • HP (Hewlett Packard)
    • IPMI
    • Intel NVMe
    • LSI MegaRAID
    • Lenovo ThinkPad
    • Linpack
    • Linux Benchmark
    • Logitech Squeezebox Touch
    • Logitech
    • Mellanox
    • Micron
    • NVMe
    • OpenWRT
    • RaLink RT2500
    • Raspberry Pi
    • SmartHome
    • Snom 320 / 370
    • Solar
    • Sony KDL-55EX725
    • Supermicro
    • Surface
    • TEMPer (usb temperatur)
    • USB Serial adapter
    • Ubiquiti
    • Update Intel NIC firmware
    • Yamaha
    • ZyXEL NSA320
    • ahoy DTU
    • batteries
    • hdparm
    • iDRAC
    • memtest86+
    • smartmontools
  • Programming
  • Databases
  • Multimedia
  • Windows

Cloud

  • OpenStack
  • cloud-config
  • nextcloud

Virtualization

  • Virtualization
  • Incus
  • Docker
  • KVM
  • Kubernetes
  • LXC
  • LXD
  • QEMU
  • VMware
  • VirtualBox
  • multipass
  • podman
  • vagrant
  • XEN

Network

  • DNS
  • Firewall
  • Linux
  • OpenvSwitch
  • SSL
  • VLAN
  • VPN
  • iPXE
  • namespaces
  • nmcli
  • tcpdump

Storage

  • CEPH
  • DRBD
  • LVM
  • S3
  • ZFS
  • btrfs

Automation / CI/CD

  • Install
  • Ansible
  • GitLab
  • LLM
  • Preseed
  • Puppet
  • Terraform
  • Ubuntu autoinstall

Monitoring / Visualisation

  • Grafana
  • Icinga
  • Prometheus
  • Monitoring
  • ELK
  • mermaid
  • ssl
  • letsencrypt

Install LEGO

LEGO_VERSION=$(curl -s https://api.github.com/repos/go-acme/lego/releases/latest | grep '"tag_name"' | cut -d'"' -f4)
curl -L "https://github.com/go-acme/lego/releases/download/${LEGO_VERSION}/lego_${LEGO_VERSION}_linux_amd64.tar.gz" | tar -xz
sudo mv lego /usr/local/sbin
sudo chown root:root /usr/local/sbin
sudo chmod 644 /usr/local/sbin

LEGO with Hetzner

# https://console.hetzner.cloud/ dSecurity → API tokens → Generate (Read & Write)
export HETZNER_API_TOKEN="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
export HETZNER_PROPAGATION_TIMEOUT=600

LEGO confiuration file

# .lego.yml
accounts:
  default:
    email: mail@example.com
    acceptsTermsOfService: true

challenges:
  hetzner:
    dns:
      provider: hetzner
      #envFile: /root/.lego/hetzner.env
      dnsTimeout: 600

certificates:
  example.com:
    challenge: hetzner
    domains:
      - example.com
      - '*.example.com'
  i.example.com:
    challenge: hetzner
    domains:
      - i.example.com
      - '*.i.example.com'

LEGO CLI

DOMAINS="--domains example.com --domains *.example.com --domains example.com

lego run \
  --dns hetzner \
  --email it@example.com \
  --accept-tos \
  ${DOMAINS}

Debug

lego certificates list
--server https://acme-staging-v02.api.letsencrypt.org/directory \
curl -s -H "Authorization: Bearer $HETZNER_API_TOKEN" "https://api.hetzner.cloud/v1/zones"

Links
https://github.com/go-acme/lego
https://go-acme.github.io/lego/dns/

Profiles GitHub StackOverflow LinkedIn Xing
Contact Imprint
© panticz 2026

Cookie-Einstellungen

Diese Website nutzt eingebettete Inhalte von Drittanbietern (z.B. YouTube, SoundCloud). Beim Laden dieser Inhalte werden Daten an die jeweiligen Anbieter übermittelt. Datenverarbeitungserklärung