Skip to content

Instantly share code, notes, and snippets.

@pawohl
pawohl / fritzbox-cert-update.sh
Last active February 16, 2024 16:56 — forked from wikrie/fritzbox-cert-update.sh
Fritzbox Fritz!Box AVM SSL Letsencrypt automatically update
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'
# parameters
USERNAME="maybe empty"
PASSWORD="fritzbox-password"
CERTPATH="path to cert eg /etc/letsencrypt/live/domain.tld/"
CERTPASSWORD="cert password if needed"