Re: server.crt Missing

Laurenz Albe <laurenz.albe@cybertec.at>

From: Laurenz Albe <laurenz.albe@cybertec.at>
To: BeeRich Lists <bee.lists@gmail.com>, Submit Postgresql Novice <pgsql-novice@postgresql.org>
Date: 2021-06-28T13:33:05Z
Lists: pgsql-novice
On Mon, 2021-06-28 at 09:04 -0400, BeeRich Lists wrote:
> I’m getting repetitive errors/warnings:
> 
> 2021-06-28 08:57:07.127 EDT [44717] FATAL:  could not load server certificate file "server.crt": No such file or directory
> 2021-06-28 08:57:07.127 EDT [44717] LOG:  database system is shut down
> 
> This is my workstation, so I don’t have a certificate for this.  Is there a way I can get this to not be reported?  I’ve checked nginx.conf and there’s nothing in there that shows me that I can turn
> this off.  
> 
> Any insight appreciated.

If you want transport encryption with TLS, you have to provide a server key and certificate.

If you don't need that, set "ssl = off", then PostgreSQL won't complain.

Yours,
Laurenz Albe
-- 
Cybertec | https://www.cybertec-postgresql.com