{"action":"created","issue":{"url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth/issues/47","repository_url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth","labels_url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth/issues/47/comments","events_url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth/issues/47/events","html_url":"https://github.com/jsxc/xmpp-cloud-auth/issues/47","id":299506491,"node_id":"MDU6SXNzdWUyOTk1MDY0OTE=","number":47,"title":"XMPP server (encryption setup problem)","user":{"login":"Minahora","id":36745437,"node_id":"MDQ6VXNlcjM2NzQ1NDM3","avatar_url":"https://avatars3.githubusercontent.com/u/36745437?v=4","gravatar_id":"","url":"https://api.github.com/users/Minahora","html_url":"https://github.com/Minahora","followers_url":"https://api.github.com/users/Minahora/followers","following_url":"https://api.github.com/users/Minahora/following{/other_user}","gists_url":"https://api.github.com/users/Minahora/gists{/gist_id}","starred_url":"https://api.github.com/users/Minahora/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minahora/subscriptions","organizations_url":"https://api.github.com/users/Minahora/orgs","repos_url":"https://api.github.com/users/Minahora/repos","events_url":"https://api.github.com/users/Minahora/events{/privacy}","received_events_url":"https://api.github.com/users/Minahora/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-22T21:00:41Z","updated_at":"2018-06-02T05:16:56Z","closed_at":null,"author_association":"NONE","body":"Hello,\r\nI can't setting up my xmpp server, I tried to ask for help in the forum of nextcloud but unsuccessfully.\r\nsualko said i can ask the help here.\r\n\r\n\r\nMy xmpp server and my nextcloud is in the same machine.\r\n\r\nI have a message : \r\n![screenshot_5](https://user-images.githubusercontent.com/36745437/36563530-b02d3184-181a-11e8-9e58-d802c50902bc.png)\r\n\r\nSo i use bind9 for my domain name.\r\nMy config : \r\n![1](https://user-images.githubusercontent.com/36745437/36563553-c3344d62-181a-11e8-8334-9431d2fb73f3.png)\r\n\r\nMy config apache : \r\n![2](https://user-images.githubusercontent.com/36745437/36563615-019db52a-181b-11e8-8f3c-197e2ada8df2.png)\r\n\r\nmy config prosody.cfg.lua : \r\n```\r\n@@ -26,6 +26,9 @@\r\n -- For more information see: http://prosody.im/doc/libevent\r\n --use_libevent = true;\r\n \r\n\r\n+plugin_paths = { \"/opt/xmpp-cloud-auth/prosody-modules\" }\r\n\r\n -- This is the list of modules Prosody will load on startup.\r\n -- It looks for mod_modulename.lua in the plugins folder, so make sure that exists too.\r\n -- Documentation on modules can be found at: http://prosody.im/doc/modules\r\n@@ -52,14 +55,14 @@\r\n \t\t\"time\"; -- Let others know the time here on this server\r\n \t\t\"ping\"; -- Replies to XMPP pings with pongs\r\n \t\t\"pep\"; -- Enables users to publish their mood, activity, playing music and more\r\n\t\t\"register\"; -- Allow users to register on this server using a client and change passwords\r\n+\t\t-- \"register\"; -- Allow users to register on this server using a client and change passwords\r\n \r\n \t-- Admin interfaces\r\n \t\t\"admin_adhoc\"; -- Allows administration via an XMPP client that supports ad-hoc commands\r\n \t\t--\"admin_telnet\"; -- Opens telnet console interface on localhost port 5582\r\n \t\r\n \t-- HTTP modules\r\n-\t\t--\"bosh\"; -- Enable BOSH clients, aka \"Jabber over HTTP\"\r\n\t\t\"bosh\"; -- Enable BOSH clients, aka \"Jabber over HTTP\"\r\n \t\t--\"http_files\"; -- Serve static files from a directory over HTTP\r\n \r\n \t-- Other specific functionality\r\n@@ -80,6 +83,8 @@\r\n \t-- \"s2s\"; -- Handle server-to-server connections\r\n };\r\n \r\ncross_domain_bosh = true;\r\n\r\n -- Disable account creation by default, for security\r\n -- For more information see http://prosody.im/doc/creating_accounts\r\n allow_registration = false;\r\n@@ -98,14 +103,14 @@\r\n -- These are the SSL/TLS-related settings. If you don't want\r\n -- to use SSL/TLS, you may comment or remove this\r\n ssl = {\r\n\r\n+\tkey = \"/etc/letsencrypt/live/example.org/privkey.pem\";\r\n+\tcertificate = \"/etc/letsencrypt/live/example.org/fullchain.pem\";\r\n }\r\n \r\n -- Force clients to use encrypted connections? This option will\r\n -- prevent clients from authenticating unless they are using encryption.\r\n \r\n\r\nc2s_require_encryption = true\r\n \r\n -- Force certificate authentication for server-to-server connections?\r\n -- This provides ideal security, but requires servers you communicate\r\n@@ -113,7 +118,7 @@\r\n -- NOTE: Your version of LuaSec must support certificate verification!\r\n -- For more information see http://prosody.im/doc/s2s#security\r\n \r\n\r\ns2s_secure_auth = true\r\n \r\n -- Many servers don't support encryption or have invalid or self-signed\r\n -- certificates. You can list domains here that will not be required to\r\n@@ -133,7 +138,8 @@\r\n -- server please see http://prosody.im/doc/modules/mod_auth_internal_hashed\r\n -- for information about using the hashed backend.\r\n \r\n\r\nauthentication = \"external\"\r\n\r\n -- Select the storage backend to use. By default Prosody uses flat files\r\n -- in its configured data directory, but it also supports more backends\r\n@@ -166,17 +172,12 @@\r\n -- You need to add a VirtualHost entry for each domain you wish Prosody to serve.\r\n -- Settings under each VirtualHost entry apply *only* to that host.\r\n\r\n+VirtualHost \"projet.tut\"\r\n \r\n \t-- Assign this host a certificate for TLS, otherwise it would use the one\r\n \t-- set in the global section (if any).\r\n \t-- Note that old-style SSL on port 5223 only supports one certificate, and will always\r\n \t-- use the global one.\r\n-\tssl = {\r\n-\t\tkey = \"/etc/prosody/certs/example.com.key\";\r\n-\t\tcertificate = \"/etc/prosody/certs/example.com.crt\";\r\n-\t}\r\n \r\n ------ Components ------\r\n -- You can specify components to add hosts that provide special services,\r\n```\r\n\r\n\r\nI have question..\r\nI need https ? i need ssl ? \r\n```\r\n+\tkey = \"/etc/letsencrypt/live/example.org/privkey.pem\";\r\n+\tcertificate = \"/etc/letsencrypt/live/example.org/fullchain.pem\";\r\n```\r\n\r\nit's important ?\r\n\r\ni'm beginner in the xmpp server... sorry.\r\n\r\nStep 1 : Installing the software : OK\r\nStep 2 : Setting up DNS entries : OK\r\nStep 3 : Setting up Apache with a Let’s Encrypt certificate : Apache ok, but Let’s encrypt don't setting up\r\nStep 4 : Prosody : Not okay… I tried to modify the file \" / etc. / prosody / prosody.cfg.lua \r\n\r\nThanks for your answer\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth/issues/comments/394059607","html_url":"https://github.com/jsxc/xmpp-cloud-auth/issues/47#issuecomment-394059607","issue_url":"https://api.github.com/repos/jsxc/xmpp-cloud-auth/issues/47","id":394059607,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDA1OTYwNw==","user":{"login":"MarcelWaldvogel","id":3014737,"node_id":"MDQ6VXNlcjMwMTQ3Mzc=","avatar_url":"https://avatars3.githubusercontent.com/u/3014737?v=4","gravatar_id":"","url":"https://api.github.com/users/MarcelWaldvogel","html_url":"https://github.com/MarcelWaldvogel","followers_url":"https://api.github.com/users/MarcelWaldvogel/followers","following_url":"https://api.github.com/users/MarcelWaldvogel/following{/other_user}","gists_url":"https://api.github.com/users/MarcelWaldvogel/gists{/gist_id}","starred_url":"https://api.github.com/users/MarcelWaldvogel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarcelWaldvogel/subscriptions","organizations_url":"https://api.github.com/users/MarcelWaldvogel/orgs","repos_url":"https://api.github.com/users/MarcelWaldvogel/repos","events_url":"https://api.github.com/users/MarcelWaldvogel/events{/privacy}","received_events_url":"https://api.github.com/users/MarcelWaldvogel/received_events","type":"User","site_admin":false},"created_at":"2018-06-02T05:16:56Z","updated_at":"2018-06-02T05:16:56Z","author_association":"CONTRIBUTOR","body":"Sorry for the delay, that somehow fell under my radar.\r\n\r\nDid you have a look at https://github.com/jsxc/xmpp-cloud-auth/wiki/raspberry-pi-en ? That provides step-by-step setup instructions. Please let me know if anything there remains unclear."}}
{"actor":{"display_login":"MarcelWaldvogel"}}