diff options
author | Mark Michelson <mmichelson@digium.com> | 2015-01-16 17:45:44 +0000 |
---|---|---|
committer | Mark Michelson <mmichelson@digium.com> | 2015-01-16 17:45:44 +0000 |
commit | 8bc4a89e1f9cb71295e074158b938e5d800342b0 (patch) | |
tree | 15efb1b5423212186530c0d35e1a56cac532a92a /res/res_pjsip.c | |
parent | fa80d9658df8aff71a8975ab7d1fe477ea3f99b9 (diff) |
Add support for the ca_list_path option for PJSIP transports.
This allows for a path to be specified that has a collection of CA
certificates in it.
ASTERISK-24575 #close
Reported by cloos
Patches:
pj-ca-path-trunk.diff uploaded by cloos (License #5956)
Review: https://reviewboard.asterisk.org/r/4344
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@430709 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'res/res_pjsip.c')
-rw-r--r-- | res/res_pjsip.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/res/res_pjsip.c b/res/res_pjsip.c index e9b63df2d..d12eb70d2 100644 --- a/res/res_pjsip.c +++ b/res/res_pjsip.c @@ -829,6 +829,9 @@ <configOption name="ca_list_file"> <synopsis>File containing a list of certificates to read (TLS ONLY)</synopsis> </configOption> + <configOption name="ca_list_path"> + <synopsis>Path to directory containing a list of certificates to read (TLS ONLY)</synopsis> + </configOption> <configOption name="cert_file"> <synopsis>Certificate file for endpoint (TLS ONLY)</synopsis> <description><para> @@ -1337,6 +1340,9 @@ <parameter name="CaListFile"> <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='ca_list_file']/synopsis/node())"/></para> </parameter> + <parameter name="CaListPath"> + <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='ca_list_path']/synopsis/node())"/></para> + </parameter> <parameter name="CertFile"> <para><xi:include xpointer="xpointer(/docs/configInfo[@name='res_pjsip']/configFile[@name='pjsip.conf']/configObject[@name='transport']/configOption[@name='cert_file']/synopsis/node())"/></para> </parameter> |