- mbedTLS/SSL_Server/Src/stm32f4xx_hal_timebase_tim.c HAL time base functions
- mbedTLS/SSL_Server/Src/system_stm32f4xx.c STM32 system clock configuration file
- mbedTLS/SSL_Server/Src/net_sockets.c the TCP/IP socket API implemented over the LwIP stack.
@note Because of the low RAM size on the ST32F4 family the mbedtls_config.h is not the full-featured configuration.It is instead based on the configuration provided by the "config-suite-b.h" under mbedTLS-2.4.0/configs.
This file is the minimal configuration required for the TLS NSA Suite B Profile RFC(6460).
https://tools.ietf.org/html/rfc6460. Thus to get this application working both the SSL_Server and SSL_Client need to be configured with the same profile.
@par Hardware and Software environment
- This application runs on STM32469/STM32479 Devices.
- This application has been tested with two scenarios.
- Using a Host PC as a client.
- using two STM32469I_EVAL boards the first as server, the second as client.
- Screnario 1:
- Remote PC Set-up
- Make sure that the PC is in the same local network as the baord.
- Web browser available on the PC.
- Screnario 2:
- a second STM32469I_EVAL running the "mdedTLS/SSL_Server" application
- STM32469I_EVAL Set-up
- Connect STM32469I_EVAL to your local network (through a straight ethernet cable).
@par How to use it ?
In order to make the program work, you must do the following :
- Open your preferred toolchain
- Rebuild all files and load your image into target memory
- Run the application
- Use Scenario 1 or Scenario 2 described above.
@Note: 1 When connecting to the board using a web Browser, make sure to type the URL as follows:
https://BOARD_IP_ADDRESS:SERVER_PORT
2 If using two boards for testing and the DHCP is enabled then the "SSL_Server" needs to be
run first, to get the board IP Address and use it in the "SSL_Client" application.
3 To avoid network issues please make sure to assign different MAC addresses for boards connected
to the same LAN. Edit the values MAC_ADDR0, MAC_ADDR1, MAC_ADDR2, MAC_ADDR3, MAC_ADDR4, MAC_ADDR5
in the file "stm32f4xx_hal_conf.h"
4 The HTML response may differ depending on the encryption method used between the server
and the client, this is highly depending on the mbedTLS configutation.