SSL key with passphrase - Mailing list pgsql-hackers

From Thom Brown
Subject SSL key with passphrase
Date
Msg-id CAA-aLv5b_jN7ek33kWe+pMJgSfbk70CkMVcgvQ9BSiYyZKkQhw@mail.gmail.com
Whole thread Raw
Responses Re: SSL key with passphrase
List pgsql-hackers
Hi,

There appears to be a problem with starting Postgres if the SSL key
has a passphrase on it.  The following happens:

Enter PEM pass phrase:
FATAL:  could not load private key file "server.key": problems getting password

Starting with "postgres -D /path/to/cluster" returns:

Enter PEM pass phrase:
LOG:  database system was shut down at 2011-09-13 13:51:51 BST
LOG:  database system is ready to accept connections
LOG:  autovacuum launcher started

So the postgres binary accepts stdin, but pg_ctl doesn't.  This isn't
an unusual case, so could I request a fix to allow pg_ctl to take
stdin rather than /dev/null?

Thanks

-- 
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: unite recovery.conf and postgresql.conf
Next
From: Robert Haas
Date:
Subject: Re: augmenting MultiXacts to improve foreign keys