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.
DataDirstring`short:"b" long:"datadir" description:"The directory to store lnd's data within"`
SyncFreelistbool`long:"sync-freelist" description:"Whether the databases used within lnd should sync their freelist to disk. This is disabled by default resulting in improved memory performance during operation, but with an increase in startup time."`
TLSCertPathstring`long:"tlscertpath" description:"Path to write the TLS certificate for lnd's RPC and REST services"`
TLSKeyPathstring`long:"tlskeypath" description:"Path to write the TLS private key for lnd's RPC and REST services"`
TLSExtraIPs[]string`long:"tlsextraip" description:"Adds an extra ip to the generated certificate"`
TLSExtraDomains[]string`long:"tlsextradomain" description:"Adds an extra domain to the generated certificate"`
TLSAutoRefreshbool`long:"tlsautorefresh" description:"Re-generate TLS certificate and key if the IPs or domains are changed"`
TLSCertPathstring`long:"tlscertpath" description:"Path to write the TLS certificate for lnd's RPC and REST services"`
TLSKeyPathstring`long:"tlskeypath" description:"Path to write the TLS private key for lnd's RPC and REST services"`
TLSExtraIPs[]string`long:"tlsextraip" description:"Adds an extra ip to the generated certificate"`
TLSExtraDomains[]string`long:"tlsextradomain" description:"Adds an extra domain to the generated certificate"`
TLSAutoRefreshbool`long:"tlsautorefresh" description:"Re-generate TLS certificate and key if the IPs or domains are changed"`
TLSDisableAutofillbool`long:"tlsdisableautofill" description:"Do not include the interface IPs or the system hostname in TLS certificate, use first --tlsextradomain as Common Name instead, if set"`