]> git.ipfire.org Git - thirdparty/asterisk.git/commit
ast_tls_cert: Make certificate validity configurable.
authorNaveen Albert <asterisk@phreaknet.org>
Wed, 16 Jul 2025 13:06:35 +0000 (09:06 -0400)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 19:36:50 +0000 (13:36 -0600)
commit67c3cb6a42e556006b7d67b588137365a0b7a2ca
tree76a55ae541d5ea388efb69d51433b93344ff52f6
parent8ff383b94eec397aeebdbd692a17125053a76383
ast_tls_cert: Make certificate validity configurable.

Currently, the ast_tls_cert script is hardcoded to produce certificates
with a validity of 365 days, which is not generally desirable for self-
signed certificates. Make this parameter configurable.

Resolves: #1307
(cherry picked from commit 9347ab76a7e063fb0058a5160df9b22167f6bedb)
contrib/scripts/ast_tls_cert