L
L
Lev K2017-03-06 12:07:12
PostgreSQL
Lev K, 2017-03-06 12:07:12

Why can't postgresql access the private key file?

When starting posgresql I get the following error:

could not access private key file "/etc/ssl/private/ssl-cert-snakeoil.key": Permission denied

I tried to give rights up to 777 to this file and the private directory, I also tried different combinations of changing the group and user of this file, this error still crashes.
Did not help
PS in fact, I have access to this file for reading (well, for everything else too) because.
cat /etc/ssl/private/ssl-cert-snakeoil.key
***вывод файла***

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-03-06
@sim3x

https://github.com/sous-chefs/postgresql/issues/15...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question