freeswitch/conf/vanilla
Travis Cross 1d726c1d91 Fix docs on enabling cert CN/SAN validation
The correct incantations to enable certification common name / subject
alternative name verification, per our code, are `subjects_all`,
`subjects_in`, and `subjects_out` in a Sofia profile's
`tls-verify-policy`.  What we've had in our examples and documentation
for years are `all_subjects`, `in_subjects`, and `out_subjects`.

The result of this is that we've almost certainly confused people into
using the incorrect forms.  Those poor people will believe that they
are verifying the CN/SAN of the received host certificate against the
list in `tls-verify-in-subjects` when in fact they are not.

One clear issue in this case was that the incorrect forms failed to
have any effect without providing any warning or error.  This issue
could not have persisted if we had made more noise about incorrect
input.

Given how long this has been broken, it's tempting to alias the
incorrect forms to the correct ones.  However this would certainly
break many existing installations that have, because of this error,
never actually tested their setup with CN/SAN validation enabled.

In this commit, we fix the examples and documentation, and add an
error-level log output when unknown values are passed to
`tls-verify-policy`.

Thanks-to: Andrew Patrikalakis <anrp+freeswitch@anrp.net>
2015-06-17 17:10:29 +00:00
..
autoload_configs FS-7638 properly match ACL with IPv4 mapped IPv6 addresses 2015-06-11 10:41:33 -05:00
chatplan conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
dialplan FS-7471 improve configs for video 2015-05-28 12:47:25 -05:00
directory FS-7471 improve configs for video 2015-05-28 12:47:25 -05:00
ivr_menus Create new demo IVR XML and phrases. (New sound files needed.) Update phrase_en.xml to-be-recorded sound files. 2012-07-24 16:36:45 -07:00
jingle_profiles add video support to lib/mod.dingaling this needs testing, google voice won't work with video calls so disable video codecs if you use that 2012-06-22 18:15:06 -05:00
lang FS-6097 - added fifo_position macro 2014-11-18 15:42:44 -05:00
mrcp_profiles mod_unimrcp: add example config for Vestec 2013-08-14 10:06:18 -04:00
sip_profiles Fix docs on enabling cert CN/SAN validation 2015-06-17 17:10:29 +00:00
skinny_profiles FS-477 mod_skinny: re-add ability to set digit timeout in patterns, update example configs 2014-06-09 12:29:47 -05:00
yaml conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
README_IMPORTANT.txt conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
config.FS0 conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
extensions.conf conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
freeswitch.xml FS-5045 2014-02-02 12:33:37 +01:00
fur_elise.ttml conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
mime.types FS-7496 Updated mime.types, added switch_core_mime_type2ext function and used it in mod_httapi. Now, file extensions defined in mime.types will be applied if mod_httapi downloads a file without one. 2015-04-30 14:24:41 -04:00
notify-voicemail.tpl conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
tetris.ttml conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00
vars.xml Add Perfect Forward Secrecy (DHE PFS) to mod_sofia 2015-06-01 12:45:19 -05:00
voicemail.tpl FS-6157 --resolve 2014-02-09 13:34:12 -06:00
web-vm.tpl conf: mv conf/* -> conf/vanilla/* 2012-03-24 03:19:32 +00:00