comparison mod_s2s_auth_fingerprint.wiki @ 363:4a39ef28e2d9

slight change and fix syntax error in example config
author Kim Alvefur <zash@zash.se>
date Wed, 12 Jun 2013 18:01:46 +0200
parents 533a06d9b6db
children c35cf2a46b78
comparison
equal deleted inserted replaced
362:c133cef513f9 363:4a39ef28e2d9
4 4
5 This module allows you to explicitly say that you trust remote servers if they show a certificate with a known fingerprint. 5 This module allows you to explicitly say that you trust remote servers if they show a certificate with a known fingerprint.
6 6
7 = Configuration = 7 = Configuration =
8 8
9 After installing and enabling this module like any other, you can put known fingerprints in your config like this: 9 After installing and enabling this module, you can put SHA-1 fingerprints of remote servers in your config like this:
10 10
11 {{{ 11 {{{
12 s2s_trusted_fingerprints = { 12 s2s_trusted_fingerprints = {
13 ["jabber.org"] = "11:C2:3D:87:3F:95:F8:13:F8:CA:81:33:71:36:A7:00:E0:01:95:ED" 13 ["jabber.org"] = "11:C2:3D:87:3F:95:F8:13:F8:CA:81:33:71:36:A7:00:E0:01:95:ED";
14 ["matthewwild.co.uk"] = { 14 ["matthewwild.co.uk"] = {
15 "FD:7F:B2:B9:4C:C4:CB:E2:E7:48:FB:0D:98:11:C7:D8:4D:2A:62:AA"; 15 "FD:7F:B2:B9:4C:C4:CB:E2:E7:48:FB:0D:98:11:C7:D8:4D:2A:62:AA";
16 "CF:F3:EC:43:A9:D5:D1:4D:D4:57:09:55:52:BC:5D:73:06:1A:A1:A0"; 16 "CF:F3:EC:43:A9:D5:D1:4D:D4:57:09:55:52:BC:5D:73:06:1A:A1:A0";
17 }; 17 };
18 } 18 }