WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit b1e0618

Browse files
authored
Added debug prints
1 parent a02634e commit b1e0618

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

certificates-generation/entrypoint.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ fi
3131

3232
### DIRAC User ciuser
3333

34+
echo "Generating DIRAC user ciuser"
3435
if ! openssl genrsa -out /ca/certs/client.key 2048; then
3536
echo "Failed to generate ciuser private key"
3637
exit 1
@@ -57,6 +58,7 @@ fi
5758

5859
### DIRAC User adminusername
5960

61+
echo "Generating DIRAC user adminusername"
6062
if ! openssl genrsa -out /ca/certs/adminusername.key 2048; then
6163
echo "Failed to generate adminusername private key"
6264
exit 1
@@ -83,6 +85,7 @@ fi
8385

8486
### DIRAC Pilot
8587

88+
echo "Generating DIRAC pilot cert"
8689
if ! openssl genrsa -out /ca/certs/pilot.key 2048; then
8790
echo "Failed to generate pilot private key"
8891
exit 1
@@ -110,6 +113,7 @@ fi
110113
###
111114

112115
echo "DIRAC Certificates generated and available in /ca/certs"
116+
ls -al --color /ca/certs
113117

114118
if ! chmod -R o=u /ca/certs; then
115119
echo "Failed to set read permissions on /ca/certs"

0 commit comments

Comments
 (0)