]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:lib/tls: set GNUTLS_SAN_DNSNAME for self-signed certificates
authorStefan Metzmacher <metze@samba.org>
Tue, 26 Aug 2025 09:55:40 +0000 (11:55 +0200)
committerJule Anger <janger@samba.org>
Thu, 28 Aug 2025 09:38:21 +0000 (09:38 +0000)
commitef469b451688eaaa9c0a0b595e8cfbfa896944f6
tree4eda3b293fb44c0cfad09ad6d967e6afd519a3e1
parentfbb1a8bfd8a807c5f74c40c40e0a60aeb6f83e02
s4:lib/tls: set GNUTLS_SAN_DNSNAME for self-signed certificates

It's better to include X509v3 Subject Alternative Name with
DNS names in the self-signed certificate...

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15899

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
(cherry picked from commit 49e179963f56e749dac4e20284dc567e382ccdb2)
source4/lib/tls/tlscert.c