Xmpp: Difference between revisions

From NURDspace
(Created page with "* 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/update...")
 
No edit summary
Line 11: Line 11:
# install into prosody & restart prosody
# 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'</nowiki>
/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'</nowiki>
* add user:
** prosodyctl register USERNAME space.nurdspace.nl PASSWORD

Revision as of 11:18, 2 August 2022

  • 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