Cleanup the README installation section
This commit is contained in:
parent
281c560e4a
commit
70f19a1cf6
32
README.md
32
README.md
@ -30,21 +30,27 @@ mkcert automatically creates and installs a local CA in the system root store, a
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
On macOS, use [Homebrew](https://brew.sh/).
|
> **Warning**: the `rootCA-key.pem` file that mkcert automatically generates gives complete power to intercept secure requests from your machine. Do not share it.
|
||||||
|
|
||||||
|
### macOS
|
||||||
|
|
||||||
|
On macOS, use [Homebrew](https://brew.sh/)
|
||||||
|
|
||||||
```
|
```
|
||||||
brew install mkcert
|
brew install mkcert
|
||||||
brew install nss # if you use Firefox
|
brew install nss # if you use Firefox
|
||||||
```
|
```
|
||||||
|
|
||||||
Additionally on macOS, you can also use MacPorts.
|
or MacPorts.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo port sync
|
sudo port sync
|
||||||
sudo port install mkcert
|
sudo port install mkcert
|
||||||
```
|
```
|
||||||
|
|
||||||
On Linux, install `certutil`
|
### Linux
|
||||||
|
|
||||||
|
On Linux, first install `certutil`.
|
||||||
|
|
||||||
```
|
```
|
||||||
sudo apt install libnss3-tools
|
sudo apt install libnss3-tools
|
||||||
@ -53,34 +59,37 @@ sudo yum install nss-tools
|
|||||||
-or-
|
-or-
|
||||||
sudo pacman -S nss
|
sudo pacman -S nss
|
||||||
```
|
```
|
||||||
and install using [Linuxbrew](http://linuxbrew.sh/).
|
|
||||||
|
Then you can install using [Linuxbrew](http://linuxbrew.sh/)
|
||||||
|
|
||||||
```
|
```
|
||||||
brew install mkcert
|
brew install mkcert
|
||||||
````
|
````
|
||||||
|
|
||||||
You can also build from source (requires Go 1.10+), or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
|
or build from source (requires Go 1.10+)
|
||||||
|
|
||||||
```
|
```
|
||||||
go get -u github.com/FiloSottile/mkcert
|
go get -u github.com/FiloSottile/mkcert
|
||||||
$(go env GOPATH)/bin/mkcert
|
$(go env GOPATH)/bin/mkcert
|
||||||
```
|
```
|
||||||
|
|
||||||
|
or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
|
||||||
|
|
||||||
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/).
|
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/).
|
||||||
|
|
||||||
```
|
```
|
||||||
yaourt -S mkcert
|
yaourt -S mkcert
|
||||||
```
|
```
|
||||||
|
|
||||||
On Windows, use Chocolatey.
|
### Windows
|
||||||
|
|
||||||
|
On Windows, use Chocolatey
|
||||||
|
|
||||||
```
|
```
|
||||||
choco install mkcert
|
choco install mkcert
|
||||||
```
|
```
|
||||||
|
|
||||||
Or build from source (requires Go 1.10+), or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
|
or build from source (requires Go 1.10+), or use [the pre-built binaries](https://github.com/FiloSottile/mkcert/releases).
|
||||||
|
|
||||||
> **Warning**: the `rootCA-key.pem` file that mkcert automatically generates gives complete power to intercept secure requests from your machine. Do not share it.
|
|
||||||
|
|
||||||
## Supported root stores
|
## Supported root stores
|
||||||
|
|
||||||
@ -89,8 +98,9 @@ mkcert supports the following root stores:
|
|||||||
* macOS system store
|
* macOS system store
|
||||||
* Windows system store
|
* Windows system store
|
||||||
* Linux variants that provide either
|
* Linux variants that provide either
|
||||||
* `update-ca-trust` (Fedora, RHEL, CentOS, Arch) or
|
* `update-ca-trust` (Fedora, RHEL, CentOS) or
|
||||||
* `update-ca-certificates` (Ubuntu, Debian)
|
* `update-ca-certificates` (Ubuntu, Debian) or
|
||||||
|
* `trust` (Arch)
|
||||||
* Firefox (macOS and Linux only)
|
* Firefox (macOS and Linux only)
|
||||||
* Chrome and Chromium
|
* Chrome and Chromium
|
||||||
* Java (when `JAVA_HOME` is set)
|
* Java (when `JAVA_HOME` is set)
|
||||||
|
Loading…
Reference in New Issue
Block a user