truststore_linux.go 627 B

1234567891011121314151617181920212223
  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"
  14. )
  15. func (m *mkcert) installPlatform() {
  16. log.Fatalf("-install is not yet supported on Linux 😣\nYou can manually install the root certificate at %q in the meantime.", filepath.Join(m.CAROOT, rootName))
  17. }
  18. func (m *mkcert) uninstallPlatform() {}