Thanks for that one!
Here is a patch to update the documentation based on this - this should make
it less dependant on the version of OpenSSL used.
//Magnus
> -----Original Message-----
> From: Matthew Kirkwood [mailto:matthew@hairy.beasts.org]
> Sent: den 21 december 2000 16:49
> To: Oliver Elphick
> Cc: pgsql-hackers@postgresql.org
> Subject: Re: [HACKERS] SSL Connections
>
>
> 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 cert.pem.pw -out cert.pem (this removes the password)
> openssl req -x509 -in cert.req -text -key cert.pem -out cert.cert
>
> Matthew.
>