How to Update PKI Configuration

[中文]

This document describes how to update the default PKI configuration provided by ESP-AT. The PKI configuration includes certificates and keys for TLS clients, TLS servers, MQTT clients, and WPA2 Enterprise clients.

Introduction to PKI Configuration

The source file for the current default PKI configuration is located in the customized_partitions/raw_data directory, as shown below:

Function

Current Configuration

Related AT Commands

TLS client

Set 0 client configuration

Set 1 client configuration

TLS server

AT+CIPSERVER

MQTT client

AT+MQTTUSERCFG

WebSocket client

Set 0 client configuration

Set 1 client configuration

AT+WSCFG

HTTP client

Set 0 client configuration

Set 1 client configuration

AT+HTTPCFG

WPA2 Enterprise client

AT+CWJEAP

Please modify the PKI configurations according to your own needs and generate mfg_nvs.bin file.

Generate mfg_nvs.bin

Please refer to Generate mfg_nvs.bin document to generate the mfg_nvs.bin file with the PKI configurations.

Download mfg_nvs.bin

Please refer to Download mfg_nvs.bin document.