主要内容

Client key file

Path to client key file

Since R2026a

Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / MQTT properties

Description

The Client key file parameter provides the path to the client key file for establishing a secure MQTT communication using SSL/TLS between a broker and a client. This parameter is located in the Hardware Implementation pane, in the Target hardware resources section, in the MQTT properties group. For more information about obtaining a key file, see Generate SSL/TLS Credentials for MQTT Broker Using OpenSSL.

Dependencies

To enable this parameter, set Hardware board to one of the following boards:

  • ESP32-WROVER (Arduino Compatible)

  • ESP32-WROOM (Arduino Compatible)

  • Raspberry Pi Pico W (Arduino Compatible)

Then set Encryption type to SSL/TLS and Broker service to ThingSpeak or Other.

Settings

client key file path

Default: <path to client key>

Programmatic Use

No programmatic use is available.

Version History

Introduced in R2026a