Hello
I need to setup TLS communication using UDP, betwen:
- zephyr app as client
- ubuntu pc, openssl server as server (ofc)
I modify prj.conf of sample disabling all TCP and IPv6:
To build i using command:
On server site, running openssl server by:
Where is the problem:
Zephyr application running on uP tries to connect to ssl server but it fails, returning error log:
On server side i got log:
Fullscreen123456Using default temp DH parametersACCEPTERROR80CB36578F7F0000:error:0A000412:SSL routines:dtls1_read_bytes:sslv3 alert bad certificate:../ssl/record/rec_layer_d1.c:613:SSL alert number 42shutting down SSLCONNECTION CLOSED
On wireshark there is also the same information
I think the problem in configuration, but i can't find where.
Cert and key files i took from echo_server sample, but if i regenerate them by my self, the result is the same.