cloudflare / cloudflare/cfssl

Example data for gencrl through serve API

Open
#978 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Go
Stars
9.5k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.