Skip to content

Commit

Permalink
check cert files status after test creation
Browse files Browse the repository at this point in the history
  • Loading branch information
zostaw committed Dec 2, 2023
1 parent b73ee3c commit ab1dd6c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/test_docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,15 @@ jobs:

- name: Create certificates
run: |
openssl req -x509 -newkey rsa:4096 -nodes -out app/cert.pem -keyout app/key.pem -days 1 -subj "/C=PL/ST=State/L=/O=/OU=/CN=localhost"
#openssl req -x509 -newkey rsa:4096 -nodes -out app/cert.pem -keyout app/key.pem -days 1 -subj "/C=PL/ST=State/L=/O=/OU=/CN=localhost"
openssl genrsa -out app/key.pem 4096
openssl req -new -x509 -nodes -days 3600 -key app/key.pem -out app/cert.pem
- name: Verify cert files
run: |
pwd
echo $PWD:
ls -last
echo $PWD/app/:
ls -last app
- name: Build and run test web
Expand Down

0 comments on commit ab1dd6c

Please sign in to comment.