Chat freely about anything...

User avatar
By Grey Dziuba
#39744
chaeplin wrote:
Grey Dziuba wrote:
chaeplin wrote:---> libwpa2.a
wifi_get_macaddr
wifi_station_clear_cert_key
wifi_station_clear_username
wifi_station_set_cert_key
wifi_station_set_username
wifi_station_set_username
tlsv1_set_ca_cert



I am trying to use platformIO and it isn't including (libwpa2.a) from what I can tell. Do I need to use a certain board type?



I am using generic board with Arduino IDE, and "-lwpa2" is added
https://github.com/esp8266/Arduino/blob ... rm.txt#L33
compiler.c.elf.libs=-lm -lgcc -lhal -lphy -lpp -lnet80211 -llwip -lwpa -lcrypto -lmain -lwps -laxtls -lsmartconfig -lmesh -lwpa2



I have to convert my PEM(base64) to HEX. Do I need to include "-----BEGIN RSA PRIVATE KEY-----"?

What tools are you guys using to convert this?
User avatar
By chaeplin
#39748
Grey Dziuba wrote:
I have to convert my PEM(base64) to HEX. Do I need to include "-----BEGIN RSA PRIVATE KEY-----"?

What tools are you guys using to convert this?


check https://github.com/joostd/esp8266-eduro ... en_cert.sh

xxd -i key or crt and add ' 0x00' to end of array, so size id changed.
include '-----BEGIN CERTIFICATE----- ~ -----END CERTIFICATE-----' or '-----BEGIN PRIVATE KEY----- ~ -----END PRIVATE KEY-----'
User avatar
By Trax
#39884 Does it work now wirh password and username instead of certificate and if so how do i use it?
User avatar
By chaeplin
#39888
Trax wrote:Does it work now wirh password and username instead of certificate and if so how do i use it?

No not yet. EAP-TLS only.