Re: SSL Connections - Mailing list pgsql-hackers

From Oliver Elphick
Subject Re: SSL Connections
Date
Msg-id 200012211649.eBLGnUP11047@linda.lfix.co.uk
Whole thread Raw
In response to Re: SSL Connections  (Matthew Kirkwood <matthew@hairy.beasts.org>)
Responses Re: SSL Connections
List pgsql-hackers
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.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

then

  cp cert.pem $PGDATA/server.key
  cp cert.cert $PGDATA/server.crt

Thank you; this works.

I attach a documentation patch.

Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
PGP: 1024R/32B8FAA1: 97 EA 1D 47 72 3F 28 47  6B 7E 39 CC 56 E4 C1 47
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "For a child will be born to us, a son will be given to
      us; And the government will rest on His shoulders; And
      His name will be called Wonderful Counsellor, Mighty
      God, Eternal Father, Prince of Peace."
                                        Isaiah 9:6

Attachment

pgsql-hackers by date:

Previous
From: Hannu Krosing
Date:
Subject: Re: Who is a maintainer of GiST code ?
Next
From: Tom Lane
Date:
Subject: Re: Re: equal operator for _int4 (array of int4)