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>
|
||||
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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user