Other Parts Discussed in Thread: UNIFLASH, CC3200
Hello,
I am following the ent_wlan project to connect to a WPA2 Enterprise network, but am unable to establish a connection. I have successfully and correctly downloaded the Root CA Certificate in PEM format and verified that it is correct. I have flashed the certificate via UniFlash to /cert/ca.pem as instructed by the TI Wiki page. In main.c, I have changed the ENT_NAME (changed to 'ExampleNetwork', see below), USER_NAME (changed to 'username[AT]example.server.edu', and PASSWORD, and verified they are correct by testing them a computer. I have downloaded the latest ServicePack to the CC3200.
Below is some relevant information from where I downloaded the CA Root cert:
Wireless Name (SSID): ExampleNetwork Security Type: WPA2-Enterprise Encryption Type: AES (CCMP) EAP Method: EAP-TLS (or TLS) Root CA Certificate(s): Example Company Root CA I Server Name: radius.example.edu Client Certificate: username@example.server.edu Username: username@example.server.edu
I have specified the EAP method with the following:
eapParams.EapMethod = SL_ENT_EAP_METHOD_TTLS_TLS;
sl_WlanConnect() function returns 0, but SimpleLink never sets the flags for IS_CONNECTED() and IS_IP_ACQUIRED(). After several seconds of waiting a general event starts appearing:
[GENERAL EVENT] - ID=[-102] Sender=[5]
I am curious as to if or how I set the appropriate server, in this case 'radius.example.edu', and whether I should be setting the /cert/client.pem and /cert/private.key files through Uniflash. Along with the CA Root certificate I am also given the client certificate and private key as certificate.p12. I have converted these into the client cert (PEM formatted) and private key, and have included them through Uniflash, but to no avail.
Thank you for any help,
Tom