Skip to content

Commit 44eed28

Browse files
Fix: Certificate PFX creation (#15)
1 parent 343c18c commit 44eed28

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docker/docker-compose-local-light.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ services:
203203
- ./certs:/https:rw
204204
command: >
205205
sh -c "[ -e "./https/devstore.academy-localhost.pfx" ] && echo File Already exist || (
206-
rm /https/devstore.academy-localhost.pfx &&
206+
rm -f /https/devstore.academy-localhost.pfx &&
207207
openssl genrsa -out devstore.rsa 2048 &&
208208
openssl req -sha256 -new -key devstore.rsa -out devstore.csr -subj '/CN=localhost' &&
209209
openssl x509 -req -sha256 -days 365 -in devstore.csr -signkey devstore.rsa -out devstore.crt &&

docker/docker-compose-local.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ services:
260260
- ./certs:/https:rw
261261
command: >
262262
sh -c "[ -e "./https/devstore.academy-localhost.pfx" ] && echo File Already exist || (
263-
rm /https/devstore.academy-localhost.pfx &&
263+
rm -f /https/devstore.academy-localhost.pfx &&
264264
openssl genrsa -out devstore.rsa 2048 &&
265265
openssl req -sha256 -new -key devstore.rsa -out devstore.csr -subj '/CN=localhost' &&
266266
openssl x509 -req -sha256 -days 365 -in devstore.csr -signkey devstore.rsa -out devstore.crt &&

docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ services:
1818
- ./certs:/https:rw
1919
command: >
2020
sh -c "[ -e "./https/devstore.academy-localhost.pfx" ] && echo File Already exist || (
21-
rm /https/devstore.academy-localhost.pfx &&
21+
rm -f /https/devstore.academy-localhost.pfx &&
2222
openssl genrsa -out devstore.rsa 2048 &&
2323
openssl req -sha256 -new -key devstore.rsa -out devstore.csr -subj '/CN=localhost' &&
2424
openssl x509 -req -sha256 -days 365 -in devstore.csr -signkey devstore.rsa -out devstore.crt &&

0 commit comments

Comments
 (0)