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