curl -o cfssl https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/darwin/cfssl
curl -o cfssljson https://storage.googleapis.com/kubernetes-the-hard-way/cfssl/1.4.1/darwin/cfssljson
chmod +x cfssl cfssljson
sudo mv cfssl cfssljson /usr/local/bin/

If you have issues using the binaries directly, you should consider using the package manager Homebrew and that might be a better option:

brew install cfssl

Verify that cfssl version 1.4.1 or higher is installed:

Output:
cfssl version

Version: 1.4.1
Runtime: go1.12.12

cfssljson –version

Version: 1.4.1
Runtime: go1.12.12

Total Views 479 , and 2 views today

written by
Segun

Liked this article?

Stay updated with our latest articles, subscribe to our newsletter

You may also like

Darey Blogs

Uncategorized

Demystifying Devops 2

Dare Olufunmilayo
  • 5 min watch
Darey Blogs

Uncategorized

DevOps - Where to start?

Dare Olufunmilayo
  • 5 min watch