Explorar el Código

set valid permissions for crl.pem

root hace 7 meses
padre
commit
452554e5a8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      addons/cmd/revoke_client.sh

+ 1 - 0
addons/cmd/revoke_client.sh

@@ -62,6 +62,7 @@ if [ $? -eq 0 ]; then
     ./easyrsa --batch gen-crl
 
     chown nobody:${ORIGINAL_USER} -R "$RSA_DIR/pki/issued/"
+    chown nobody:nogroup -R "$RSA_DIR/pki/crl.pem"
     chmod 640 "${RSA_DIR}"/pki/issued/*.crt
 
     if [ $? -eq 0 ]; then