Commit 539f6701 authored by Tom Lane's avatar Tom Lane

Doc: improve markup in self-signed certificate example.

parent a790ed9f
...@@ -2390,11 +2390,11 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433 ...@@ -2390,11 +2390,11 @@ pg_dumpall -p 5432 | psql -d postgres -p 5433
<para> <para>
To create a quick self-signed certificate for the server, valid for 365 To create a quick self-signed certificate for the server, valid for 365
days, use the following <productname>OpenSSL</productname> command, using days, use the following <productname>OpenSSL</productname> command,
the local host name in the subject argument: replacing <replaceable>yourdomain.com</> with the server's host name:
<programlisting> <programlisting>
openssl req -new -x509 -days 365 -nodes -text -out server.crt \ 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> </programlisting>
Then do: Then do:
<programlisting> <programlisting>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment