Browse Source

Updates manual install doc with auth.domain certs instructions.

master
damencho 7 years ago
parent
commit
3ac41bb0c3
2 changed files with 19 additions and 1 deletions
  1. 8
    1
      doc/example-config-files/prosody.cfg.lua.example
  2. 11
    0
      doc/manual-install.md

+ 8
- 1
doc/example-config-files/prosody.cfg.lua.example View File

45
 	-- Not essential, but recommended
45
 	-- Not essential, but recommended
46
 		"private"; -- Private XML storage (for room bookmarks, etc.)
46
 		"private"; -- Private XML storage (for room bookmarks, etc.)
47
 		"vcard"; -- Allow users to set vCards
47
 		"vcard"; -- Allow users to set vCards
48
-	
48
+
49
 	-- These are commented by default as they have a performance impact
49
 	-- These are commented by default as they have a performance impact
50
 		--"privacy"; -- Support privacy lists
50
 		--"privacy"; -- Support privacy lists
51
 		"compression"; -- Stream compression (requires the lua-zlib package installed)
51
 		"compression"; -- Stream compression (requires the lua-zlib package installed)
181
 
181
 
182
 	c2s_require_encryption = false
182
 	c2s_require_encryption = false
183
 
183
 
184
+VirtualHost "auth.jitsi.example.com"
185
+	ssl = {
186
+		key = "/var/lib/prosody/auth.jitsi.example.com.key";
187
+		certificate = "/var/lib/prosody/auth.jitsi.example.com.crt";
188
+	}
189
+	authentication = "internal_plain"
190
+
184
 ------ Components ------
191
 ------ Components ------
185
 -- You can specify components to add hosts that provide special services,
192
 -- You can specify components to add hosts that provide special services,
186
 -- like multi-user conferences, and transports.
193
 -- like multi-user conferences, and transports.

+ 11
- 0
doc/manual-install.md View File

60
 - add domain with authentication for conference focus user:
60
 - add domain with authentication for conference focus user:
61
 ```
61
 ```
62
 VirtualHost "auth.jitsi.example.com"
62
 VirtualHost "auth.jitsi.example.com"
63
+    ssl = {
64
+        key = "/var/lib/prosody/auth.jitsi.example.com.key";
65
+        certificate = "/var/lib/prosody/auth.jitsi.example.com.crt";
66
+    }
63
     authentication = "internal_plain"
67
     authentication = "internal_plain"
64
 ```
68
 ```
65
 - add focus user to server admins:
69
 - add focus user to server admins:
83
 Generate certs for the domain:
87
 Generate certs for the domain:
84
 ```sh
88
 ```sh
85
 prosodyctl cert generate jitsi.example.com
89
 prosodyctl cert generate jitsi.example.com
90
+prosodyctl cert generate auth.jitsi.example.com
91
+```
92
+
93
+Add auth.jitsi.example.com to the trusted certificates on the local machine:
94
+```sh
95
+ln -sf /var/lib/prosody/auth.jitsi.example.com.crt /usr/local/share/ca-certificates/auth.jitsi.example.com.crt
96
+update-ca-certificates
86
 ```
97
 ```
87
 
98
 
88
 Create conference focus user:
99
 Create conference focus user:

Loading…
Cancel
Save