From d1e4b044e97c2f75f8a20a44ec6f32bd6ad872df Mon Sep 17 00:00:00 2001 From: Buvanesh Kumar Date: Mon, 10 Sep 2018 15:28:15 +0530 Subject: [PATCH] --show-progress and --https-only options not supported in older versions of wget In older version of wget (v1.14), --show-progress and --https-only options are not available. I have experienced the error in CentOS Linux release 7.4.1708. Also, it's better to use curl instead, as in some of the Linux distributions wget not pre-installed. --- docs/02-client-tools.md | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/docs/02-client-tools.md b/docs/02-client-tools.md index 7f0a2a0..e18aa5e 100644 --- a/docs/02-client-tools.md +++ b/docs/02-client-tools.md @@ -33,21 +33,16 @@ brew install cfssl ### Linux ``` -wget -q --show-progress --https-only --timestamping \ - https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 \ - https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 +curl -o cfssl https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 +curl -o cfssljson https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 ``` ``` -chmod +x cfssl_linux-amd64 cfssljson_linux-amd64 +chmod +x cfssl cfssljson ``` ``` -sudo mv cfssl_linux-amd64 /usr/local/bin/cfssl -``` - -``` -sudo mv cfssljson_linux-amd64 /usr/local/bin/cfssljson +sudo mv cfssl cfssljson /usr/local/bin/ ``` ### Verification