You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,21 +30,27 @@ mkcert automatically creates and installs a local CA in the system root store, a
30
30
31
31
## Installation
32
32
33
-
On macOS, use [Homebrew](https://brew.sh/).
33
+
> **Warning**: the `rootCA-key.pem` file that mkcert automatically generates gives complete power to intercept secure requests from your machine. Do not share it.
34
+
35
+
### macOS
36
+
37
+
On macOS, use [Homebrew](https://brew.sh/)
34
38
35
39
```
36
40
brew install mkcert
37
41
brew install nss # if you use Firefox
38
42
```
39
43
40
-
Additionally on macOS, you can also use MacPorts.
44
+
or MacPorts.
41
45
42
46
```
43
47
sudo port sync
44
48
sudo port install mkcert
45
49
```
46
50
47
-
On Linux, install `certutil`
51
+
### Linux
52
+
53
+
On Linux, first install `certutil`.
48
54
49
55
```
50
56
sudo apt install libnss3-tools
@@ -53,34 +59,37 @@ sudo yum install nss-tools
53
59
-or-
54
60
sudo pacman -S nss
55
61
```
56
-
and install using [Linuxbrew](http://linuxbrew.sh/).
62
+
63
+
Then you can install using [Linuxbrew](http://linuxbrew.sh/)
57
64
58
65
```
59
66
brew install mkcert
60
67
````
61
68
62
-
You can also build from source (requires Go 1.10+), or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
69
+
or build from source (requires Go 1.10+)
63
70
64
71
```
65
72
go get -u github.com/FiloSottile/mkcert
66
73
$(go env GOPATH)/bin/mkcert
67
74
```
68
75
76
+
or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
77
+
69
78
On Arch Linux you can use your [AUR helper](https://wiki.archlinux.org/index.php/AUR_helpers) to install mkcert from the [PKGBUILD](https://aur.archlinux.org/packages/mkcert/).
70
79
71
80
```
72
81
yaourt -S mkcert
73
82
```
74
83
75
-
On Windows, use Chocolatey.
84
+
### Windows
85
+
86
+
On Windows, use Chocolatey
76
87
77
88
```
78
89
choco install mkcert
79
90
```
80
91
81
-
Or build from source (requires Go 1.10+), or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
82
-
83
-
> **Warning**: the `rootCA-key.pem` file that mkcert automatically generates gives complete power to intercept secure requests from your machine. Do not share it.
92
+
or build from source (requires Go 1.10+), or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
84
93
85
94
## Supported root stores
86
95
@@ -89,8 +98,9 @@ mkcert supports the following root stores:
89
98
* macOS system store
90
99
* Windows system store
91
100
* Linux variants that provide either
92
-
* `update-ca-trust` (Fedora, RHEL, CentOS, Arch) or
0 commit comments