Re: [HACKERS] SSL connections don't cope with server crash very well at all

2008-01-28 Thread Magnus Hagander
On Sun, Jan 27, 2008 at 08:09:10PM -0500, Tom Lane wrote: > If you do a manual "kill -9" (for testing purposes) on its connected > server process, psql normally recovers nicely: > > regression=# select 1; > ?column? > -- > 1 > (1 row) > > -- issue kill here in another window > r

[HACKERS] SSL connections don't cope with server crash very well at all

2008-01-27 Thread Tom Lane
If you do a manual "kill -9" (for testing purposes) on its connected server process, psql normally recovers nicely: regression=# select 1; ?column? -- 1 (1 row) -- issue kill here in another window regression=# select 1; server closed the connection unexpectedly This pro

[HACKERS] SSL Connections

2003-08-25 Thread Carlos Guzman Alvarez
Hello: I'm developing a TLS library in C# for my PostgreSQL ADO.NET Data Provider, i can work well using the openssl test server, using: openssl s_server -accept 443 -key server.key -cert server.crt -tls1 -bugs But when i try to use it for connect to postgresql (7.4 on Windows+Cygwin) i get al

Re: [HACKERS] SSL Connections

2000-12-21 Thread Bruce Momjian
Applied. > Matthew Kirkwood wrote: > >On Wed, 20 Dec 2000, Oliver Elphick wrote: > > > >> To create a quick self-signed certificate, use the CA.pl script > >> included in OpenSSL: > ... > >Or you can do it manually: > > > >openssl req -new -text -out cert.req (you will have to enter

Re: [HACKERS] SSL Connections

2000-12-21 Thread Oliver Elphick
Matthew Kirkwood wrote: >On Wed, 20 Dec 2000, Oliver Elphick wrote: > >> To create a quick self-signed certificate, use the CA.pl script >> included in OpenSSL: ... >Or you can do it manually: > >openssl req -new -text -out cert.req (you will have to enter a password) >mv privkey.p

Re: [HACKERS] SSL Connections

2000-12-21 Thread Matthew Kirkwood
On Wed, 20 Dec 2000, Oliver Elphick wrote: > To create a quick self-signed certificate, use the CA.pl script > included in OpenSSL: > > CA.pl -newcert Or you can do it manually: openssl req -new -text -out cert.req (you will have to enter a password) mv privkey.pem cert.pem.pw openssl rsa -in

RE: [HACKERS] SSL Connections

2000-12-20 Thread Magnus Hagander
> > Has anyone successfully done this? and if so, how is the > documentation > > quoted above inforrect? > > When I did my testing, I just took some cert's that I had generated > through Apache's make certificate command - just don't enter > a passphrase, > then copy the certificate and key. Wo

Re: [HACKERS] SSL Connections

2000-12-20 Thread Dominic J. Eidson
On Wed, 20 Dec 2000, Oliver Elphick wrote: > Has anyone successfully done this? and if so, how is the documentation > quoted above inforrect? When I did my testing, I just took some cert's that I had generated through Apache's make certificate command - just don't enter a passphrase, then copy t

[HACKERS] SSL Connections

2000-12-20 Thread Oliver Elphick
I've been experimenting with the SSL connection support. Unfortunately I can't get the postmaster to start because the instructions in the documentation for setting up a certificate don't work. They say: = For details on