After setting up SSL, GPDB startup failed with "private key file ""server.key"" has group or world access"
search cancel

After setting up SSL, GPDB startup failed with "private key file ""server.key"" has group or world access"

book

Article ID: 384211

calendar_today

Updated On:

Products

VMware Tanzu Data Suite

Issue/Introduction

Following error can be seen in startup.log

2024-12-05 18:39:06.702194 EST,,,p360163,th950507776,,,,0,,,seg-1,,,,,"FATAL","F0000","private key file ""server.key"" has group or world access","Permissions should be u=rw (0600) or less.",,,,,,,"initialize_SSL","be-secure.c",893,

Cause

Excessive permissions set to server.key file

Resolution

Run the following command to deny Other and Group all permissions on the key file, and rerun gpstart

$ chmod og-rwx server.key