mirror of
https://github.com/FiloSottile/mkcert.git
synced 2026-04-25 05:26:03 +03:00
Labels
No labels
TLS stack issue
Windows
bug
duplicate
duplicate
enhancement
help wanted
help wanted
pull-request
question
question
root store
waiting for info
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/mkcert#414
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/FiloSottile/mkcert/pull/193
Author: @rfay
Created: 8/20/2019
Status: ❌ Closed
Base:
master← Head:20190820_sudo_certutil📝 Commits (6)
be53f09Sudo must be used with certutil on Ubuntu 16.0482ba486Improve certutil error messaged7ae73bAdd x/sys/unix to vendor5195be5Check permissions and use sudo for nss install/uninstall58ce116Handle case of windows as wellf7d2d8bBuild constraints for the first time📊 Changes
292 files changed (+229563 additions, -10 deletions)
View changed files
📝
go.mod(+1 -0)📝
go.sum(+2 -0)➕
is_writable.go(+14 -0)➕
is_writable_windows.go(+26 -0)📝
truststore_nss.go(+23 -10)➕
vendor/golang.org/x/sys/AUTHORS(+3 -0)➕
vendor/golang.org/x/sys/CONTRIBUTORS(+3 -0)➕
vendor/golang.org/x/sys/LICENSE(+27 -0)➕
vendor/golang.org/x/sys/PATENTS(+22 -0)➕
vendor/golang.org/x/sys/unix/.gitignore(+2 -0)➕
vendor/golang.org/x/sys/unix/README.md(+173 -0)➕
vendor/golang.org/x/sys/unix/affinity_linux.go(+128 -0)➕
vendor/golang.org/x/sys/unix/aliases.go(+14 -0)➕
vendor/golang.org/x/sys/unix/asm_aix_ppc64.s(+17 -0)➕
vendor/golang.org/x/sys/unix/asm_darwin_386.s(+29 -0)➕
vendor/golang.org/x/sys/unix/asm_darwin_amd64.s(+29 -0)➕
vendor/golang.org/x/sys/unix/asm_darwin_arm.s(+30 -0)➕
vendor/golang.org/x/sys/unix/asm_darwin_arm64.s(+30 -0)➕
vendor/golang.org/x/sys/unix/asm_dragonfly_amd64.s(+29 -0)➕
vendor/golang.org/x/sys/unix/asm_freebsd_386.s(+29 -0)...and 80 more files
📄 Description
#192 points out that as of v1.4.0,
certutil -Ais not run with sufficient privileges. This seems to be a problem particularly on Ubuntu 16.04, but possibly on some other Debian-derivatives as well.This PR checks to see if the path to the profile is writable; if it's not, it uses sudo to run
certutil -Aandcertutil -D🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.