diff --git a/server/camlistored/camlistored.go b/server/camlistored/camlistored.go index 6f520fc44..07b2fe0b8 100644 --- a/server/camlistored/camlistored.go +++ b/server/camlistored/camlistored.go @@ -284,7 +284,7 @@ func setupTLS(ws *webserver.Server, config *serverinit.Config, listen string) { cert = defCert key = defKey } - data, err := ioutil.ReadFile(cert) + data, err := wkfs.ReadFile(cert) if err != nil { exitf("Failed to read pem certificate: %s", err) }