mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Doc: improve markup in self-signed certificate example.
This commit is contained in:
parent
a790ed9f69
commit
539f67012e
@ -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>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user