permission for pem are too open code example
Example 1: change permissions pem
chmod 400 key.pem
Example 2: Permissions for 'xxx.pem' are too open. It is required that your private key files are NOT accessible by others.
chmod 400 mykey.pem
chmod 400 key.pem
chmod 400 mykey.pem