From 0ac8cf4e1cb919a8f1a3268e3c26339faa5b43c1 Mon Sep 17 00:00:00 2001 From: Ron Eldor Date: Mon, 14 Jan 2019 12:00:08 -0600 Subject: [PATCH 1/2] Remove mention of EasyConnect Update the tls-client application `README.md` as it mentions EasyConnect, and it is not true anymore. --- tls-client/README.md | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) diff --git a/tls-client/README.md b/tls-client/README.md index 046243217..a64f844c1 100644 --- a/tls-client/README.md +++ b/tls-client/README.md @@ -11,7 +11,7 @@ You can also compile this example with the [Mbed Online Compiler](https://os.mbe ## Requirements This example uses by default an Ethernet connection to the internet. -It's possible to switch to another network interface by using [Easy Connect](https://github.com/ARMmbed/easy-connect/blob/master/README.md). The [Mbed OS Example Client](https://github.com/ARMmbed/mbed-os-example-client#application-setup) application shows an example of how to configure other network interfaces. +It's possible to switch to another network interface by using [the Mbed OS NetworkInterface](https://os.mbed.com/docs/latest/apis/network-interfaces.html). The networking stack used in this example requires TLS functionality to be enabled on Mbed TLS. On devices where hardware entropy is not present, TLS is disabled by default. This would result in compile time or linking failures. @@ -25,41 +25,40 @@ The output in the terminal window should be similar to this: ``` Starting mbed-os-example-tls/tls-client -Using Mbed OS 5.6.3 -[EasyConnect] IPv4 mode +Using Mbed OS 5.11.1 Successfully connected to os.mbed.com at port 443 Starting the TLS handshake... Successfully completed the TLS handshake Server certificate: cert. version : 3 - serial number : 65:7B:6D:8D:15:A5:B6:86:87:6B:5E:BC - issuer name : C=BE, O=GlobalSign nv-sa, CN=GlobalSign Organization Validation CA - SHA256 - G2 - subject name : C=GB, ST=Cambridgeshire, L=Cambridge, O=ARM Ltd, CN=*.mbed.com - issued on : 2017-04-03 13:54:02 - expires on : 2018-05-06 10:31:02 + serial number : 0F:22:3C:45:F9:9B:25:DA:B5:A0:E9:E4:C3:F9:5F:9D + issuer name : C=US, O=Amazon, OU=Server CA 1B, CN=Amazon + subject name : CN=mbed.com + issued on : 2018-03-16 00:00:00 + expires on : 2019-04-16 12:00:00 signed using : RSA with SHA-256 RSA key size : 2048 bits basic constraints : CA=false - subject alt name : *.mbed.com, mbed.org, *.mbed.org, mbed.com + subject alt name : mbed.com, *.mbed.com, mbed.org, *.mbed.org key usage : Digital Signature, Key Encipherment ext key usage : TLS Web Server Authentication, TLS Web Client Authentication Certificate verification passed Established TLS connection to os.mbed.com -HTTP: Received 365 chars from server +HTTP: Received 320 chars from server HTTP: Received '200 OK' status ... OK HTTP: Received message: HTTP/1.1 200 OK -Server: nginx/1.11.10 -Date: Wed, 08 Nov 2017 09:07:59 GMT +Accept-Ranges: bytes +Cache-Control: max-age=36000 Content-Type: text/plain +Date: Thu, 10 Jan 2019 13:45:27 GMT +ETag: "5bf0036d-e" +Expires: Thu, 10 Jan 2019 23:45:27 GMT +Last-Modified: Sat, 17 Nov 2018 12:02:53 GMT +Server: nginx/1.15.3 Content-Length: 14 Connection: keep-alive -Last-Modified: Fri, 27 Jul 2012 13:30:34 GMT -Accept-Ranges: bytes -Cache-Control: max-age=36000 -Expires: Wed, 08 Nov 2017 19:07:59 GMT -Strict-Transport-Security: max-age=31536000; includeSubdomains Hello world! From 9d4ab9ca99b5b495117027703d0c2b46d66e656d Mon Sep 17 00:00:00 2001 From: Ron Eldor Date: Mon, 14 Jan 2019 12:01:03 -0600 Subject: [PATCH 2/2] Update links Update links to a current location. --- tls-client/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tls-client/README.md b/tls-client/README.md index a64f844c1..2d76843b6 100644 --- a/tls-client/README.md +++ b/tls-client/README.md @@ -15,7 +15,7 @@ It's possible to switch to another network interface by using [the Mbed OS Netwo The networking stack used in this example requires TLS functionality to be enabled on Mbed TLS. On devices where hardware entropy is not present, TLS is disabled by default. This would result in compile time or linking failures. -To learn why entropy is required, read the [TLS Porting guide](https://docs.mbed.com/docs/mbed-os-handbook/en/latest/advanced/tls_porting/). +To learn why entropy is required, read the [entropy Porting guide](https://os.mbed.com/docs/latest/porting/entropy-sources.html). ## Monitoring the application