Ich bin gerade dabei, Jabber aufzusetzen. Unter dieser Konfiguration:
![NoPaste-Eintrag](./ext/phpbbde/pastebin/styles/debianforumde/theme/images/icon_pastebin.gif)
Und Fehler treten im /var/log/prosody/prosody.err
![NoPaste-Eintrag](./ext/phpbbde/pastebin/styles/debianforumde/theme/images/icon_pastebin.gif)
![NoPaste-Eintrag](./ext/phpbbde/pastebin/styles/debianforumde/theme/images/icon_pastebin.gif)
(Dass Prosody das Default-Zertifikat nicht finden kann ist verwunderlich, schlussendlich ist es dort verlinkt.
Code: Alles auswählen
lrwxrwxrwx 1 root root 37 Jän 30 2016 localhost.cert -> ../../ssl/certs/ssl-cert-snakeoil.pem
lrwxrwxrwx 1 root root 39 Jän 30 2016 localhost.key -> ../../ssl/private/ssl-cert-snakeoil.key
Wenn ich allerdings in der Konfigurationsdatei den default-Eintrag für die default-SSL-Zertifikatsdateien auskommentiere und durch meine LetsEncrypt-zertifizierten ersetze (erstellt durch den LetsEncrypt-Automatismus, auf die Prosody garantiert Vollzugriff hat, mit sudo -u prosody nano DATEI getestet), bekomme ich folgende Fehlermeldung:
Geänderter Teil der Config:
Code: Alles auswählen
-- These are the SSL/TLS-related settings. If you don't want
-- to use SSL/TLS, you may comment or remove this
--ssl = {
-- key = "/etc/prosody/certs/localhost.key";
-- certificate = "/etc/prosody/certs/localhost.crt";
--}
ssl = {
key = "/etc/letsencryptprosody/privkey.pem";
certificate = "/etc/letsencryptprosody/fullchain.pem";
}
-- Force clients to use encrypted connections? This option will
-- prevent clients from authenticating unless they are using encryption.
c2s_require_encryption = true
-- Force certificate authentication for server-to-server connections?
-- This provides ideal security, but requires servers you communicate
-- with to support encryption AND present valid, trusted certificates.
-- NOTE: Your version of LuaSec must support certificate verification!
-- For more information see http://prosody.im/doc/s2s#security
s2s_secure_auth = true
Code: Alles auswählen
root@SERVER:/etc/prosody# service prosody restart
Job for prosody.service failed. See 'systemctl status prosody.service' and 'journalctl -xn' for details.
root@SERVER:/etc/prosody# systemctl status prosody.service
● prosody.service - LSB: Prosody XMPP Server
Loaded: loaded (/etc/init.d/prosody)
Active: failed (Result: exit-code) since Die 2016-09-06 14:24:45 CEST; 8s ago
Docs: file:///etc/insserv/overrides/prosody
Process: 29307 ExecStop=/etc/init.d/prosody stop (code=exited, status=0/SUCCESS)
Process: 28840 ExecReload=/etc/init.d/prosody reload (code=exited, status=0/SUCCESS)
Process: 29871 ExecStart=/etc/init.d/prosody start (code=exited, status=1/FAILURE)
Sep 06 14:24:45 SERVER prosody[29871]: Starting Prosody XMPP Server: prosodylua5.1: /usr/lib/prosody/core/certmanager.lua:94: attempt to index field 'context' (a nil value)
Sep 06 14:24:45 SERVER prosody[29871]: stack traceback:
Sep 06 14:24:45 SERVER prosody[29871]: /usr/lib/prosody/core/certmanager.lua:94: in function 'create_context'
Sep 06 14:24:45 SERVER prosody[29871]: /usr/bin/prosody:274: in function 'init_global_state'
Sep 06 14:24:45 SERVER prosody[29871]: /usr/bin/prosody:396: in main chunk
Sep 06 14:24:45 SERVER prosody[29871]: [C]: ?
Sep 06 14:24:45 SERVER prosody[29871]: failed!
Sep 06 14:24:45 SERVER systemd[1]: prosody.service: control process exited, code=exited status=1
Sep 06 14:24:45 SERVER systemd[1]: Failed to start LSB: Prosody XMPP Server.
Sep 06 14:24:45 SERVER systemd[1]: Unit prosody.service entered failed state.
root@SERVER:/etc/prosody# journalctl -xn
-- Logs begin at Don 2016-08-18 21:17:01 CEST, end at Die 2016-09-06 14:25:08 CEST. --
Sep 06 14:24:45 SERVER prosody[29871]: failed!
Sep 06 14:24:45 SERVER systemd[1]: prosody.service: control process exited, code=exited status=1
Sep 06 14:24:45 SERVER systemd[1]: Failed to start LSB: Prosody XMPP Server.
-- Subject: Unit prosody.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit prosody.service has failed.
--
-- The result is failed.
Sep 06 14:24:45 SERVER systemd[1]: Unit prosody.service entered failed state.
Sep 06 14:25:01 SERVER CRON[29885]: pam_unix(cron:session): session opened for user root by (uid=0)
Sep 06 14:25:01 SERVER CRON[29884]: pam_unix(cron:session): session opened for user munin by (uid=0)
Sep 06 14:25:01 SERVER CRON[29886]: (root) CMD (if [ -x /etc/munin/plugins/apt_all ]; then /etc/munin/plugins/apt_all update 7200 12 >/dev/null; elif [ -x /etc/munin/plugins/apt ]; then /etc/munin/plugins/apt
Sep 06 14:25:01 SERVER CRON[29885]: pam_unix(cron:session): session closed for user root
Sep 06 14:25:01 SERVER CRON[29887]: (munin) CMD (if [ -x /usr/bin/munin-cron ]; then /usr/bin/munin-cron; fi)
Sep 06 14:25:08 SERVER CRON[29884]: pam_unix(cron:session): session closed for user munin
lines 1-18/18 (END)
Eine Verbindung versuchen Conversations sowie Empathy aufzubauen, dies schlägt aber fehl.
Vielleicht findet irgendwer den Fehler? Bitte um Hilfe!