Re: server.crt Missing

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: BeeRich Lists <bee(dot)lists(at)gmail(dot)com>, Submit Postgresql Novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: server.crt Missing
Date: 2021-06-28 13:33:05
Message-ID: 9935482c0bc0ba92e9cada7ade741e090023d6db.camel@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Simon Connah 2021-07-14 06:15:25 Using PostgreSQL as a data warehouse
Previous Message Bzzzz 2021-06-28 13:19:40 Re: server.crt Missing