From abde85bb26df9ef92a802fb8268244debf78332d Mon Sep 17 00:00:00 2001 From: Pei-Tang Huang Date: Tue, 26 Apr 2022 23:51:39 +0800 Subject: [PATCH] Correct failed to save CA certificate message (#399) --- cert.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cert.go b/cert.go index eb72660..4ce36cc 100644 --- a/cert.go +++ b/cert.go @@ -358,7 +358,7 @@ func (m *mkcert) newCA() { err = ioutil.WriteFile(filepath.Join(m.CAROOT, rootName), pem.EncodeToMemory( &pem.Block{Type: "CERTIFICATE", Bytes: cert}), 0644) - fatalIfErr(err, "failed to save CA key") + fatalIfErr(err, "failed to save CA certificate") log.Printf("Created a new local CA 💥\n") }