If you're running XMPP on a private LAN, use the DNS-01 challenge to keep your p...

@var@mastodon.social

If you're running XMPP on a private LAN, use the DNS-01 challenge to keep your ports closed and secure.

1️⃣ Consolidate subdomains into one SAN certificate:

sudo certbot certonly --manual --preferred-challenges dns -d example.com -d sub.example.com -d muc.example.com

2️⃣ Create a deploy hook at /etc/letsencrypt/renewal-hooks/deploy/prosody.sh:

#!/bin/sh
/usr/bin/prosodyctl --root cert import /etc/letsencrypt/live/example.com

@prosodyim @letsencrypt
#XMPP #Linux #SysAdmin #OpenSource