Part Number: CC3551E
I have been using network_terminal recently to test the enterprise encryption functionality, but I am encountering some issues. I hope to get your help. The problem is described as follows:
-
On Linux (Ubuntu), I used OpenSSL to generate the certificate files for the RADIUS server and the client with the following steps:
openssl genrsa -out ca.key 2048 openssl req -x509 -new -nodes -key ca.key -sha256 -days 3650 -out ca.crt openssl genrsa -out server.key 2048 openssl req -new -key server.key -out server.csr openssl x509 -req -in server.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out server.crt -days 3650 -sha256 openssl genrsa -out client.key 2048 openssl req -new -key client.key -out client.csr openssl x509 -req -in client.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out client.crt -days 3650 -sha256I generated the mobile client certificate using the following command:
openssl pkcs12 -export -in client.crt -inkey client.key -out client.p12 -passout pass:123456 -
I have converted
ca.crt,client.crt, andclient.keyinto arrays and placed them intoca_certificate.h,client_certificate.h, andclient_private_key.h. -
When I disable the
FORCE_CA_CRT_VERIFYmacro, sending the commandwlan_connect -t WPA2 -e TLS -s "qwerty" -i "User_WiFi"can successfully establish a connection. However, when I enable#define FORCE_CA_CRT_VERIFYto enable CA certificate verification, the connection fails, and the CC3551E returns the following logs:
Meanwhile, the RADIUS server shows the following error:

The same certificates work fine when tested on an Android phone without any issues. Could you please help me check what might be causing this? Did I do something wrong? Thank you!