Filippo Valsorda
3fa4d18f75
Update iOS installation docs
...
Fixes #233
2020-10-26 00:45:44 +01:00
Filippo Valsorda
167867a226
Drop Apple 825-days rule bypass, shorten and print expiration
...
Closes #299
Closes #271
2020-10-26 00:25:26 +01:00
Filippo Valsorda
1ad7f56df4
Tone down the uninstalled root warnings
...
Some people might want to use mkcert to generate certificates without
installing the root after all.
Fixes #290
2020-10-26 00:25:26 +01:00
Filippo Valsorda
e8068235db
Hide the CA path in normal operation
...
Most users don't need to interact with it, and it's important they don't
share the rootCA-key.pem file, so let's not lead them there in the first
place. Advanced users can still use "mkcert -CAROOT".
Fixes #282
2020-10-26 00:25:26 +01:00
Filippo Valsorda
ea8260d0d9
Accept "NEW CERTIFICATE REQUEST" PEM headers
...
Fixes #301
2020-10-26 00:25:26 +01:00
Mikel Kew
8e71a281f9
Support latest FirefoxDeveloperEdition.app without spaces ( #280 )
...
Latest version of Firefox Developer Edition on macOS seem to use
upper camel case naming for the app. This ensures that the CA will
be added to the Firefox trust store if using recent versions of
FF Dev Edition.
2020-10-26 00:24:53 +01:00
Dennis Ameling
c34db08bed
Build release binaries for linux/arm64 ( #284 )
2020-10-26 00:23:20 +01:00
Filippo Valsorda
a2b1208e9c
mkcert-master: remove in favor of "brew gomod filippo.io/mkcert@master"
...
See https://blog.filippo.io/install-go-tools-from-modules-with-brew-gomod/
2020-03-21 22:12:54 -04:00
Filippo Valsorda
d58feefc73
Fix -version output not to print spurious lines
2020-03-21 22:10:16 -04:00
Filippo Valsorda
0603a13b79
Use buildInfo.Main.Version when Version is not set
2020-03-21 22:04:37 -04:00
Filippo Valsorda
243b819761
go.mod: update import path to filippo.io/mkcert
2020-03-21 21:38:34 -04:00
Christian Rebischke
a21de51acf
README: mention official Arch Linux package ( #226 )
...
Signed-off-by: Christian Rebischke <chris@nullday.de >
Co-authored-by: Filippo Valsorda <1225294+FiloSottile@users.noreply.github.com >
2019-12-26 14:56:06 +01:00
Koen Vervloesem
42a6d00604
README: add "cd mkcert" to build from source instructions ( #228 )
...
Co-authored-by: Filippo Valsorda <1225294+FiloSottile@users.noreply.github.com >
2019-12-26 14:53:10 +01:00
Senan Kelly
cb6311cfbe
truststore_nss: add firefox nightly and developer edition binary paths ( #225 )
...
on my system I have only Firefox Nightly installed, so `/usr/bin/firefox` doesn't exist and so `hasNSS` was false and CA wasn't installed.
on my arch based system, the binary was at `/usr/bin/firefox-nightly`
https://aur.archlinux.org/packages/firefox-nightly/
it could also be at `/usr/bin/firefox-developer-edition`
see "package contents"
https://www.archlinux.org/packages/community/x86_64/firefox-developer-edition/
2019-11-29 18:36:50 -04:00
Nelson Martell
d8d73fcb89
README: add note about advanced options ( #218 )
...
* 📝 Add note about advaced options in README
Clarify position of advanced options argumnts (they won’t work if are placed after domain names)
Add example.
* Update README.md
2019-11-26 18:35:01 -05:00
fREW Schmidt
9b04095804
README: fix git clone command ( #224 )
2019-11-26 18:31:43 -05:00
Filippo Valsorda
90341b0d5a
v1.4.1
v1.4.1
2019-11-09 18:21:05 -05:00
Filippo Valsorda
1b4ad6c774
truststore_nss: retry certtool with sudo when it fails due to permissions
...
Based on @rfay's investigation and fix.
Fixes #192
Closes #193
2019-11-09 18:18:18 -05:00
Filippo Valsorda
00ded1d014
.travis.yml: fix format error
2019-11-09 18:03:18 -05:00
Filippo Valsorda
9df24b5b70
README: remove "go run" quickstart 😢
...
Fixes #209
2019-11-09 17:34:28 -05:00
Filippo Valsorda
71aa64e874
Embrace Go 1.13: drop vendoring, assume modules mode, drop Go 1.10 warning
2019-11-09 16:43:37 -05:00
Filippo Valsorda
1382fc8fe8
Add -version flag
...
Closes #197
Fixes #191
2019-11-09 16:33:29 -05:00
Filippo Valsorda
82ea753aa2
analysis.go: use x/tools/go/analysis/multichecker to run analysis tools
...
This pattern has a number of advantages: it tracks the versions of the
tools in go.mod, it doesn't require installing anything in CI, it runs
all analysis passes at once, and it lets us add custom ones easily.
2019-11-09 16:04:54 -05:00
Filippo Valsorda
4ffcbacbb0
mkcert-master: add Homebrew Formula with HEAD stanza
...
homebrew-core removed all head clauses, so this allows testing the
latest master by instead running
brew install --HEAD https://master.mkcert.dev/mkcert-master.rb
2019-09-10 15:47:25 +02:00
Filippo Valsorda
0bfd83cea2
README: add "go run" quickstart
2019-08-24 13:38:12 -04:00
Filippo Valsorda
343aec289a
truststore_linux: remove PATH check for SystemTrustCommand
...
It's hard to predict what the PATH that sudo will use, and there
shouldn't be many cases where we don't find the command anyway.
Fixes #188
2019-08-16 18:23:01 -04:00
Filippo Valsorda
8ff73503d2
truststore_darwin: check the default Homebrew path for certutil
...
"mkcert localhost" went from 2.125s to 0.552s, a 4x speedup.
Fixes #135
2019-08-16 18:23:01 -04:00
Filippo Valsorda
25b1d39486
Print a message on -install if the CA is already installed
...
Updates #182
2019-08-16 18:04:46 -04:00
Filippo Valsorda
aa4dd61066
Specify a "Sudo password:" prompt for sudo
...
Fixes #178
Closes #185
2019-08-16 17:47:28 -04:00
Stefan Wrobel
2d05f3b4d8
Add link to Chocolatey in README ( #181 )
v1.4.0
2019-07-25 21:59:21 +02:00
y-yagi
a5bb69b629
Fix markdown formatting ( #179 )
...
It seems correctly show in GitHub, but this may not be shown correctly
in other markdown readers.
2019-07-21 07:18:11 -04:00
Filippo Valsorda
df15e0c1ef
Backdate notBefore to support macOS Catalina
...
Updates #174
2019-07-06 19:12:45 -03:00
Filippo Valsorda
1f0796c926
Add staticcheck to CI ( #171 )
2019-07-05 01:41:23 -03:00
Filippo Valsorda
4d2ab596e7
.travis.yml: disable cgo for all release binaries
...
Fixes #169
2019-07-05 01:28:46 -03:00
Robert Panzer
c2b30c48f1
Add support for URL SANs ( #166 )
2019-07-05 01:16:19 -03:00
Filippo Valsorda
0a679a8bcd
README: revert to $(go env GOPATH)
...
See discussion at #168
2019-06-21 20:11:30 -04:00
Robert Panzer
574ea52743
Add serverAuth EKU to client certs for Service Mesh mTLS setups
2019-06-17 11:02:53 -04:00
Daniel Martí
ff17118210
README: use $GOBIN instead of $GOPATH/bin ( #168 )
...
$GOPATH/bin works in the simple cases, but will break if the user
specifies their own $GOBIN, or if their $GOPATH has multiple elements.
This form is also simpler. Even if the user doesn't specify their custom
$GOBIN, 'go env GOBIN' will return the correct default.
2019-06-12 13:24:10 -04:00
Filippo Valsorda
72ec55f07f
Import howett.net/plist by its correct name
...
Also bumping the version to one with a go.mod.
2019-06-02 12:57:09 +01:00
Filippo Valsorda
e9f8fbcdf4
cert: use os.Hostname for the OU, and add the long form user name
...
The output of the hostname command on Windows is probably UTF-16, but
instead of figuring out its edge cases, switch to the syscall on every
platform.
Fixes #96
Closes #142
2019-06-02 12:15:03 +01:00
Filippo Valsorda
8d9e434520
truststore_nss: support multiple NSS databases
...
This adds support for Snap's Chromium, and and CentOS 7.
Fixes #116
Fixes #120
Closes #121
2019-06-01 16:27:42 +01:00
Filippo Valsorda
74ab68812e
Fix and add missing license headers
2019-06-01 14:58:20 +01:00
Filippo Valsorda
245b2732c8
Cleanup path logics with pathExists and binaryExists
2019-06-01 14:55:58 +01:00
Filippo Valsorda
b1564cfb0d
truststore_linux: autodetect CertutilInstallHelp
2019-06-01 14:41:10 +01:00
Ricardo Branco
b90c9c60cb
Support SLES & OpenSUSE ( #162 )
...
* Add support for SLES & OpenSUSE
* Update README.md with support for SLES & OpenSUSE
* Fix CertutilInstallHelp
2019-06-01 14:05:08 +01:00
Filippo Valsorda
bf08925790
README: mention "example.test" as an example
2019-05-19 14:11:53 -04:00
Filippo Valsorda
ad5c6ddbef
README: document S/MIME certificates
2019-04-27 14:24:17 -04:00
Ben Toews
0d4cf75db8
Allow email SANs for S/MIME certificates ( #152 )
2019-04-11 22:59:44 -04:00
Filippo Valsorda
c7c85b20ae
README: update example names
2019-03-29 12:34:59 -04:00
David Crawshaw
c03e3ceaca
Swap exec.Command("hostname") for os.Hostname() ( #137 )
2019-02-15 21:11:46 +01:00