Closed yurivict closed 8 years ago
you are putting a bundle output as a csr.json. An example of csr.json is at https://github.com/cloudflare/cfssl/blob/master/cli/genkey/testdata/csr.json
Another good way is to
$ cfssl print-defaults csr
{
"CN": "example.net",
"hosts": [
"example.net",
"www.example.net"
],
"key": {
"algo": "ecdsa",
"size": 256
},
"names": [
{
"C": "US",
"L": "CA",
"ST": "San Francisco"
}
]
}
Running with this csr.json
causes this error:
Error message doesn' t help to understand what is wrong. It talks about the Go language problem.
Is this a parsing error? Which string is wrong?
IMO error messages should help understand what is the problem. Language shouldn't be mentioned, since it is irrelevant.