Bladeren bron

Tone down the uninstalled root warnings

Some people might want to use mkcert to generate certificates without
installing the root after all.

Fixes #290
Filippo Valsorda 4 jaren geleden
bovenliggende
commit
1ad7f56df4
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      main.go

+ 4 - 4
main.go

@@ -184,18 +184,18 @@ func (m *mkcert) Run(args []string) {
 		var warning bool
 		if storeEnabled("system") && !m.checkPlatform() {
 			warning = true
-			log.Println("Warning: the local CA is not installed in the system trust store! ⚠️")
+			log.Println("Note: the local CA is not installed in the system trust store.")
 		}
 		if storeEnabled("nss") && hasNSS && CertutilInstallHelp != "" && !m.checkNSS() {
 			warning = true
-			log.Printf("Warning: the local CA is not installed in the %s trust store! ⚠️", NSSBrowsers)
+			log.Printf("Note: the local CA is not installed in the %s trust store.", NSSBrowsers)
 		}
 		if storeEnabled("java") && hasJava && !m.checkJava() {
 			warning = true
-			log.Println("Warning: the local CA is not installed in the Java trust store! ⚠️")
+			log.Println("Note: the local CA is not installed in the Java trust store.")
 		}
 		if warning {
-			log.Println("Run \"mkcert -install\" to avoid verification errors ‼️")
+			log.Println("Run \"mkcert -install\" for certificates to be trusted automatically ⚠️")
 		}
 	}