diff --git a/cert.go b/cert.go index b85829d..b3c8e82 100644 --- a/cert.go +++ b/cert.go @@ -149,6 +149,9 @@ func (m *mkcert) fileNames(hosts []string) (certFile, keyFile, p12File string) { if len(hosts) > 1 { defaultName += "+" + strconv.Itoa(len(hosts)-1) } + if m.client { + defaultName += "-client" + } certFile = "./" + defaultName + ".pem" if m.certFile != "" {