Open krc opened 10 months ago
For the admin cert generation there is this cli command:
cfssl gencert \ -ca=ca.pem \ -ca-key=ca-key.pem \ -config=ca-config.json \ -profile=kubernetes \ admin-csr.json | cfssljson -bare admin
This no longer works with at least 1.6.4 (current version as of January 2024), it errors: "only one argument is accepted, please check with usage".
The fix is to replace the = with spaces
=
cfssl gencert \ -ca ca.pem \ -ca-key ca-key.pem \ -config ca-config.json \ -profile kubernetes \ admin-csr.json | cfssljson -bare admin
For the admin cert generation there is this cli command:
This no longer works with at least 1.6.4 (current version as of January 2024), it errors: "only one argument is accepted, please check with usage".
The fix is to replace the
=
with spaces