Re: error on launching postgres in ssl mode

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Luca Stancapiano" <l(dot)stancapiano(at)k-tech(dot)it>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: error on launching postgres in ssl mode
Date: 2005-07-27 14:13:12
Message-ID: 25581.1122473592@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Luca Stancapiano" <l(dot)stancapiano(at)k-tech(dot)it> writes:
> hello.....I've created the server.key and server.crt in this manner:
> openssl req -new -nodes -keyout server.key -out server.csr

> openssl req -key /home/data/server.key -in /home/data/server.csr -out
> server.crt

> ...

> when I launch it I have this error:

> FATAL: could not load server certificate file "/home/data/server.crt": no
> start line

> why?

You're asking the wrong people: you should be asking some SSL experts.

All I can say about the above process is that it doesn't match the
example key creation process given in our documentation. I suppose
you have messed up the "openssl req" steps but I don't know just how.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2005-07-27 14:23:05 Re: Database disappeared
Previous Message Guido Barosio 2005-07-27 13:53:23 Re: Hola