Sometimes, you may see the following error in pgstartup.log while starting postgres.
FATAL: unsafe permissions on private key file “server.key”
DETAIL: File must be owned by the database user and must have no permissions for “group” or “other”.
FIX:
change the permissions of the files server.crt and server.key to 600 in /var/lib/pgsql/data.