Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

344
Visualizações
how let postgres stop complaining about ssl permission?

I'm getting this error when I try to configure ssl with postgres:

pr 23 13:12:47 pgmaster01 pg_ctl: FATAL:  private key file "/etc/ssl/pgmaster01-key.pem" has group or world access
Apr 23 13:12:47 pgmaster01 pg_ctl: DETAIL:  Permissions should be u=rw (0600) or less.

The actual permission is:

centos@pgmaster01 ~]$ ls -l /etc/ssl/pgmaster01-key.pem 
-r--r----- 1 root ssl-read 3243 Apr 23 00:00 /etc/ssl/pgmaster01-key.pem

The postgres user is part of the ssl-read group. This ssl key is shared with other software as well, so giving exclusive access to the postgres user is NOT an option.

I understand why postgres complains, but I'm pretty sure about what I'm doing here. How can I tell postgres to start anyway, even when it doesn't like those permissions?

I'm the admin here, it's up to me to decide to implement my security setup, not the software itself.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

You should not share the private key you use for PostgreSQL with some other application.

If you know what you are doing and you are on Linux, you could cheat by setting the permissions that PostgreSQL requests and allowing other users access with Access Control Lists. This requires mounting the root file system with the acl mount option and using setfacl to set ACLs for additional users that are allowed access.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda