s4/lib/tls: Use SHA256 to sign the TLS certificates
authorAndrew Bartlett <abartlet@samba.org>
Wed, 9 Aug 2017 04:44:24 +0000 (16:44 +1200)
committerGarming Sam <garming@samba.org>
Tue, 15 Aug 2017 06:07:10 +0000 (08:07 +0200)
commit5bb341fb9ceb943b4a72108edee9046b60f070b0
tree2d684226b00694a24edd466efea656785a87f087
parent29b3a2b0d1e5abc1ca9f112f680251e34fa6e3af
s4/lib/tls: Use SHA256 to sign the TLS certificates

The use of SHA-1 has been on the "do not" list for a while now, so make our
self-signed certificates use SHA256 using the new
gnutls_x509_crt_sign2 provided since GNUTLS 1.2.0

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12953
source4/lib/tls/tlscert.c