mirror of https://github.com/docker/cli.git
e2e: increase tests certificates duration (10 years)
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
d234a81de7
commit
c6c33380da
|
@ -8,7 +8,7 @@ WORKDIR /tmp/gencerts/notary
|
||||||
RUN --mount=type=bind,source=e2e/testdata/notary,target=/tmp/gencerts/notary,rw <<EOT
|
RUN --mount=type=bind,source=e2e/testdata/notary,target=/tmp/gencerts/notary,rw <<EOT
|
||||||
set -eu
|
set -eu
|
||||||
mkdir -p ../notary-evil /out
|
mkdir -p ../notary-evil /out
|
||||||
quicktls -org=Docker -with-san notary-server notaryserver evil-notary-server evilnotaryserver localhost 127.0.0.1
|
quicktls -exp 87600h -org=Docker -with-san notary-server notaryserver evil-notary-server evilnotaryserver localhost 127.0.0.1
|
||||||
cat ca.pem >> notary-server.cert
|
cat ca.pem >> notary-server.cert
|
||||||
mv ca.pem root-ca.cert
|
mv ca.pem root-ca.cert
|
||||||
cp notary-server.cert notary-server.key root-ca.cert ../notary-evil
|
cp notary-server.cert notary-server.key root-ca.cert ../notary-evil
|
||||||
|
|
Loading…
Reference in New Issue