NetBurner 3.5.0
PDF Version |
|
HTTPS Server Example for multiple certificates
Supported Platforms: MODM7AE70, SBE70LC, MOD5441X, NANO54415, SBE70LC
This example creates a web page that can be viewed as normal or encrypted with SSL/TLS. An example certificate is included in DEVICE.CRT and DEVICE.KEY. Load these files on the flash card prior to the device booting up. Since this is an example cert, the web browser will display warning messages to this effect. For this example select the "continue to page" options to allow the HTTPS for a single session.
In addition this example illustrates how to have both a permanent compiled-in certificate and key, as well as one that can be loaded from an external Flash card using the EFFS FAT file system. If a certificate and key are present on the Flash card named DEVICE.CRT and DEVICE.KEY, they will be used instead of the local, compiled-in certificate and key.
If you are using NBEclipse, then you will also need to tell the linker to include the FatFile.a library. To do this, complete the following steps:
Example Features: