HTTPS DFOTA update BG95

Hi Quectel lovers:-)

I work wit a Quectel BG95 and I will implement update over the air. I have the following problem:

With QFOTADL I can update the BG95 firmware:
AT+QFOTADL=“http://www.mysite.nl:80/Update_BG95M3LAR02A03_01.017.01.017-R02A03_01.009.01.009.bin
this works fine, but I will do it with HTTPS.

But when I try it with HTTPS:
AT+QFOTADL=“https://www.mysite.nl:443/Update_BG95M3LAR02A03_01.017.01.017-R02A03_01.009.01.009.bin
The BG95 returns error 703 Request failed
+QIND: “FOTA”,“HTTPEND”,703

I have a Certificate loaded:
AT+QFLST=“eufs:/datatx/*”

+QFLST: “EUFS:config_tcp_tick_sleep_time”,3
+QFLST: “EUFS:fota_cacert.pem”,1330
+QFLST: “EUFS:lwm2m/”,2
+QFLS input
T: “EUFS:private/”,3
+QFLST: “EUFS:ssl/”,2
+QFLST: “EUFS:upgrade_efs/”,2
+QFLST: “EUFS:upgrade_nand/”,2

Does anyone here know the solution?

Regards Rob

Hello Rob,

  1. Firstly, please be sure that you can download delta file though website.
  2. CA, Client certification, client private key are uploaded to UFS.
  3. AT+QCFGEXT=“fota_apn” to check APN if configured.

B R
Linkin WANG

  1. Yes, no problem to download the file from the website.
  2. I have only a CA, no client cert and private key, is that a problem?
  3. AT+QCFGEXT=“fota_apn” returns +QCFGEXT: “fota_apn”,0,“FIXEDIP.M2M”,“”,“”
    FIXEDIP.M2M is the APN from the provider (fixed IP KPN Netherlands)

Hi Rbo,

Sorry for late response !
No client cert and private key might cause download failed.
Could you please try with HTTP? if works fine, should be caused by no client cert and key.

B R
Linkin WANG

No problem!
with HTTP it works fine.
I’m going to test it with the client certificate and private key.

Rob