Skip to content

MQTT SSL AT Command throughing error. #963

@SIXNikunjPatel

Description

@SIXNikunjPatel

Answers checklist

  • I have read the documentation ESP-AT Programming Guide and the issue is not addressed there.
  • I have used the latest released firmware or have updated my ESP-AT branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

AT+GMR

Hi,
I am using the ESP8684H2 AT Command firmware for my application. I would like to use MQTT over SSL in my setup, but whenever I send MQTT SSL-related commands through the serial UART, I always receive an ERROR response.

Could you please provide the required menuconfig settings to enable SSL support? Additionally, I would appreciate it if you could share the documentation for MQTT SSL AT Commands.

Download Flash Firmware Link https://docs.espressif.com/projects/esp ... le_it.html

LOG:

AT+GMR
AT version:4.2.0.0-dev(s-8a71d66 - ESP32C2 - Jul 30 2025 07:10:44)
SDK version:v5.4.1-643-g8ad0d3d8f2-dirty
compile time(f57d966):Aug 21 2025 15:33:30
Bin version:v4.2.0.0-dev(ESP32C2-2MB)

OK

AT+CERTADD

ERROR
AT+SSLx

ERROR
AT+SSLx?

ERROR
AT+SSLx=?

ERROR
AT+CERTADD?

ERROR
AT+CERTADD=?

ERROR

I think this build does not support SSL. Please provide me the steps to enable SSL in menuconfig, or share the latest SSL-supported build link for my ESP32 chip.

ESP-AT Firmware Source

Download Flash Firmware Link https://docs.espressif.com/projects/esp ... le_it.html

Hardware Information

ESP32C2-2MB

Power Supply used

External 3.3V

What is the expected behavior?

MQTT SSL Relatted AT Command Throughing ERROR

What is the actual behavior?

AT+GMR
AT version:4.2.0.0-dev(s-8a71d66 - ESP32C2 - Jul 30 2025 07:10:44)
SDK version:v5.4.1-643-g8ad0d3d8f2-dirty
compile time(f57d9667d3dcc5a226f336dc50f82734fcf77682):Aug 21 2025 15:33:30
Bin version:v4.2.0.0-dev(ESP32C2-2MB)

OK

AT+CERTADD

ERROR
AT+SSLx

ERROR
AT+SSLx?

ERROR
AT+SSLx=?

ERROR
AT+CERTADD?

ERROR
AT+CERTADD=?

ERROR

Probability of recurrence

When Try Connection SSL With MQTT

AT+SYSRAM?

AT+SYSRAM?
+SYSRAM:97428,92556
OK

Steps to reproduce

I am powering the ESP-C2 chip with an external 3.3 V supply and accessing it directly through the command window using AT commands.

AT command port output

AT+CERTADD

ERROR
AT+SSLx

ERROR
AT+SSLx?

ERROR
AT+SSLx=?

ERROR
AT+CERTADD?

ERROR
AT+CERTADD=?

ERROR

AT log port output

AT+GMR
AT version:4.2.0.0-dev(s-8a71d66 - ESP32C2 - Jul 30 2025 07:10:44)
SDK version:v5.4.1-643-g8ad0d3d8f2-dirty
compile time(https://github.com/espressif/esp-at/commit/f57d9667d3dcc5a226f336dc50f82734fcf77682):Aug 21 2025 15:33:30
Bin version:v4.2.0.0-dev(ESP32C2-2MB)

OK

AT+CERTADD

ERROR
AT+SSLx

ERROR
AT+SSLx?

ERROR
AT+SSLx=?

ERROR
AT+CERTADD?

ERROR
AT+CERTADD=?

ERROR

More Information.

i tried with other module but same firmnware bin file i used.
AT+GMR
AT version:4.2.0.0-dev(s-8a71d66 - ESP32C2 - Jul 30 2025 07:10:44)
SDK version:v5.4.1-643-g8ad0d3d8f2-dirty
compile time(f57d9667d3dcc5a226f336dc50f82734fcf77682):Aug 21 2025 15:33:30
Bin version:v4.2.0.0-dev(ESP32C2-2MB)

OK

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions