Unable to Establish Secure HTTPS/FTPS Connection Using LARA-R6401 ("Cannot Set Secure Socket")

Module: u-blox LARA-R6401 (SPARKFUN LTE STICK)

Network: Jio India

Firmware Version: 2.14

Hi everyone,

I’m facing an issue while establishing secure HTTP (HTTPS) and FTP (FTPS) connections on the LARA-R6401 module. After setting up all required parameters, I consistently receive the following errors:

  • HTTPS: Error code 11 – server connection error
  • FTPS: Error code 63 – Cannot set secure socket

Debug Steps Taken

  • Confirmed root certificate is imported successfully with valid base64 and no PEM headers
  • Tried multiple known-good HTTPS and FTPS servers
  • Non-secure HTTP and FTP operations succeed
  • PDP context successfully shows IP addresses (IPv4 & IPv6)
  • FTPS and HTTPS fail consistently when secure option is enabled
  • Attempted different SSL profile IDs, DNS hostnames, and APNs

Could you please advise:

  1. Does LARA-R6401 fully support secure FTP and HTTPS over IPv4/IPv6 in the latest firmware?
  2. Is there a specific CA bundle required for T-Mobile USA networks?
  3. Are the errors indicative of a firmware issue, or a module limitation?

I’ve also reviewed the official u-blox AT command examples from this document:

content.u-blox.com

AT-CommandsExamples_AppNote_%28UBX-13001820%29.pdf

2.87 MB

Many of the same errors are mentioned in this , but unfortunately, no resolutions are provided.

Any insights, suggestions, or working configurations would be greatly appreciated.

I might suggest trying a different SIM provider to rule out that as the cause

Thank you for replying, will try that.