Skip to content

Commit 16ee207

Browse files
committed
[misc] add ssl
1 parent 9dafb5f commit 16ee207

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/generate-certs.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ echo "Generate the certificate for the server:"
6363
openssl x509 -req -days 365 -in .github/workflows/certs/server.csr -out .github/workflows/certs/server.crt -CA .github/workflows/certs/ca.crt -CAkey .github/workflows/certs/ca.key -extensions req_ext -extfile .github/workflows/certs/server.conf
6464

6565
# Set appropriate permissions
66-
chmod 600 .github/workflows/certs/ca.key .github/workflows/certs/server.key
67-
chmod 644 .github/workflows/certs/server.crt .github/workflows/certs/ca.crt
66+
chmod 600 .github/workflows/certs/ca.key
67+
chmod 644 .github/workflows/certs/server.crt .github/workflows/certs/ca.crt .github/workflows/certs/server.key
6868

6969
# List generated certificates
7070
echo "Generated certificates:"

0 commit comments

Comments
 (0)