You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9-9
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ This repository contains a collection of mbed TLS example applications based on
5
5
# Getting started
6
6
7
7
## Required hardware
8
-
* An [FRDM-K64F](http://developer.mbed.org/platforms/FRDM-K64F/) development board.
8
+
* An [FRDM-K64F](http://os.mbed.com/platforms/FRDM-K64F/) development board.
9
9
* A micro-USB cable.
10
10
11
11
### Other hardware
@@ -18,13 +18,13 @@ If your board has no hardware entropy source or its entropy source is not integr
18
18
19
19
## Required software
20
20
*[mbed CLI](https://github.com/ARMmbed/mbed-cli) - to build the example program. To learn how to build mbed OS applications with mbed CLI, see the [user guide](https://github.com/ARMmbed/mbed-cli/blob/master/README.md)
21
-
*[Serial port monitor](https://developer.mbed.org/handbook/SerialPC#host-interface-and-terminal-applications).
21
+
*[Serial port monitor](https://os.mbed.com/handbook/SerialPC#host-interface-and-terminal-applications).
22
22
23
-
An alternative to mbed CLI is to use the [mbed Online Compiler](https://developer.mbed.org/compiler/). In this case, you need to import the example projects from [mbed developer](https://developer.mbed.org/) to your mbed Online Compiler session using the links below:
An alternative to mbed CLI is to use the [mbed Online Compiler](https://os.mbed.com/compiler/). In this case, you need to import the example projects from [mbed developer](https://os.mbed.com/) to your mbed Online Compiler session using the links below:
@@ -53,9 +53,9 @@ Please browse the subdirectories for specific documentation.
53
53
* [authcrypt](./authcrypt/README.md): performs authenticated encryption and authenticated decryption of a buffer.
54
54
* [benchmark](./benchmark/README.md): benchmarks the various cryptographic primitives offered by mbed TLS.
55
55
* [hashing](./hashing/README.md): performs hashing of a buffer with SHA-256 using various APIs.
56
-
* [tls-client](./tls-client/README.md): downloads a file from an HTTPS server (developer.mbed.org) and looks for a specific string in that file.
56
+
* [tls-client](./tls-client/README.md): downloads a file from an HTTPS server (os.mbed.com) and looks for a specific string in that file.
57
57
58
-
The application prints debug messages over the serial port, so you can monitor its activity with a serial terminal emulator. Start the [serial terminal emulator](https://developer.mbed.org/handbook/Terminals) and connect to the [virtual serial port](https://developer.mbed.org/handbook/SerialPC#host-interface-and-terminal-applications) presented by FRDM-K64F. Use the following settings:
58
+
The application prints debug messages over the serial port, so you can monitor its activity with a serial terminal emulator. Start the [serial terminal emulator](https://os.mbed.com/handbook/Terminals) and connect to the [virtual serial port](https://os.mbed.com/handbook/SerialPC#host-interface-and-terminal-applications) presented by FRDM-K64F. Use the following settings:
Copy file name to clipboardExpand all lines: authcrypt/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This application performs authenticated encryption and authenticated decryption
6
6
7
7
Set up your environment if you have not done so already. For instructions, refer to the [main readme](../README.md).
8
8
9
-
You can also compile this example with the [mbed Online Compiler](https://developer.mbed.org/compiler/) by using [this project](https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-tls-authcrypt).
9
+
You can also compile this example with the [mbed Online Compiler](https://os.mbed.com/compiler/) by using [this project](https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-authcrypt).
Copy file name to clipboardExpand all lines: benchmark/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This application benchmarks the various cryptographic primitives offered by mbed
6
6
7
7
Set up your environment if you have not done so already. For instructions, refer to the [main readme](../README.md).
8
8
9
-
You can also compile this example with the [mbed Online Compiler](https://developer.mbed.org/compiler/) by using [this project](https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-tls-benchmark).
9
+
You can also compile this example with the [mbed Online Compiler](https://os.mbed.com/compiler/) by using [this project](https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-benchmark).
Copy file name to clipboardExpand all lines: hashing/README.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ This application performs hashing of a buffer with SHA-256 using various APIs. I
6
6
7
7
Set up your environment if you have not done so already. For instructions, refer to the [main readme](../README.md).
8
8
9
-
You can also compile this example with the [mbed Online Compiler](https://developer.mbed.org/compiler/) by using [this project](https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-tls-hashing).
9
+
You can also compile this example with the [mbed Online Compiler](https://os.mbed.com/compiler/) by using [this project](https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-hashing).
Copy file name to clipboardExpand all lines: tls-client/README.md
+16-17
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,20 @@
1
1
# HTTPS File Download Example for TLS Client on mbed OS
2
2
3
-
This application downloads a file from an HTTPS server (developer.mbed.org) and looks for a specific string in that file.
3
+
This application downloads a file from an HTTPS server (os.mbed.com) and looks for a specific string in that file.
4
4
5
5
## Getting started
6
6
7
7
Set up your environment if you have not done so already. For instructions, refer to the [main readme](../README.md).
8
8
9
-
You can also compile this example with the [mbed Online Compiler](https://developer.mbed.org/compiler/) by using [this project](https://developer.mbed.org/teams/mbed-os-examples/code/mbed-os-example-tls-tls-client).
9
+
You can also compile this example with the [mbed Online Compiler](https://os.mbed.com/compiler/) by using [this project](https://os.mbed.com/teams/mbed-os-examples/code/mbed-os-example-tls-tls-client).
10
10
11
11
## Required hardware
12
12
13
13
This example also requires an Ethernet cable and connection to the internet additional to the hardware requirements in the [main readme](../README.md).
14
14
15
15
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.
16
16
17
-
To learn why entropy is required, read the [TLS Porting guide](https://docs.mbed.com/docs/mbed-os-handbook/en/5.2/advanced/tls_porting/).
17
+
To learn why entropy is required, read the [TLS Porting guide](https://docs.mbed.com/docs/mbed-os-handbook/en/latest/advanced/tls_porting/).
18
18
19
19
## Monitoring the application
20
20
@@ -24,17 +24,17 @@ The output in the terminal window should be similar to this:
24
24
25
25
```
26
26
Using Ethernet LWIP
27
-
Client IP Address is 10.2.203.43
28
-
Connecting with developer.mbed.org
27
+
Client IP Address is 172.16.8.12
28
+
Connecting with os.mbed.com
29
29
Starting the TLS handshake...
30
-
TLS connection to developer.mbed.org established
30
+
TLS connection to os.mbed.com established
31
31
Server certificate:
32
32
cert. version : 3
33
-
serial number : 11:21:B8:47:9B:21:6C:B1:C6:AF:BC:5D:0C:19:52:DC:D7:C3
33
+
serial number : 65:7B:6D:8D:15:A5:B6:86:87:6B:5E:BC
34
34
issuer name : C=BE, O=GlobalSign nv-sa, CN=GlobalSign Organization Validation CA - SHA256 - G2
35
35
subject name : C=GB, ST=Cambridgeshire, L=Cambridge, O=ARM Ltd, CN=*.mbed.com
36
-
issued on : 2016-03-03 12:26:08
37
-
expires on : 2017-04-05 10:31:02
36
+
issued on : 2017-04-03 13:54:02
37
+
expires on : 2018-05-06 10:31:02
38
38
signed using : RSA with SHA-256
39
39
RSA key size : 2048 bits
40
40
basic constraints : CA=false
@@ -43,23 +43,22 @@ Server certificate:
43
43
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
@@ -81,9 +80,9 @@ To print out more debug information about the TLS connection, edit the file `mai
81
80
The TLS connection can fail with an error similar to:
82
81
83
82
mbedtls_ssl_write() failed: -0x2700 (-9984): X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
84
-
Failed to fetch /media/uploads/mbed_official/hello.txt from developer.mbed.org:443
83
+
Failed to fetch /media/uploads/mbed_official/hello.txt from os.mbed.com:443
85
84
86
-
This probably means you need to update the contents of the `SSL_CA_PEM` constant (this can happen if you modify `HTTPS_SERVER_NAME`, or when `developer.mbed.org` switches to a new CA when updating its certificate).
85
+
This probably means you need to update the contents of the `SSL_CA_PEM` constant (this can happen if you modify `HTTPS_SERVER_NAME`, or when `os.mbed.com` switches to a new CA when updating its certificate).
87
86
88
87
Another possible reason for this error is a proxy providing a different certificate. Proxies can be used in some network configurations or for performing man-in-the-middle attacks. If you choose to ignore this error and proceed with the connection anyway, you can change the definition of `UNSAFE` near the top of the file from 0 to 1.
0 commit comments