File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ if ! openssl genrsa -out /ca/certs/hostkey.pem 2048; then
77 echo " Failed to generate DIRAC server private key"
88 exit 1
99fi
10- chmod 400 hostkey.pem
10+ chmod 400 /ca/certs/ hostkey.pem
1111
1212# ## DIRAC Server
1313
@@ -35,7 +35,7 @@ if ! openssl genrsa -out /ca/certs/client.key 2048; then
3535 echo " Failed to generate ciuser private key"
3636 exit 1
3737fi
38- chmod 400 client.key
38+ chmod 400 /ca/certs/ client.key
3939
4040if ! openssl req -config /ca/openssl_config_user.cnf \
4141 -key /ca/certs/client.key \
@@ -61,9 +61,9 @@ if ! openssl genrsa -out /ca/certs/adminusername.key 2048; then
6161 echo " Failed to generate adminusername private key"
6262 exit 1
6363fi
64- chmod 400 adminusername.key
64+ chmod 400 /ca/certs/ adminusername.key
6565
66- if ! openssl req -config /ca/openssl_confi_adminusername .cnf \
66+ if ! openssl req -config /ca/openssl_config_adminusername .cnf \
6767 -key /ca/certs/adminusername.key \
6868 -new \
6969 -out /ca/requests/adminusername.req; then
@@ -87,7 +87,7 @@ if ! openssl genrsa -out /ca/certs/pilot.key 2048; then
8787 echo " Failed to generate pilot private key"
8888 exit 1
8989fi
90- chmod 400 pilot.key
90+ chmod 400 /ca/certs/ pilot.key
9191
9292if ! openssl req -config /ca/openssl_config_pilot.cnf \
9393 -key /ca/certs/pilot.key \
You can’t perform that action at this time.
0 commit comments