mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 11:28:59 +00:00
Information about HTTP certificate issues
This commit is contained in:
parent
456d9e870d
commit
7e04c9d048
@ -58,6 +58,8 @@ func startGUI(cfg config.GUIConfiguration, assetDir string, m *model.Model) erro
|
|||||||
if cfg.UseTLS {
|
if cfg.UseTLS {
|
||||||
cert, err := loadCert(confDir, "https-")
|
cert, err := loadCert(confDir, "https-")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
l.Infoln("Loading HTTPS certificate:", err)
|
||||||
|
l.Infoln("Creating new HTTPS certificate", err)
|
||||||
newCertificate(confDir, "https-")
|
newCertificate(confDir, "https-")
|
||||||
cert, err = loadCert(confDir, "https-")
|
cert, err = loadCert(confDir, "https-")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user