Re: Changed SSL Certificates

From: Vick Khera <vivek(at)khera(dot)org>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Re: Changed SSL Certificates
Date: 2011-04-08 18:02:28
Message-ID: BANLkTim6=SR4NbC7BOZLWS=4iZwVy=gXOw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Apr 8, 2011 at 12:42 PM, Carlos Mennens <carlos(dot)mennens(at)gmail(dot)com>wrote:

> ln -s /etc/ssl/certs/db1_ssl.crt db1_ssl.crt
> ln -s /etc/ssl/private/db1_ssl.key db1_ssl.key
>
> I then restarted PostgreSQL and got the following error:
>
> 2011-04-08 09:54:34 EDT FATAL: could not load server certificate file
> "server.crt": No such file or directory
> 2011-04-08 10:00:43 EDT FATAL: could not load server certificate file
> "server.crt": No such file or directory
>

Perhaps using the file name "server.crt" postgres is looking for instead of
"db1_ssl.crt" would help?

That advice for full paths on the symlink not so useful. If you are in the
right directory then they are equivalent commands.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2011-04-08 18:08:52 Re: Changed SSL Certificates
Previous Message Adrian Klaver 2011-04-08 18:01:55 Re: Changed SSL Certificates