Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-114798

Update californium CoAP server



    • Task
    • Resolution: Done
    • P2: Important
    • 6.5.3, 6.6.0 Beta3, 6.7.0 FF
    • None
    • CoAP
    • None
    • 8
    • e90b39053 (dev), fbabe2f24 (6.6), fcf5ede04 (6.5), 6ffcaefbe (dev), 269ed3882 (6.6), 39a92437d (6.5), 2ed9f566c (dev), e73d00181 (6.6), 92d30a74f (6.5)
    • Foundation Sprint 86, Foundation Sprint 87, Foundation Sprint 88


      Qt CoAP uses docker containers based on a californium test-server for running tests, and also as a counterpart for the Secure CoAP Client example.

      The problem is that the PSK-based encrypted communication does not work anymore.
      The request ends up with the following error on the Qt side:

      qt.coap.connection: Handshake error:  "Error during SSL handshake: error:0A000152:SSL routines::unsafe legacy renegotiation disabled"

      This might be because the old versions of californium server do not support renegotiation.

      Let's try to update the californium server to version 3.8 and check, if it fixes the issue.

      Currently, the server which is used for the docker containers is located here: https://github.com/sonakur/californium

      It has only one custom commit, which we need to cherry-pick to the newer server as well.

      The internal docker image uses this Dockerfile, and is based on this provisioning script.

      The docker container used for the Secure CoAP Client example is located here.


        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.



              ivan.solovev Ivan Solovev
              ivan.solovev Ivan Solovev
              Vladimir Minenko Vladimir Minenko
              Alex Blasche Alex Blasche
              0 Vote for this issue
              1 Start watching this issue