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
written by
Segun

Liked this article?

Stay updated with our latest articles, subscribe to our newsletter

You may also like

Darey Blogs

Uncategorized

project-3

Leke
  • 5 min watch
Darey Blogs

DevOps Career

What Is In The Cloud?

Dare Olufunmilayo
  • 5 min watch
Darey Blogs

DevOps Career

DevOps! Where do I Start?

Igor Suchilov
  • 5 min watch