SSL problem

Started by Namrataalmost 25 years ago3 messagesgeneral
Jump to latest
#1Namrata
nlabade@nulinkinc.com

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.

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Namrata (#1)
Re: SSL problem

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

#3Grant
grant@conprojan.com.au
In reply to: Namrata (#1)
Re: SSL problem

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?