Throws a TlsException when the files of tls are bad.
TlsException
tls
@override void checkTls(ServerTls tls) => _tls(tls).check();