]> granicus.if.org Git - postgresql/commitdiff
It looks Ok, but it has one unnecessary step. There is no need to do the "mv
authorBruce Momjian <bruce@momjian.us>
Wed, 24 Jan 2001 15:19:36 +0000 (15:19 +0000)
committerBruce Momjian <bruce@momjian.us>
Wed, 24 Jan 2001 15:19:36 +0000 (15:19 +0000)
privkey.pem cert.pem.pw" if you just use "privkey.pem" in the following
openssl command (e.g. openssl rsa -in privkey.pem -out cert.pem".
But there is nothing wrong with it as it is now, as far as I can see.

//Magnus

doc/src/sgml/runtime.sgml

index 81d0846e00a10394a550981c51d13c1e00d193c5..17dcc10f84d24b54a816e2731ad8e8cc96a1b9b3 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.46 2001/01/08 21:01:54 petere Exp $
+$Header: /cvsroot/pgsql/doc/src/sgml/runtime.sgml,v 1.47 2001/01/24 15:19:36 momjian Exp $
 -->
 
 <Chapter Id="runtime">
@@ -1911,8 +1911,7 @@ openssl req -new -text -out cert.req
    To remove the passphrase (as you must if you want automatic start-up of
    the postmaster), run the commands
 <programlisting>
-mv privkey.pem cert.pem.pw
-openssl rsa -in cert.pem.pw -out cert.pem 
+openssl rsa -in privkey.pem -out cert.pem
 </programlisting>
    Enter the old passphrase to unlock the existing key. Now do
 <programlisting>