Rc7630 https

Hi everybody,

I’m trying to connect my RC7630 to an HTTPS server but I still receive an error code (+KHTTP_ERROR: 1,5).
Here are the logs of my test:

at+cgdcont?

+CGDCONT: 1,“IP”,“internet.lguplus.co.kr”,“0.0.0.0”,0,0,0,0
+CGDCONT: 2,“IPV4V6”,“ims”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0
+CGDCONT: 3,“IPV4V6”,“emergency”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,1
+CGDCONT: 4,“IPV4V6”,“IMS”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”,0,0,0,0

OK

AT+KCNXCFG=1,“GPRS”,“internet.lguplus.co.kr”

OK

AT+KHTTPCFG=1,”www.googleapis.com/geolocation/v1/geolocate?key=GOOGLE_AUTH_KEY”,443,2,,,,,0

+KHTTPCFG: 1

OK

+KCNX_IND: 1,1,0

+KHTTP_ERROR: 1,5

Thanks.

Is there anyone who can help with this issue ?

Hi seokheeya,

What firmware RC7630 version are you using?
ATI3
ATI8
You are configuring http_version= 2 (HTTP 1.1 over TLS (HTTPS) in your log file.
To perform HTTPS TLS connection to your HTTPS server, you need to configure the TLS version and store CA, Client certificate, client key, consistent clock to the module. These certificates, keys are matched with the server.

You can refer to the log file with an internal server at my side. https_TLS.txt (8.5 KB)

Thank you for your help.

I would appreciate it if you could tell me how and where to receive these files for googleapis.com.

Thanks.
( ca cert, client cert, client key )

Hi seokheeya,

Please contact google API for server support. (ca cert, client cert, client key)

Thank you for response.

The site (www.gooleapis.com) I am testing does not check authentication.
Just connect using the KEY provided by Googleapis. The key was confirmed to be normal.
Even in this case, do I need CERT FILE?
For reference, when using other LTE module, the cert file was not used.

Thanks.

Hi seokheeya,

If the site does not check authentication, you don’t need the cert file.