Buenas
Te paso unos enlaces que espero que te sirvan de ayuda:
https://www.php.net/manual/es/function.chmod.php
https://www.php.net/manual/es/features.remote-files.php
https://docs.microsoft.com/es-es/dotnet/framework/tools/certmgr-exe-certificate-manager-tool
https://www.php.net/manual/es/function.shell-exec.php
Echale un vistazo por ese orden, suerte compi :)
Saludos
David
75
3
9