certstrap icon indicating copy to clipboard operation
certstrap copied to clipboard

Get CA certificate error: permissions too lax for cert.crt: required no more than -r--r--r--, found -r-xr-xr-x

Open fsdrw08 opened this issue 3 years ago • 1 comments

Got permission error when I run certstrap in docker, with sign action

podman run --rm -v ./out:/out -v ./csr:/csr docker.io/squareup/certstrap sign `
    --passphrase "changeit" `
    --expires "3 year" `
    --csr /csr/Sololab_Org_v1_ICA1_v1.csr `
    --cert /out/Intermediate_CA1_v1.crt `
    --intermediate `
    --CA "Sololab Root" `
    "Intermediate CA1 v1"

Got this error

Get CA certificate error: permissions too lax for /out/Sololab_Root.crt: required no more than -r--r--r--, found -r-xr-xr-x

fsdrw08 avatar Nov 30 '22 07:11 fsdrw08

Got permission error when I run certstrap in docker, with sign action


podman run --rm -v ./out:/out -v ./csr:/csr docker.io/squareup/certstrap sign `

    --passphrase "changeit" `

    --expires "3 year" `

    --csr /csr/Sololab_Org_v1_ICA1_v1.csr `

    --cert /out/Intermediate_CA1_v1.crt `

    --intermediate `

    --CA "Sololab Root" `

    "Intermediate CA1 v1"

Got this error


Get CA certificate error: permissions too lax for /out/Sololab_Root.crt: required no more than -r--r--r--, found -r-xr-xr-x

AndyHowarthSbuffles avatar Nov 30 '22 08:11 AndyHowarthSbuffles