Information about HTTP certificate issues

This commit is contained in:
Jakob Borg 2014-06-10 15:40:21 +02:00
parent 456d9e870d
commit 7e04c9d048

View File

@ -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-")
}