Install cfssl with brew instead of downloading it

When trying the current suggestion for installing cfssl on osx high sierra I got errors that lead me to this issue - https://github.com/cloudflare/cfssl/issues/813, which taught me cfssl has a brew package. I feel it's more concise to use brew for this operation + it let's users avoid the error I got. WDYT?
pull/308/head
Yaron Idan 2018-02-02 14:48:15 +02:00 committed by GitHub
parent 4f5cecb5ed
commit b8d2233656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 10 deletions

View File

@ -12,16 +12,7 @@ Download and install `cfssl` and `cfssljson` from the [cfssl repository](https:/
### OS X
```
curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_darwin-amd64
curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_darwin-amd64
```
```
chmod +x cfssl cfssljson
```
```
sudo mv cfssl cfssljson /usr/local/bin/
brew install cfssl
```
### Linux