| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk> |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: SSL Connections |
| Date: | 2000-12-21 19:08:07 |
| Message-ID: | 200012211908.OAA03131@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
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 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.
>
Content-Description: ol
[ Attachment, skipping... ]
> Oliver Elphick Oliver(dot)Elphick(at)lfix(dot)co(dot)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
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2000-12-21 19:17:00 | Re: Inline Comments for pg_dump |
| Previous Message | Alfred Perlstein | 2000-12-21 19:03:08 | externalizing PGresult? |