mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
Allow SSL to work withouth client-side certificate infrastructure.
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<!--
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.139 2002/09/25 21:16:10 petere Exp $
|
||||
$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.140 2002/09/26 04:41:54 momjian Exp $
|
||||
-->
|
||||
|
||||
<Chapter Id="runtime">
|
||||
@ -2876,6 +2876,7 @@ openssl rsa -in privkey.pem -out cert.pem
|
||||
Enter the old passphrase to unlock the existing key. Now do
|
||||
<programlisting>
|
||||
openssl req -x509 -in cert.req -text -key cert.pem -out cert.cert
|
||||
chmod og-rwx cert.pem
|
||||
cp cert.pem <replaceable>$PGDATA</replaceable>/server.key
|
||||
cp cert.cert <replaceable>$PGDATA</replaceable>/server.crt
|
||||
</programlisting>
|
||||
|
Reference in New Issue
Block a user