The error returned is as follows: Key file permissions are not correct, should be 600 or 660 instead of 644 Can someone help me solve this error? I know I have to switch to 600 or 644, but I do not know how to
The error returned is as follows: Key file permissions are not correct, should be 600 or 660 instead of 644 Can someone help me solve this error? I know I have to switch to 600 or 644, but I do not know how to
You need to change to 600 , not 644. Only the user running the web server should have access to those keys.
Begin by changing the ownership of the keys for the user running your server. Go to the folder where the root of your application is and run the following:
$ chown <usuario_do_servidor_web> storage/oauth-private.key storage/oauth-public.key
If you use Apache and did not change settings in Ubuntu or variants, the user is usually www-date , but check your settings to inform the correct user.