mirror of
https://repo.or.cz/socat.git
synced 2025-07-19 17:32:57 +00:00
Fixed a lot of typos in docu
This commit is contained in:
parent
ec0e1ca20c
commit
689b133817
4 changed files with 13 additions and 9 deletions
|
@ -32,7 +32,7 @@ In this docu we only use self signed certificates for the sake of simplicity.
|
|||
</p>
|
||||
<p>We assume that the server host is called <tt>server.domain.org</tt> and the
|
||||
server process uses port 4433. To keep it simple, we use a very simple server
|
||||
funtionality that just echos data (<tt>echo</tt>), and <tt>stdio</tt> on the
|
||||
functionality that just echos data (<tt>echo</tt>), and <tt>stdio</tt> on the
|
||||
client.</p>
|
||||
<h3>Generate a server certificate</h3>
|
||||
|
||||
|
@ -77,7 +77,7 @@ server.</p>
|
|||
|
||||
<p>Instead of using a tcp-listen (tcp-l) address, we use openssl-listen (ssl-l)
|
||||
for the server, <tt>cert=...</tt> tells the program to the file containing its
|
||||
ceritificate and private key, and <tt>cafile=...</tt> points to the file
|
||||
certificate and private key, and <tt>cafile=...</tt> points to the file
|
||||
containing the certificate of the peer; we trust clients only if they can proof
|
||||
that they have the related private key (OpenSSL handles this for us):<p>
|
||||
<span class="shell">socat \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue