cfssl icon indicating copy to clipboard operation
cfssl copied to clipboard

"Failed to parse input: unexpected end of JSON input" err occured on MAC os of M2 silicon

Open Monokaix opened this issue 1 year ago • 1 comments

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

Monokaix avatar Oct 22 '24 02:10 Monokaix