• Travis Cross's avatar
    FS-7708: Fix docs on enabling cert CN/SAN validation · 979c94de
    Travis Cross 提交于
    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>
    979c94de
名称
最后提交
最后更新
build 正在载入提交数据...
clients/flex 正在载入提交数据...
cmake_modules 正在载入提交数据...
conf 正在载入提交数据...
debian 正在载入提交数据...
docs 正在载入提交数据...
dtd 正在载入提交数据...
fscomm 正在载入提交数据...
htdocs 正在载入提交数据...
html5/verto 正在载入提交数据...
libs 正在载入提交数据...
scripts 正在载入提交数据...
src 正在载入提交数据...
support-d 正在载入提交数据...
w32 正在载入提交数据...
web 正在载入提交数据...
yum 正在载入提交数据...
.clang-format 正在载入提交数据...
.gitattributes 正在载入提交数据...
.gitignore 正在载入提交数据...
.mailmap 正在载入提交数据...
Freeswitch.2005.unsupported.sln 正在载入提交数据...
Freeswitch.2008.express.unsupported.sln 正在载入提交数据...
Freeswitch.2008.sln.debug.bat 正在载入提交数据...
Freeswitch.2008.sln.release.bat 正在载入提交数据...
Freeswitch.2008.unsupported.sln 正在载入提交数据...
Freeswitch.2010.express.sln 正在载入提交数据...
Freeswitch.2010.sln 正在载入提交数据...
Freeswitch.2012.sln 正在载入提交数据...
Freeswitch.2012.sln.bat 正在载入提交数据...
INSTALL 正在载入提交数据...
Makefile.am 正在载入提交数据...
acinclude.m4 正在载入提交数据...
bootstrap.sh 正在载入提交数据...
cc.sh 正在载入提交数据...
cluecon.tmpl 正在载入提交数据...
cluecon2.tmpl 正在载入提交数据...
cluecon2_small.tmpl 正在载入提交数据...
cluecon_small.tmpl 正在载入提交数据...
configure.ac 正在载入提交数据...
devel-bootstrap.sh 正在载入提交数据...
erlang.spec 正在载入提交数据...
freeswitch-config-rayo.spec 正在载入提交数据...
freeswitch-sounds-en-ca-june.spec 正在载入提交数据...
freeswitch-sounds-en-us-callie.spec 正在载入提交数据...
freeswitch-sounds-fr-ca-june.spec 正在载入提交数据...
freeswitch-sounds-music.spec 正在载入提交数据...
freeswitch-sounds-pt-BR-karina.spec 正在载入提交数据...
freeswitch-sounds-ru-RU-elena.spec 正在载入提交数据...
freeswitch-sounds-sv-se-jakob.spec 正在载入提交数据...
freeswitch.spec 正在载入提交数据...
swig_common.i 正在载入提交数据...