Skip to content

Commit

Permalink
feat: adds cert templates.
Browse files Browse the repository at this point in the history
Signed-off-by: ianhundere <[email protected]>
  • Loading branch information
ianhundere committed Nov 25, 2024
1 parent c0cc495 commit 0c4dff8
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 0 deletions.
32 changes: 32 additions & 0 deletions fulcio-intermediate-template.json
Original file line number Diff line number Diff line change
@@ -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"
]
}
30 changes: 30 additions & 0 deletions fulcio-root-template.json
Original file line number Diff line number Diff line change
@@ -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"
]
}

0 comments on commit 0c4dff8

Please sign in to comment.