Complete lab 7 security infrastructure
Skeleton contracts / contracts (pull_request) Canceled after 0s
Skeleton contracts / contracts (pull_request) Canceled after 0s
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
$ErrorActionPreference = 'Stop'
|
||||
$Root = (Resolve-Path (Join-Path $PSScriptRoot '../..')).Path
|
||||
$Script = 'infra/tls/bootstrap.sh'
|
||||
Write-Host 'Generating local Lab 7 certificates using a temporary pinned Alpine container...'
|
||||
docker run --rm -v "${Root}:/work" -w /work alpine:3.20.3 sh -lc "apk add --no-cache openssl >/dev/null && sh ${Script}"
|
||||
if ($LASTEXITCODE -ne 0) { throw 'TLS bootstrap failed.' }
|
||||
Write-Host 'Certificates are local-only under secrets/. Do not commit this directory.'
|
||||
Reference in New Issue
Block a user