CoAP with DTLS 1.2 on nRF9160

Hi all,

looking for samples for using CoAP with DTLS 1.2 (PSK) on nRF9160. All the samples I can find are not using DTLS. Highly appreciate any hint!

Thank in advance,

Andre

Parents Reply
  • Could you please elaborate more on what you are trying to achieve? From our modem FW release notes it states: 

    *** Limitations
    ***************
    - TLS/DTLS
        - Up to three simultaneous TLS/DTLS connections are possible.
        - Maximum server certificate chain size has a limit of 4kB.
        - Server certificate expiry time is not verified.
        - pkcs#8 is not supported.
        - Absolute maximum number of supported credentials is 32. The actual amount depends on size of
          credentials as memory area reserved for credentials may be a limiting factor as well.
        - DTLS supports PSK authentication only.
        - 2kB secure socket buffer size.

    So PSK based DTLS is supported. 

    Andre23t said:
    What approach would you recommend to find some examples for using CoAP with PSK-based DTLS authentication?

    We have several samples in which TLS/DTLS is used, I recommend looking through our official nRF9160 samples, and the modem library documentation on TLS/DTLS configuration

Children
No Data
Related