# SSL Support on HL78

**URL:** <https://forum.sierrawireless.com/t/ssl-support-on-hl78/16228>\
**Category:** HL78\
**Created:** [April 29, 2019, 1:36pm UTC](https://forum.sierrawireless.com/t/ssl-support-on-hl78/16228 "2019-04-29T13:36:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tarek82mmm](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@tarek82mmm](https://forum.sierrawireless.com/u/tarek82mmm)\
**Post date:** [April 29, 2019, 1:36pm UTC](https://forum.sierrawireless.com/t/ssl-support-on-hl78/16228/1 "2019-04-29T13:36:42Z")

</div>

the module gets stuck completely after running AT command AT+KTCPSTART=1  
I am trying to communicate over SSL socket (End to End) with HL78 development kit 5303247 Rev2 .  
-AT+KGSN=0  
+KGSN: 359416090195426  
OK

- AT+KGSN=3  
+KGSN: T6840487001310  
OK
- AT+CREG?  
+CREG: 1,5  
OK
- AT+CGDCONT?  
+CGDCONT: 1,“IP”,“lpwa.telia.iot”,0,0,0,0,0,0,  
OK
- AT+KCNXCFG?  
+KCNXCFG: 1,“GPRS”,“lpwa.telia.iot”,"","",“IPV4”,“0.0.0.0”,“0.0.0.0”,“0.0.0.0”,0  
OK
- AT+CGPADDR=1  
+CGPADDR: 1,“10.81.187.54”  
OK  
-AT+KSSLCRYPTO=1,1,1,32,0,4,1  
OK
- AT+KCERTSTORE=0,0  
CONNECT  
-----BEGIN CERTIFICATE-----  
MIIDxTCCAq2gAwIBAgIQAqxcJmoLQJuPC3nyrkYldzANBgkqhkiG9w0BAQUFADBs\*\*  
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3\*  
…… more data ……  
….  
+OkuE6N36B9K  
----END CERTIFICATE-------+++  
OK  
-AT+KTCPCFG=1,3,“166.40.179.11”,443,1  
+KTCPCFG: 1  
OK  
-AT+KTCPSTART=1  
Could you please check what is missing here?  
thanks

---

<div class="post-metadata">

**Author:** ![Sierra\_klin2](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/sierra_klin2/32/4769_2.png) [@Sierra\_klin2](https://forum.sierrawireless.com/u/Sierra_klin2)\
**Post date:** [May 5, 2019, 8:38am UTC](https://forum.sierrawireless.com/t/ssl-support-on-hl78/16228/2 "2019-05-05T08:38:14Z")

</div>

Hi,  
Please retest with the latest FW. and I suggest first to check AT+KTCPCNX=1. Here’s my log for your reference.

ATI3  
BHL7800.3.4.1.0.20190425  
OK  
AT+CGATT=0  
OK  
AT+KCNXCFG=1,“GPRS”,“CMIOT”  
OK  
AT+KCNXUP=1  
OK  
+KCNX\_IND: 1,4,1  
+KCNX\_IND: 1,1,0  
AT+KTCPCFG=1,3,“18.211.162.154”,443  
+KTCPCFG: 1  
OK  
AT+KTCPCNX=1  
OK  
+KTCP\_IND: 1,1  
AT+KTCPSND=1,75  
CONNECT  
GET / HTTP/1.1  
Accept: _/_  
Host: [httpbin.org](http://httpbin.org)  
Connection: Keep-Alive

–EOF–Pattern–  
OK  
+KTCP\_DATA: 1,1500  
AT+KTCPRCV=1,1500  
CONNECT  
HTTP/1.1 200 OK  
Access-Control-Allow-Credentials: true  
Access-Control-Allow-Origin: \*  
Content-Type: text/html; charset=utf-8  
Date: Sun, 05 May 2019 07:55:20 GMT  
Referrer-Policy: no-referrer-when-downgrade  
Server: nginx  
X-Content-Type-Options: nosniff  
X-Frame-Options: DENY  
X-XSS-Protection: 1; mode=block  
Content-Length: 9593  
Connection: keep-alive  
…  
OK

---

<div class="post-metadata">

**Author:** ![tarek82mmm](https://avatars.discourse-cdn.com/v4/letter/t/f07891/32.png) [@tarek82mmm](https://forum.sierrawireless.com/u/tarek82mmm)\
**Post date:** [May 21, 2019, 10:36am UTC](https://forum.sierrawireless.com/t/ssl-support-on-hl78/16228/4 "2019-05-21T10:36:13Z")

</div>

Hi,  
Thanks for your answer, I want to send the data(GET / POST) through a session and get the response immediately from the server (End to End Secured Connection).  
Anyway, I’ve upgraded the FW to BHL7800.3.4.1.2.20190509 and I finally got it working , I’ve followed the below AT commands :

-AT+CGATT=0

- AT+KCNXCFG=1,“GPRS”,“lpwa.telia.iot”

- AT+KCNXUP=1

-AT+KTCPCFG=1,3,“213.32.68.232”,443,1

+KTCPCFG: 1

OK

- AT+KTCPSTART=1

CONNECT

GET /mvio2-dgs/api/udp/status HTTP/1.1

Host: demo.iot4.biz

HTTP/1.1 200 200

Date: Tue, 21 May 2019 10:30:48 GMT

Server: Apache/2.4.10 (Debian)

Access-Control-Allow-Origin:

Access-Control-Expose-Headers: Access-Control-Allow-Origin,Access-Control-Allow-Credentials

Content-Type: application/json

Content-Length: 16

Cache-Control: private, no-cache, no-store, proxy-revalidate, no-transform

Pragma: no-cache

{“running”:true}

NO CARRIER

+KTCP\_NOTIF: 1,4

thanks for your support
