dtls: Add support for ephemeral DTLS certificates.

This mimics the behavior of Chrome and Firefox and creates an ephemeral
X.509 certificate for each DTLS session.

Currently, the only supported key type is ECDSA because of its faster
generation time, but other key types can be added in the future as
necessary.

ASTERISK-27395

Change-Id: I5122e5f4b83c6320cc17407a187fcf491daf30b4
This commit is contained in:
Sean Bright
2017-09-29 14:50:17 +00:00
committed by Joshua Colp
parent be5b7b2076
commit 04d3785a79
10 changed files with 409 additions and 81 deletions

View File

@@ -30,6 +30,14 @@ chan_sip
--- Functionality changes from Asterisk 15.1.0 to Asterisk 15.2.0 ------------
------------------------------------------------------------------------------
res_rtp_asterisk
------------------
* The X.509 certificate used for DTLS negotation can now be automatically
generated. This is supported by res_pjsip by specifying
"dtls_auto_generate_cert = yes" on a PJSIP endpoint. For chan_sip, you
would set "dtlsautogeneratecert = yes" either in the [general] section of
sip.conf or on a specific peer.
res_pjsip
------------------
* The "identify_by" on endpoints can now be set to "ip" to restrict an endpoint