Xmpp

From NURDspace
Revision as of 11:18, 2 August 2022 by Flok (talk | contribs)
  • runs on xmpp.vm.nurd.space
  • listens on xmpp.vm.nurd.space and also allows space.nurdspace.nl domain
  • certificate is installed from revproxy01 from /etc/dehydrated/updateCertsEnRestart.sh:
# XMPP/Jabber server
# copy key + certificate
/usr/bin/scp -C /etc/ssl/letsencrypt/space.nurdspace.nl/* root@xmpp.vm.nurd.space:/root/certificate/
# install into prosody & restart prosody
/usr/bin/ssh root@xmpp.vm.nurd.space 'cp /root/certificate/public.key /var/lib/prosody/space.nurdspace.nl.crt && cp /root/certificate/private.key /var/lib/prosody/space.nurdspace.nl.key && /etc/init.d/prosody restart'
  • add user:
    • prosodyctl register USERNAME space.nurdspace.nl PASSWORD