Commit Graph
4 Commits
Author SHA1 Message Date
Eng Zer Jun 994f4d67a1 cert: use T.TempDir to create temporary test directory
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-08-24 08:58:15 +08:00
Jonathan Underwood 786568fa46 cert: allow cert expiry to be set in config 2021-04-05 20:23:33 -07:00
Graham Krizek 86a0609ecf config+lnd+cert: add --tlsdisableautofill to prevent information leaks.
This adds in a new boolean flag that when set, prevents LND from writing the system hostname and network interface IPs to the TLS certificate. This will ensure privacy for those that don't want private IP addresses to be exposed on a public facing LND node.
2020-08-13 09:24:39 -05:00
Johan T. Halseth 83dcf95f92 cert+test: IsOutdated check for TLS files if IPs or DNS changed
This commit creates a new utility method IsOutdated that can be used to
check whether a TLS certificate mathces the extra IPs and domains given
in the lnd config.
2020-02-12 10:59:51 +01:00