This program will demonstrate how to upload CA Lists to use in support of verify peer. The uploaded information is stored in the onchip flash memory using the standard file system. The serial port provides a debug menu.
If CA's are added to the list after a connection has already been established, the device will need to be rebooted before they can be used.
HOW TO BUILD THIS APPLICATION:
This application requires a few items to be configured in NBEclipse or your command line makefile.
Enable SSL by editing .h, and uncomment the following lines to enable SSL:
#define NB_SSL_SUPPORTED ( 1 )
Rebuild the system libraries. In NBEclipse, select
NBEclipse -> Rebuild All System Files
from the main menu bar.
Modify the "Memory Range" based on the "COMPCODEFLAGS" information in the project's "nbfactory.h" header file. The range used depends on the platform. For example, the SB70LC would change from this:
0xFFC08000 0xFFC80000
to this:
0xFFC08000 0xFFC70000
which specifies 10000 hex (64k) to the file system, and the rest to to the application.