1

I've downloaded the Raspberry Pi Imager for Ubuntu and attempted to run it with rpi-imager. This gives the folllowing output:

qt.network.ssl: QSslSocket: cannot resolve SSL_get1_peer_certificate
qt.network.ssl: QSslSocket: cannot resolve EVP_PKEY_get_base_id
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_load_verify_dir
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_CTX_load_verify_dir
qt.network.ssl: An error encountered while to set root certificates location: ""
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get1_peer_certificate
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get1_peer_certificate
Unrecognised QT error:  QNetworkReply::SslHandshakeFailedError , explainer:  "SSL handshake failed"

The application then launches and displays a pop-up saying "Unable to download OS list". How can I resolve this issue?

haiab
  • 11
  • 1

2 Answers2

1

I've encountered this issue on Ubuntu 22.04 when using the downloaded .deb from raspberrypi.org. I worked around it by using the snap version instead.

The SSL handshake issue seems to come from a difference between OpenSSL 1.1 and 3. I've seen it in other applications that use Qt 5.

daveriesz
  • 11
  • 1
0

I have Ubuntu 22.04.5 LTS, the list of available OS is displayed correctly.

Check your version of the application and the link from which this list is downloaded.

rpi-imager --version
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
rpi-imager version 1.8.5
Repository: https://downloads.raspberrypi.org/os_list_imagingutility_v4.json

I would also like to note that there is a newer version on GitHub.

https://github.com/raspberrypi/rpi-imager/releases/tag/v1.9.0

I assume that in the future they are going to release only AppImages for Linux.

ykoavlil
  • 151
  • 5