Skip to content

Commit f2e15b2

Browse files
committed
Merge branch 'claude'
2 parents 78efedd + 97dc760 commit f2e15b2

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

crates/capsula-pki-server/init_pki.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,24 @@ subjectKeyIdentifier = hash
118118
authorityKeyIdentifier = keyid:always,issuer
119119
basicConstraints = critical, CA:true, pathlen:0
120120
keyUsage = critical, digitalSignature, cRLSign, keyCertSign
121+
122+
[ usr_cert ]
123+
basicConstraints = CA:FALSE
124+
nsCertType = client, email
125+
nsComment = "OpenSSL Generated Client Certificate"
126+
subjectKeyIdentifier = hash
127+
authorityKeyIdentifier = keyid,issuer
128+
keyUsage = critical, nonRepudiation, digitalSignature, keyEncipherment
129+
extendedKeyUsage = clientAuth, emailProtection
130+
131+
[ server_cert ]
132+
basicConstraints = CA:FALSE
133+
nsCertType = server
134+
nsComment = "OpenSSL Generated Server Certificate"
135+
subjectKeyIdentifier = hash
136+
authorityKeyIdentifier = keyid,issuer:always
137+
keyUsage = critical, digitalSignature, keyEncipherment
138+
extendedKeyUsage = serverAuth
121139
EOF
122140

123141
log "Intermediate CA configuration created"

0 commit comments

Comments
 (0)