Actually generate random certificate serials (fixes #361)

This commit is contained in:
Jakob Borg
2014-06-13 01:49:30 +02:00
parent 46e963443d
commit 2ffdb5a82a
2 changed files with 8 additions and 5 deletions

View File

@@ -59,7 +59,7 @@ func startGUI(cfg config.GUIConfiguration, assetDir string, m *model.Model) erro
cert, err := loadCert(confDir, "https-")
if err != nil {
l.Infoln("Loading HTTPS certificate:", err)
l.Infoln("Creating new HTTPS certificate", err)
l.Infoln("Creating new HTTPS certificate")
newCertificate(confDir, "https-")
cert, err = loadCert(confDir, "https-")
}