Skip to content

Commit

Permalink
[SSL] Update MQTT cert size (#1600)
Browse files Browse the repository at this point in the history
To accommodate larger certificates
  • Loading branch information
1technophile authored Apr 9, 2023
1 parent 4e51d9e commit 5b2075d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.ino
Original file line number Diff line number Diff line change
Expand Up @@ -1377,7 +1377,7 @@ void setup_wifimanager(bool reset_settings) {
WiFiManagerParameter custom_mqtt_pass("pass", "mqtt pass", mqtt_pass, parameters_size);
WiFiManagerParameter custom_mqtt_topic("topic", "mqtt base topic", mqtt_topic, mqtt_topic_max_size);
WiFiManagerParameter custom_mqtt_secure("secure", "mqtt secure", "1", 2, mqtt_secure ? "type=\"checkbox\" checked" : "type=\"checkbox\"");
WiFiManagerParameter custom_mqtt_cert("cert", "<br/>mqtt broker cert", mqtt_cert.c_str(), 2048);
WiFiManagerParameter custom_mqtt_cert("cert", "<br/>mqtt broker cert", mqtt_cert.c_str(), 4096);
WiFiManagerParameter custom_gateway_name("name", "gateway name", gateway_name, parameters_size);
WiFiManagerParameter custom_ota_pass("ota", "ota password", ota_pass, parameters_size);
# endif
Expand Down

0 comments on commit 5b2075d

Please sign in to comment.