![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
This example show how to create a small TLS server using the TLS_cyassl library.
Dependencies: EthernetInterface8 TLS_cyassl mbed-rtos mbed
Once you launched this program on the mbed, create a small python script :
TLS client
import httplib conn = httplib.HTTPSConnection("10.2.200.35", 443) conn.request("GET", "/") r1 = conn.getresponse() print r1.status, r1.reason data = r1.read() print data
In the terminal, your mbed prints its own IP address. Replace 10.2.200.35 with the IP address of your mbed.
TLS_cyassl.lib@0:e9b7265b84af, 2013-09-18 (annotated)
- Committer:
- feb11
- Date:
- Wed Sep 18 09:21:51 2013 +0000
- Revision:
- 0:e9b7265b84af
initial import
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
feb11 | 0:e9b7265b84af | 1 | https://mbed.org/users/feb11/code/TLS_cyassl/#29069dd9abfc |