cfssl
cfssl copied to clipboard
"Failed to parse input: unexpected end of JSON input" err occured on MAC os of M2 silicon
Here is the command:
echo '{"CN":"server","hosts":["*.karmada-system.svc.cluster.local","*.karmada-system.svc","localhost","127.0.0.1","7.249.23.96","7.249.239.8"],"names":[{"O":""}],"key":{"algo":"rsa","size":3072}}' | cfssl gencert -ca=ca.crt -ca-key=ca.key -config=ca-config.json - | cfssljson -bare server
It works well on linux