truststore_linux.go 734 B

12345678910111213141516171819202122232425
  1. // Copyright 2018 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. package main
  5. import (
  6. "log"
  7. "os"
  8. "path/filepath"
  9. )
  10. var (
  11. FirefoxPath = "/usr/bin/firefox"
  12. FirefoxProfile = os.Getenv("HOME") + "/.mozilla/firefox/*"
  13. CertutilInstallHelp = `apt install libnss3-tools" or "yum install nss-tools`
  14. NSSBrowsers = "Firefox and/or Chrome/Chromium"
  15. )
  16. func (m *mkcert) installPlatform() {
  17. log.Println(" -install is not yet fully supported on Linux 😣")
  18. log.Printf("You can manually install the root certificate at %q in the meantime.", filepath.Join(m.CAROOT, rootName))
  19. }
  20. func (m *mkcert) uninstallPlatform() {}