标签:pubkey out over pen 过期 pki ber x509 bash
生成tokenkubeadm token create
openssl x509 -pubkey -in /etc/kubernetes/pki/ca.crt | openssl rsa -pubin -outform der 2>/dev/null | openssl dgst -sha256 -hex | sed ‘s/^.* //‘
kubeadm join 192.168.254.99:6444 --token 1rpqbo.ei08mja970m2wh43 --discovery-token-ca-cert-hash sha256:82d2f6027ad8f02274502f55838b594b1b056a8096672577a983f9ea46ede9f8
标签:pubkey out over pen 过期 pki ber x509 bash
原文地址:https://blog.51cto.com/penguintux/2535909