Обсуждение: SSL problem

Поиск
Список
Период
Сортировка

SSL problem

От
Namrata
Дата:
Hi,

I am trying to start the postmaster with SSL support. -l option is used to start the postmaster to start with ssl
support.when I am trying to start 
with -l option, it searches for server.crt and server.key file. I have bothe files in data directory.
but each time when I am trying to start the postmaster with -l option, I am getting following error

Failed to load private key file (data/server.key): problems getting password

Can anybody please help me in this?
Please help ASAP.

Thanks in advance.
Namrata.

Re: SSL problem

От
Peter Eisentraut
Дата:
Namrata writes:

> I am trying to start the postmaster with SSL support. -l option is used to start the postmaster to start with ssl
support.when I am trying to start 
> with -l option, it searches for server.crt and server.key file. I have bothe files in data directory.
> but each time when I am trying to start the postmaster with -l option, I am getting following error
>
> Failed to load private key file (data/server.key): problems getting password

If you have protected the certificate or key files with a password, the
server will prompt you for the password when it starts, so make sure
you're not setting the standard input to /dev/null or something like that.
(If you're using pg_ctl to start the server this is probably the case.)

--
Peter Eisentraut   peter_e@gmx.net   http://funkturm.homeip.net/~peter


Re: SSL problem

От
Grant
Дата:
> I am trying to start the postmaster with SSL support. -l option is used to start the postmaster to start with ssl
support.when I am trying to start 
> with -l option, it searches for server.crt and server.key file. I have bothe files in data directory.
> but each time when I am trying to start the postmaster with -l option, I am getting following error
>
> Failed to load private key file (data/server.key): problems getting password

Did you remove the passphrase from the certificate?