Doc: improve markup in self-signed certificate example.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Apr 2017 18:21:57 +0000 (14:21 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 18 Apr 2017 18:21:57 +0000 (14:21 -0400)
doc/src/sgml/runtime.sgml

index 6865b73011875623ed18fa7fe53fe6437d4bca91..6d57525515e5acf3726bf41902c1adc8b2b8f62a 100644 (file)
@@ -2390,11 +2390,11 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
 
    <para>
      To create a quick self-signed certificate for the server, valid for 365
-     days, use the following <productname>OpenSSL</productname> command, using
-     the local host name in the subject argument:
+     days, use the following <productname>OpenSSL</productname> command,
+     replacing <replaceable>yourdomain.com</> with the server's host name:
 <programlisting>
 openssl req -new -x509 -days 365 -nodes -text -out server.crt \
-  -keyout server.key -subj "/CN=yourdomain.com"
+  -keyout server.key -subj "/CN=<replaceable>yourdomain.com</>"
 </programlisting>
     Then do:
 <programlisting>