From 7f9e6b838e4734211ae100e8b7284de30470fcb7 Mon Sep 17 00:00:00 2001 From: Dario Date: Wed, 1 May 2024 11:06:01 +0200 Subject: [PATCH] fix: changed alias to export Co-authored-by: Gonzalo Suarez Losada Co-authored-by: Jorge Gancedo --- .github/workflows/e2e.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 819f2d97..b679cd50 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -14,9 +14,9 @@ jobs: with: node-version: 20 - run: sudo apt install -y openssl - - run: openssl req -newkey rsa:2048 -nodes -keyout server.key -out server.csr -subj "/CN=localhost/OU=tomcat" + - run: openssl req -newkey rsa:2048 -nodes -keyout server.key -out server.csr -subj "/CN=localhost" - run: openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt - - run: openssl pkcs12 -export -out server.p12 -inkey server.key -in server.crt -passout pass:${{ secrets.E2E_SSL_PASSWORD }} + - run: openssl pkcs12 -export -out server.p12 -inkey server.key -in server.crt -passout pass:${{ secrets.E2E_SSL_PASSWORD }} -name tomcat - run: sudo mkdir /certs - run: sudo mv server.p12 /certs/keystore.p12 - name: Set up environment variables