How to Download Root Certificates¶
Description¶
The WINC saves the Root certificates inside the serial Flash in 4K sector (the maximum size of all certificates in Flash must be less than 4K). The following procedure explains how to download the Root certificates.
Tip
Before you start download, see Prepare for Setup for prerequisites.
Steps¶
Perform the following steps to download Root certificates:
-
Program Pitaya Go with the serial bridge firmware: serial_bridge_usb_pitaya_go_vx.x.x.hex.
-
Connect Pitaya Go to a Windows computer. Check the comport number of the device detected.
-
Paste new Root certificates in the
utils\wifi\Tools\root_certificate_downloader\binary
folder. -
Open CMD and navigate to the directory with root_certificate_downloader.exe:
cd .\pitaya-go\utils\wifi\Tools\root_certificate_downloader\debug_uart\
-
Run
RootCertDownload.bat
script to download all Root certificates.whereRootCertDownload.bat {comport}
{comport}
is the number of the serialport (e.g.36
representsCOM36
). -
After a few seconds, the following message appears to indicate that the root certificates are successfully downloaded.
Note
If certificate upload fails with (ERROR) Root Certificate Flash is Full, that is, the allocated memory in SPI flash on ATWINC1500B for certificates is full. Try after removing one or more certificates from utils\wifi\Tools\root_certificate_downloader\binary
.
Create an Issue¶
Interested in contributing to this project? Want to report a bug? Feel free to click here: