espressif / idf-extra-components

Additional components for ESP-IDF, maintained by Espressif
143 stars 86 forks source link

feat(coap): Support both PKI and PSK being configured concurrently (IEC-78) #289

Closed mrdeep1 closed 7 months ago

mrdeep1 commented 7 months ago

Checklist

Change description

Addresses #285

hmalpani commented 7 months ago

Thanks for updating the PR. I think the certificates also needs to updated. I am getting these logs with only PKI enabled:

I (12442) CoAP_client:    0.0.0.0:60719 <-> 20.47.97.44:5684 DTLS: The certificate is not correctly signed by the trusted CA: issue 0x8: 'cf-ca' depth 1
I (12452) CoAP_client: *  0.0.0.0:60719 <-> 20.47.97.44:5684 DTLS: netif: sent   15 bytes
I (12462) CoAP_client: do_mbedtls_handshake: session establish returned 'X509 - Certificate verification failed, e.g. CRL, CA or signature check failed'
I (12472) CoAP_client: ***EVENT: COAP_EVENT_DTLS_ERROR
mrdeep1 commented 7 months ago

Will check. Looks like it is californium.eclipseprojects.io certificates have been updated. Will try to find the updated ones.

mrdeep1 commented 7 months ago

Certificates updated.

hmalpani commented 7 months ago

@mahavirj should we also bump up the version in example idf_component.yml file?

mrdeep1 commented 7 months ago

I did bump the version of idf_component.yml in this PR.