Commit Graph

45 Commits

Author SHA1 Message Date
Filippo Valsorda
d7ab78de71 Only print help when called without arguments
Fixes #401
2022-04-26 18:12:14 +02:00
Martin Tournoij
6649e9d2e7
Make explicit "mkcert -help" print to stdout (#265)
Currently "mkcert -help" prints to stderr, which is rather annoying as:

	$ mkcert -help | less

Gives us a blank page, as it pipes only stdout. To get any results in
less I need to use:

	$ mkcert 2>&1 | less
	$ mkcert |& less     # Non-standard bash/ zsh

Since the user explicitly asked for help with -help, it doesn't make
much sense to output it to stderr IMHO.
2020-10-26 00:55:09 +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
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
90341b0d5a v1.4.1 2019-11-09 18:21:05 -05:00
Filippo Valsorda
1382fc8fe8 Add -version flag
Closes #197
Fixes #191
2019-11-09 16:33:29 -05: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
Filippo Valsorda
1f0796c926
Add staticcheck to CI (#171) 2019-07-05 01:41:23 -03:00
Robert Panzer
c2b30c48f1 Add support for URL SANs (#166) 2019-07-05 01:16:19 -03: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
Ben Toews
0d4cf75db8 Allow email SANs for S/MIME certificates (#152) 2019-04-11 22:59:44 -04:00
Filippo Valsorda
99e15e29f9 Add support for certificate signing requests with -csr
Closes #55
2019-02-02 18:51:24 -05:00
Filippo Valsorda
592400aab0 Add the TRUST_STORES environment variable
Fixes #95
2019-02-02 16:26:21 -05:00
John Downey
66af5a51f6 Add support for client certificates with -client
Fixes #125
Closes #89
2019-02-02 16:26:21 -05:00
Filippo Valsorda
5bb0c47df7 Add -ecdsa for generating certificates with ECDSA keys
Fixes #118
2019-02-02 16:26:21 -05:00
Filippo Valsorda
821679b01f Split off advanced options docs 2019-02-02 16:26:21 -05:00
Filippo Valsorda
da4da8a4bc Refactor output path flags 2019-01-06 19:07:18 -05:00
单元源
5ea72c377d Add -cert-file, -key-file and -p12-file (#77) 2019-01-06 19:07:18 -05:00
Filippo Valsorda
6f4ab38307 Use double quotes in examples for CMD.exe support
See https://github.com/FiloSottile/mkcert/issues/60#issuecomment-415352403
2019-01-06 18:14:39 -05:00
Filippo Valsorda
060fcce2db Put PKCS#12 behind a flag, and check in the vendored dependency 2018-08-12 23:29:13 -04:00
Filippo Valsorda
e5f9c16f8c Offer a less confusing warning about Firefox on Windows 2018-08-12 21:47:50 -04:00
Filippo Valsorda
ba12bc5899 Avoid printing a success message on error
Updates #51
2018-08-12 20:32:34 -04:00
Adam Shannon
ae768be874 Support installing into Java's root store (#38) 2018-07-30 04:22:27 +02:00
Filippo Valsorda
c3bf865b0c Show custom usage on -help 2018-07-29 19:30:33 +02:00
Filippo Valsorda
b0f7a80e95 Fix getCAROOT switch statement 2018-07-06 20:09:58 -04:00
Lucas Garron
dbad5f86ec Use $XDG_DATA_HOME on macOS if it is set (#40) 2018-07-06 20:02:49 -04:00
Filippo Valsorda
564b41305c Polish Linux system store support 2018-07-04 00:06:50 -04:00
Filippo Valsorda
ce54575308 Add support for Chrome/Chromium on Linux
Fixes #11
Closes #15
2018-07-03 22:27:08 -04:00
Filippo Valsorda
e9ef9b3787 Add mkcert -CAROOT
Closes #26
Fixes #21
2018-07-03 17:36:22 -04:00
Filippo Valsorda
c4f873a371 Add a warning for second-level wildcards
Fixes #30
2018-07-03 17:17:11 -04:00
Adam Shannon
073ee25396 On linux don't declare we installed to the system store (#18) 2018-06-29 16:02:23 -04:00
Filippo Valsorda
75a36a6de4 Add punycode support
Fixes #8
2018-06-28 01:44:13 -04:00
Filippo Valsorda
e4c5c312a7 Add Firefox support
Fixes #6
2018-06-28 01:29:20 -04:00
Filippo Valsorda
d6aab07a4c Split off certificate generation code 2018-06-27 23:43:51 -04:00
Filippo Valsorda
1f4fbd9097 Allow wildcards and block heading and trailing dots
Fixes #1
2018-06-27 22:44:08 -04:00
Patrick Uiterwijk
222b4f1035 Explicitly set zero length path constraint (#5)
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-06-27 22:28:23 -04:00
Patrick Uiterwijk
3532f34209 Fix permissions on newly generated private keys (#3)
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2018-06-27 22:18:33 -04:00
Filippo Valsorda
5623f42244 Prevent IPv6 certs from ending up with hidden filenames 2018-06-26 01:56:48 -04:00
Filippo Valsorda
7433af8d0b Add keyless install only mode 2018-06-26 01:14:57 -04:00
Filippo Valsorda
6a3cad1731 Homebrew and usage 2018-06-26 00:43:06 -04:00
Filippo Valsorda
314622cbb3 Add certificate generation and -uninstall 2018-06-25 23:47:28 -04:00
Filippo Valsorda
cbca29dc62 Initial commit and macOS install 2018-06-25 01:32:41 -04:00