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-8Lines changed: 9 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ This application downloads a file from an HTTPS server (developer.mbed.org) and
9
9
* An Ethernet cable and connection to the internet.
10
10
11
11
## Required software
12
-
*[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)
12
+
*[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)
13
13
*[Serial port monitor](https://developer.mbed.org/handbook/SerialPC#host-interface-and-terminal-applications).
14
14
15
15
## Getting started
@@ -18,9 +18,9 @@ This application downloads a file from an HTTPS server (developer.mbed.org) and
18
18
19
19
2. Open a command line tool and navigate to the project’s directory.
20
20
21
-
3. Update mbed-os sources using the `mbed update` command.
21
+
3. Update `mbed-os` sources using the `mbed update` command.
22
22
23
-
4. Build the application by selecting the hardware board and build the toolchain using the command `mbed compile -m K64F -t GCC_ARM -c -j0`. mbed-cli builds a binary file under the project’s `.build` directory.
23
+
4. Build the application by selecting the board and build toolchain using the command `mbed compile -m K64F -t GCC_ARM -c -j0`. mbed-cli builds a binary file under the project’s `.build` directory.
24
24
25
25
5. Connect the FRDM-K64F to the internet using the Ethernet cable.
26
26
@@ -40,7 +40,7 @@ The application prints debug messages over the serial port, so you can monitor i
40
40
* 8N1.
41
41
* No flow control.
42
42
43
-
After pressing the **RESET** button on the board, the output in the terminal window should look similar to this:
43
+
After pressing the **RESET** button on the board, the output in the terminal window should be similar to this:
44
44
45
45
```
46
46
{{timeout;120}}
@@ -110,15 +110,16 @@ To print out more debug information about the TLS connection, edit the file `sou
110
110
* Level 4 (the maximum) includes full binary dumps of the packets.
111
111
112
112
113
-
If the TLS connection is failing with an error similar to:
113
+
The TLS connection can fail with an error similar to:
114
114
115
115
```
116
116
mbedtls_ssl_write() failed: -0x2700 (-9984): X509 - Certificate verification failed, e.g. CRL, CA or signature check failed
117
117
Failed to fetch /media/uploads/mbed_official/hello.txt from developer.mbed.org:443
118
118
```
119
119
120
-
it 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).
120
+
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).
121
121
122
-
Another reason for this error may be 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.
122
+
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.
123
+
124
+
**Warning:** this removes all security against a possible active attacker, so use at your own risk or for debugging only!
123
125
124
-
**Warning:** this removes all security against a possible active attacker, therefore use at your own risk, or for debugging only!
0 commit comments