Commit Graph

58 Commits

Author SHA1 Message Date
Filippo Valsorda
060fcce2db Put PKCS#12 behind a flag, and check in the vendored dependency 2018-08-12 23:29:13 -04:00
linux_china
6be76ae477 Add PKCS#12 generation with default password changeit
Merges #34
Fixes #20
2018-08-12 23:29:02 -04:00
Filippo Valsorda
53f1769ab5 Document Windows support and supported root stores 2018-08-12 22:34:54 -04:00
Filippo Valsorda
e5f9c16f8c Offer a less confusing warning about Firefox on Windows 2018-08-12 21:47:50 -04:00
Filippo Valsorda
5fc72d92bc Replace !os.IsNotExist with == nil
!os.IsNotExist would also be true for other errors which don't mean the
file exists.
2018-08-12 21:42:42 -04:00
Chad Retz
561c99875b Add Windows support (#46)
Fixes #42
2018-08-12 18:33:56 -07:00
Filippo Valsorda
61180c71ad Add support for Firefox Developer Edition
This also fixes a bug where we wouldn't install to Chrome on Linux if
Firefox wasn't also present.

Closes #48
Updates #51
2018-08-12 21:14:07 -04:00
Filippo Valsorda
ba12bc5899 Avoid printing a success message on error
Updates #51
2018-08-12 20:32:34 -04:00
Filippo Valsorda
62149df1a0 Switch AUR to released one 2018-08-05 17:39:56 -04:00
Adam Shannon
ae768be874 Support installing into Java's root store (#38) 2018-07-30 04:22:27 +02:00
Filippo Valsorda
fd504a1868 Add note about iOS bug to README v1.0.1 2018-07-30 03:55:50 +02:00
Filippo Valsorda
676d4cdf6b Add a CommonName field to the CA to work-around iOS UI bug
Fixes #47
2018-07-30 03:38:23 +02:00
Filippo Valsorda
9e258bad93 Add a SubjectKeyId to the root CA
Not really useful for #47, but good to have and a RFC 5280 MUST.

See https://twitter.com/FiloSottile/status/1023564776834826240
2018-07-30 03:38:23 +02:00
Filippo Valsorda
c3bf865b0c Show custom usage on -help 2018-07-29 19:30:33 +02:00
Emilien Devos
fdd8fe8e17 Add AUR for installing mkcert on Arch Linux (#23) 2018-07-29 15:52:22 +02:00
Adam Shannon
1e7d221386 firefox: prefer cert9.db and skip cert8.db when found (#13)
Fixes #12 (again)
2018-07-12 13:47:05 -04:00
Filippo Valsorda
5651e29aea Create CONTRIBUTING.md 2018-07-09 16:27:05 -04:00
Filippo Valsorda
b0f7a80e95 Fix getCAROOT switch statement v1.0.0 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
779fa98126 Update README.md 2018-07-04 13:08:32 -04:00
Filippo Valsorda
c4437d46bd Delete local Homebrew Formula now that it's in homebrew-core
See #32
v0.9.1
2018-07-04 13:03:43 -04:00
ansemjo
5a2f42dee6 truststore: check if profile is a directory before joining cert*.db (#33) 2018-07-04 12:59:33 -04:00
commitay
2e954de528 readme: update homebrew install (#32) 2018-07-04 12:49:38 -04:00
Filippo Valsorda
54cdb2c715 v0.9.0 v0.9.0 2018-07-04 00:34:07 -04:00
Filippo Valsorda
564b41305c Polish Linux system store support 2018-07-04 00:06:50 -04:00
Carl Henrik Lunde
05189bc5fa Add Linux system trust support (#2)
Use update-ca-certificates on Debian/Ubuntu based systems, and
update-ca-trust when detected on RHEL/CentOS/Fedora.
2018-07-03 22:46:39 -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
02f776146c Add mobile devices instructions
Fixes #24
2018-07-03 21:07:24 -04:00
Filippo Valsorda
9e9a98cdbc Add debugging output for #12 2018-07-03 20:48:31 -04:00
Filippo Valsorda
bf4af2d977 Add user@hostname to the OU, and set NotBefore to now
This will help figuring out where and when a certificate was created.

Fixes #31
2018-07-03 19:52:18 -04:00
Filippo Valsorda
bf29b706fc Add a canary file to suggest Go 1.10 is required
Closes #22
2018-07-03 17:51:14 -04:00
James Bie
941dfcf755 docs: add CA definition and remove some redundant text (#27)
* docs: add CA definition as certificate authorities to help other users understand the documentation and removed some redudant text for readability

* Update README.md
2018-07-03 17:46:32 -04:00
Filippo Valsorda
e9ef9b3787 Add mkcert -CAROOT
Closes #26
Fixes #21
2018-07-03 17:36:22 -04:00
Filippo Valsorda
a354fb02fd Add a warning about the power of the CA private key 2018-07-03 17:25:56 -04:00
Filippo Valsorda
44f8be44c6 Use go get in README
Closes #29
2018-07-03 17:17:11 -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
ce28959c70 Ahem... a different project leaked into the Makefile 2018-06-28 23:46:33 -04:00
Filippo Valsorda
8d964eef58 Document Go 1.10 requirement 2018-06-28 02:13:43 -04:00
Filippo Valsorda
1bc392c3cc Use explicit prefix for dbm NSS databases
sql is the default since 3.35

Fixes #10
2018-06-28 02:08:56 -04:00
Filippo Valsorda
443e5b3385 Update README.md 2018-06-28 01:57:28 -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
7544098b30 Make private keys writeable
Read-only is too much hassle for expendable dev keys
2018-06-28 01:03:31 -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
6eb6ca5d60 Fix the Homebrew command 2018-06-26 02:06:37 -04:00
Filippo Valsorda
5623f42244 Prevent IPv6 certs from ending up with hidden filenames 2018-06-26 01:56:48 -04:00