Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

kubeadm get discovery-token-ca-cert-hash command openssl

openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed 's/^.* //'
Source by kubernetes.io #
 
PREVIOUS NEXT
Tagged: #kubeadm #command #openssl
ADD COMMENT
Topic
Name
9+6 =