cfssl icon indicating copy to clipboard operation
cfssl copied to clipboard

Example data for gencrl through serve API

Open selstam opened this issue 6 years ago • 0 comments

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

selstam avatar Mar 20 '19 14:03 selstam