]> git.ipfire.org Git - thirdparty/asterisk.git/commit
pjsip: Add TLS transport reload support for certificate and key.
authorJoshua C. Colp <jcolp@sangoma.com>
Fri, 19 Aug 2022 13:24:33 +0000 (10:24 -0300)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Fri, 9 Sep 2022 23:41:05 +0000 (18:41 -0500)
commitcffaf12d19567186c4e8a309b835e981535c4e3f
treea05b592db01d543b550ffda9dac41d16940a815e
parentb2fdccc6a4ed1821c6ffe2538bd3f03882fd2308
pjsip: Add TLS transport reload support for certificate and key.

This change adds support using the pjsip_tls_transport_restart
function for reloading the TLS certificate and key, if the filenames
remain unchanged. This is useful for Let's Encrypt and other
situations. Note that no restart of the transport will occur if
the certificate and key remain unchanged.

ASTERISK-30186

Change-Id: I9bc95a6bf791830a9491ad9fa43c17d4010028d0
configs/samples/pjsip.conf.sample
configure
configure.ac
doc/CHANGES-staging/res_pjsip_tls_cert_key_reload.txt [new file with mode: 0644]
include/asterisk/autoconfig.h.in
include/asterisk/res_pjsip.h
menuselect/autoconfig.h.in
menuselect/configure
res/res_pjsip/config_transport.c
res/res_pjsip/pjsip_config.xml
third-party/pjproject/configure.m4