Path to the unencrypted PEM-encoded key file corresponding to B<CertificateFile>.
-=item B<TLSprotocol> I<protocol>
+=item B<TLSProtocol> I<protocol>
If configured, this specifies the string protocol version (e.g. tlsv1, tlsv1.2) to
use for the TLS connection to the broker. If not set a default version is used which
* CACert "ca.pem" Enables TLS if set
* CertificateFile "client-cert.pem" optional
* CertificateKeyFile "client-key.pem" optional
- * TLSprotocol "tlsv1.2" optional
+ * TLSProtocol "tlsv1.2" optional
* </Publish>
*/
static int mqtt_config_publisher (oconfig_item_t *ci)
cf_util_get_string (child, &conf->certificatefile);
else if (strcasecmp ("CertificateKeyFile", child->key) == 0)
cf_util_get_string (child, &conf->certificatekeyfile);
- else if (strcasecmp ("TLSprotocol", child->key) == 0)
+ else if (strcasecmp ("TLSProtocol", child->key) == 0)
cf_util_get_string (child, &conf->tlsprotocol);
else if (strcasecmp ("CipherSuite", child->key) == 0)
cf_util_get_string (child, &conf->ciphersuite);