smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cloud Apps WSS handshake using weak cipher suite

Jack-Byrne opened this issue · comments

Bug Report

During the WSS connection with a cloud app, the ssl handshake is failing with the message "dh key length too small".

This was tested with a 2048 bit RSA signed CA certificate so the issue must be with the cipher suite key exchange method used by Core & the cloud application.

Reproduction Steps
  1. Setup sdl java se app to use wss connections
  2. Setup sdl core to connect to java app with a wss connection
  3. Activate app
Expected Behavior

Secured communication is established and the app registers.

Observed Behavior

WSS error: dh key length too small, connection is not established

OS & Version Information
  • OS/Version: Ubuntu 20 with openssl 1.1.1
  • SDL Core Version: 8.1
  • Testing Against: SDL Java SE in Android studio