From 5f0599700f1c91433b5b59eb41722e7df6378298 Mon Sep 17 00:00:00 2001 From: ianhundere <138915+ianhundere@users.noreply.github.com> Date: Thu, 21 Nov 2024 15:20:08 -0500 Subject: [PATCH] feat: adds cert templates. --- fulcio-intermediate-template.json | 32 +++++++++++++++++++++++++++++++ fulcio-root-template.json | 30 +++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 fulcio-intermediate-template.json create mode 100644 fulcio-root-template.json diff --git a/fulcio-intermediate-template.json b/fulcio-intermediate-template.json new file mode 100644 index 000000000..ad799a530 --- /dev/null +++ b/fulcio-intermediate-template.json @@ -0,0 +1,32 @@ +{ + "subject": { + "country": [ + "US" + ], + "organization": [ + "Sigstore" + ], + "organizationalUnit": [ + "Fulcio Intermediate CA" + ], + "commonName": "https://fulcio.com" + }, + "issuer": { + "commonName": "https://fulcio.com" + }, + "notBefore": "2024-01-01T00:00:00Z", + "notAfter": "2034-01-01T00:00:00Z", + "serialNumber": 2, + "basicConstraints": { + "isCA": true, + "maxPathLen": 0 + }, + "keyUsage": [ + "certSign", + "crlSign", + "digitalSignature" + ], + "extKeyUsage": [ + "CodeSigning" + ] +} \ No newline at end of file diff --git a/fulcio-root-template.json b/fulcio-root-template.json new file mode 100644 index 000000000..d4d4bbef5 --- /dev/null +++ b/fulcio-root-template.json @@ -0,0 +1,30 @@ +{ + "subject": { + "country": [ + "US" + ], + "organization": [ + "Sigstore" + ], + "organizationalUnit": [ + "Fulcio Root CA" + ], + "commonName": "https://fulcio.com" + }, + "issuer": { + "commonName": "https://fulcio.com" + }, + "notBefore": "2024-01-01T00:00:00Z", + "notAfter": "2034-01-01T00:00:00Z", + "basicConstraints": { + "isCA": true, + "maxPathLen": 1 + }, + "keyUsage": [ + "certSign", + "crlSign" + ], + "extKeyUsage": [ + "CodeSigning" + ] +} \ No newline at end of file