summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorJakob Borg <jakob@nym.se>2014-06-10 15:40:21 +0200
committerJakob Borg <jakob@nym.se>2014-06-10 15:40:21 +0200
commit7e04c9d0485b36e54b1eacf45045a295f2bd4d81 (patch)
tree88774fdcbebb2366c83c2ecd45af0754bdf12b89 /cmd
parent456d9e870d71abcb30316ffd168c09421a7dff33 (diff)
Information about HTTP certificate issues
Diffstat (limited to 'cmd')
-rw-r--r--cmd/syncthing/gui.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/syncthing/gui.go b/cmd/syncthing/gui.go
index 2915bd7d42..89cdc5fb3c 100644
--- a/cmd/syncthing/gui.go
+++ b/cmd/syncthing/gui.go
@@ -58,6 +58,8 @@ func startGUI(cfg config.GUIConfiguration, assetDir string, m *model.Model) erro
if cfg.UseTLS {
cert, err := loadCert(confDir, "https-")
if err != nil {
+ l.Infoln("Loading HTTPS certificate:", err)
+ l.Infoln("Creating new HTTPS certificate", err)
newCertificate(confDir, "https-")
cert, err = loadCert(confDir, "https-")
}