Use following command to give valid permission to keys and config file.