]> git.ipfire.org Git - thirdparty/freeswitch.git/commit
[gentls_cert] Update message digest 126/head
authorSebastian Kemper <sebastian_ml@gmx.net>
Wed, 13 Nov 2019 19:29:50 +0000 (20:29 +0100)
committerSebastian Kemper <sebastian_ml@gmx.net>
Wed, 13 Nov 2019 19:40:42 +0000 (20:40 +0100)
commit70d1cbafe4ab0176cd9fc01f740e34cd1bae326b
tree9a6d9105ae0a69a06cb251e9a09e08dc3c8980da
parentf8dc87bd18e6a75bd6665e2a330e26679891655e
[gentls_cert] Update message digest

Debian Buster updated /etc/ssl/openssl.cnf to default to

MinProtocol = TLSv1.2
CipherString = DEFAULT@SECLEVEL=2

gentls_cert currently uses SHA1 as message digest. According to OpenSSL
documentation this only offers 80 bit of security. 80 bits is enough for
security level 1, but not 2.

The OpenSSL default MD nowadays is SHA256. This commit updates
gentls_cert to use it.

Issue was reported on the FS mailing list. The certificates created by
gentls_cert caused "md too weak" errors and clients were unable to
connect.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
scripts/gentls_cert.in