From 8dfd9b573320fca7ebed45d4e223950d528c07c5 Mon Sep 17 00:00:00 2001 From: Klaas Schoute Date: Tue, 6 Nov 2018 08:10:21 +0100 Subject: [PATCH] Update Certificate component configuration (#7381) --- source/_docs/mqtt/certificate.markdown | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/source/_docs/mqtt/certificate.markdown b/source/_docs/mqtt/certificate.markdown index 252e0a5160a..f673741c245 100644 --- a/source/_docs/mqtt/certificate.markdown +++ b/source/_docs/mqtt/certificate.markdown @@ -20,9 +20,17 @@ mqtt: certificate: /home/paulus/dev/addtrustexternalcaroot.crt ``` -Configuration variables: - -- **certificate** (*Optional*): 'auto' or the certificate authority certificate file that is to be treated as trusted by this client. 'auto' uses the bundled certificates. If a file is specified the file should contain the root certificate of the certificate authority that signed your broker's certificate, but may contain multiple certificates. Example: `/home/user/identrust-root.pem` -- **client_key** (*Optional*): Client key, eg. `/home/user/owntracks/cookie.key`. -- **client_cert** (*Optional*): Client certificate, eg. `/home/user/owntracks/cookie.crt`. - +{% configuration %} +certificate: + description: "'auto' or the certificate authority certificate file that is to be treated as trusted by this client. 'auto' uses the bundled certificates. If a file is specified the file should contain the root certificate of the certificate authority that signed your broker's certificate, but may contain multiple certificates. Example: `/home/user/identrust-root.pem`" + required: false + type: string +client_key: + description: Client key, e.g., `/home/user/owntracks/cookie.key`. + required: false + type: string +client_cert: + description: Client certificate, e.g., `/home/user/owntracks/cookie.crt`. + required: false + type: string +{% endconfiguration %}