Make it much clearer how to enable TLS mode for clients.

Closes #776.
This commit is contained in:
Roger A. Light 2018-04-11 09:57:53 +01:00
parent 342cc93e3b
commit ba3b41ef60
2 changed files with 26 additions and 0 deletions

View File

@ -90,6 +90,19 @@
exit.</para>
</refsect1>
<refsect1>
<title>Encrypted Connections</title>
<para><command>mosquitto_pub</command> supports TLS encrypted
connections. It is strongly recommended that you use an encrypted
connection for anything more than the most basic setup.</para>
<para>To enable TLS connections when using x509 certificates, one of
either <option>--cafile</option> or <option>--capath</option> must
be provided as an option.</para>
<para>To enable TLS connections when using TLS-PSK, you must use the
<option>--psk</option> and the <option>--psk-identity</option>
options.</para>
</refsect1>
<refsect1>
<title>Options</title>
<para>The options below may be given on the command line, but may also

View File

@ -97,6 +97,19 @@
clean session set to false. </para>
</refsect1>
<refsect1>
<title>Encrypted Connections</title>
<para><command>mosquitto_pub</command> supports TLS encrypted
connections. It is strongly recommended that you use an encrypted
connection for anything more than the most basic setup.</para>
<para>To enable TLS connections when using x509 certificates, one of
either <option>--cafile</option> or <option>--capath</option> must
be provided as an option.</para>
<para>To enable TLS connections when using TLS-PSK, you must use the
<option>--psk</option> and the <option>--psk-identity</option>
options.</para>
</refsect1>
<refsect1>
<title>Options</title>
<para>The options below may be given on the command line, but may also