Note in the man pages that SIGHUP reloads TLS certificates.

Closes #2037. Thanks to Greg Troxel.
This commit is contained in:
Roger Light 2021-01-25 23:09:03 +00:00
parent 706a1f3f29
commit ad9a78dfc3
3 changed files with 15 additions and 0 deletions

View File

@ -14,6 +14,7 @@ Broker:
a message with empty topic and topic alias set, but the topic alias hadn't
already been configured on the broker. This has been fixed to send a
protocol error, as per section 3.3.4 of the specification.
- Note in the man pages that SIGHUP reloads TLS certificates. Closes #2037.
Apps:
- Allow command line arguments to override config file options in

View File

@ -431,6 +431,8 @@
be reloaded without restarting. See
<citerefentry><refentrytitle>mosquitto.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for details.</para>
<para>If TLS certificates are in use, then mosquitto will
also reload certificate on receiving a SIGHUP.</para>
</listitem>
</varlistentry>
<varlistentry>

View File

@ -1275,6 +1275,12 @@ log_timestamp_format %Y-%m-%dT%H:%M:%S
option and <option>keyfile</option> must be present
to enable certificate based TLS encryption.
</para>
<para>
The certificate pointed to by this option will be
reloaded when Mosquitto receives a SIGHUP signal.
This can be used to load new certificates prior to
the existing ones expiring.
</para>
</listitem>
</varlistentry>
<varlistentry>
@ -1328,6 +1334,12 @@ openssl dhparam -out dhparam.pem 2048</programlisting>
option and <option>certfile</option> must be present
to enable certificate based TLS encryption.
</para>
<para>
The private key pointed to by this option will be
reloaded when Mosquitto receives a SIGHUP signal.
This can be used to load new keys prior to
the existing ones expiring.
</para>
</listitem>
</varlistentry>
<varlistentry>