pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
SSL problem
4+ messages / 4 participants
[nested] [flat]

* SSL problem
@ 2001-06-20 06:05 Namrata <nlabade@nulinkinc.com>
  2001-06-20 14:50 ` Re: SSL problem Peter Eisentraut <peter_e@gmx.net>
  2001-06-25 00:20 ` Re: SSL problem Grant <grant@conprojan.com.au>
  0 siblings, 2 replies; 4+ messages in thread

From: Namrata @ 2001-06-20 06:05 UTC (permalink / raw)
  To: postgres <pgsql-general@postgresql.org>; pgsql-admin


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.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: SSL problem
  2001-06-20 06:05 SSL problem Namrata <nlabade@nulinkinc.com>
@ 2001-06-20 14:50 ` Peter Eisentraut <peter_e@gmx.net>
  1 sibling, 0 replies; 4+ messages in thread

From: Peter Eisentraut @ 2001-06-20 14:50 UTC (permalink / raw)
  To: Namrata <nlabade@nulinkinc.com>; +Cc: pgsql-admin

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




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: SSL problem
  2001-06-20 06:05 SSL problem Namrata <nlabade@nulinkinc.com>
@ 2001-06-25 00:20 ` Grant <grant@conprojan.com.au>
  1 sibling, 0 replies; 4+ messages in thread

From: Grant @ 2001-06-25 00:20 UTC (permalink / raw)
  To: pgsql-admin

> 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?




^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* SSL problem
@ 2003-07-30 17:38 Andreas Pflug <pgadmin@pse-consulting.de>
  0 siblings, 0 replies; 4+ messages in thread

From: Andreas Pflug @ 2003-07-30 17:38 UTC (permalink / raw)
  To: pgsql-admin

I'm trying to set up my Linux machine with ssl, but it fails.
- compiled --with-openssl
- ssl =true in postgresql.conf
- generated server.crt and server.key as recommended in Administrator's 
Guide

Checking:
- if server.crt or server.key are missing, postmaster won't start
- SHOW ssl returns "on"

when connecting with "sslmode=require", I get the message "server does 
not support SSL"

So what's going wrong?

Regards,
Andreas




^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2003-07-30 17:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2001-06-20 06:05 SSL problem Namrata <nlabade@nulinkinc.com>
2001-06-20 14:50 ` Peter Eisentraut <peter_e@gmx.net>
2001-06-25 00:20 ` Grant <grant@conprojan.com.au>
2003-07-30 17:38 SSL problem Andreas Pflug <pgadmin@pse-consulting.de>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox