Skip to content

Secure, Fast, and Extensible Sandbox runtime for AI agents.

fix(fast-sandbox-env): sign the registry cert with a complete extension set

高然6a1335d6a21e
diff --git a/scripts/fast-sandbox-env/integration-env.sh b/scripts/fast-sandbox-env/integration-env.sh
index a0df2a4ca..530150887 100755
--- a/scripts/fast-sandbox-env/integration-env.sh
+++ b/scripts/fast-sandbox-env/integration-env.sh
@@ -1307,6 +1307,11 @@ registry_ca_up() {
-subj "/CN=$OCI_REGISTRY_HOST" >/dev/null 2>&1 \
|| die "registry server key generation failed"
cat > "$CA_DIR/server.ext" <<EXT
+basicConstraints=CA:FALSE
+keyUsage=digitalSignature,keyEncipherment
+extendedKeyUsage=serverAuth
+subjectKeyIdentifier=hash
+authorityKeyIdentifier=keyid,issuer
subjectAltName=DNS:registry,DNS:registry.$RESOURCE_NS,DNS:registry.$RESOURCE_NS.svc,DNS:$OCI_REGISTRY_HOST
EXT
openssl x509 -req -sha256 -days 365 \