e2e: increase tests certificates duration (10 years)

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-03-27 13:27:39 +02:00
parent d234a81de7
commit c6c33380da
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7
1 changed files with 1 additions and 1 deletions

View File

@ -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