Pages: [1]   Go Down
Author Topic: postgresql could not access private key file "server.key": Matriux Leandros  (Read 8515 times)
L30
Team Lead
RegMem
****

Karma: +8/-0
Offline Offline

Posts: 283


WWW
« on: September 26, 2013, 06:18:49 PM »


After the installation of Matriux on HDD it fails to generate the ssl certificates for PostgreSQL and you get the following error!

Quote
postgresql could not access private key file "server.key": No such file or directory ... failed!

fix:
Code:
cd /var/lib/postgresql/8.4/main/
cp /etc/ssl/private/ssl-cert-snakeoil.key server.key
chown postgres server.key
chgrp postgres server.key
chmod 740 server.key
ln -s /etc/ssl/certs/ssl-cert-snakeoil.pem server.crt
« Last Edit: September 26, 2013, 06:24:23 PM by L30 »Logged


Pages: [1]   Go Up
Print
Jump to: