cfssl
cfssl copied to clipboard
Example data for gencrl through serve API
Hi!
I've been scratching my head a while now on how to call gencrl through the serve api.
The basic POST is { "certificate" : "xxxx", "issuingKey":"xxxx", "expireTime": "nnn" } but I don't know how to input the certificate and key in a sane way. cfssl returns "invalid character '\n' in string literal" every time I try to enter a PEM certificate. and everything else I've tried (like removing newlines) result in a new error or "failed to decode certificate".
What am I missing?
// Andreas