OpenStreetMap SSL Error

Hello,

I just installed the Skydel Software on our Server. Everything seems to work but the OpenStreetMap.

We are running an Ubuntu 20.04 Server with Skydel Version 20.9.5 (990421737) Academic License.

The moment I click on the map, the following error appears in the system terminal:

QPixmap::scaled: Pixmap is a null pixmap
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_num_locks
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_id_callback
qt.network.ssl: QSslSocket: cannot resolve CRYPTO_set_locking_callback
qt.network.ssl: QSslSocket: cannot resolve ERR_free_strings
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_cleanup
qt.network.ssl: QSslSocket: cannot resolve EVP_CIPHER_CTX_init
qt.network.ssl: QSslSocket: cannot resolve sk_new_null
qt.network.ssl: QSslSocket: cannot resolve sk_push
qt.network.ssl: QSslSocket: cannot resolve sk_free
qt.network.ssl: QSslSocket: cannot resolve sk_num
qt.network.ssl: QSslSocket: cannot resolve sk_pop_free
qt.network.ssl: QSslSocket: cannot resolve sk_value
qt.network.ssl: QSslSocket: cannot resolve SSL_library_init
qt.network.ssl: QSslSocket: cannot resolve SSL_load_error_strings
qt.network.ssl: QSslSocket: cannot resolve SSL_get_ex_new_index
qt.network.ssl: QSslSocket: cannot resolve SSLv3_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv3_server_method
qt.network.ssl: QSslSocket: cannot resolve SSLv23_server_method
qt.network.ssl: QSslSocket: cannot resolve X509_STORE_CTX_get_chain
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_noconf
qt.network.ssl: QSslSocket: cannot resolve OPENSSL_add_all_algorithms_conf
qt.network.ssl: QSslSocket: cannot resolve SSLeay
qt.network.ssl: Incompatible version of OpenSSL
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed

With a browser on the server I can access OpenStreetMap.

Any ideas?

1 Like

Hi,

Sadly, we donā€™t support Ubuntu 20.04 yet.

However, could you please share the versions of openssl installed on your system?
You can do so with the following command ā€˜ldconfig -p|grep sslā€™.

Skydel map requires openssl v1.0, installing it manually with ā€˜apt install libssl1.0-devā€™ might solve the issue.

2 Likes

Thank you for the info. Under Ubuntu 20.04 the command ldconfig -p | grep ssl only shows libssl.so.1.1

To just install libssl1.0-dev does not work though, because it is obsolete in Ubuntu 20.04

$ sudo apt install libssl1.0-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libssl1.0-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'libssl1.0-dev' has no installation candidate

So to get libssl1.0 I had to install it from source.
Here is how I did it, maybe it helps others:

$ sudo apt install build-essential checkinstall zlib1g-dev -y
$ curl https://www.openssl.org/source/old/1.0.2/openssl-1.0.2u.tar.gz
$ tar -xf openssl-1.0.2u.tar.gz
$ cd openssl-1.0.2u
$ ./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
$ sudo make
$ sudo make test
$ sudo make install
$ sudo bash -c 'echo "/usr/local/ssl/lib" > /etc/ld.so.conf.d/openssl-1.0.2u.conf'
$ ldconfig -p | grep ssl

After that the map is working so thank you a lot.

P.S.
I hope Skydel will soon support Ubuntu 20.04 officially and newer versions of OpenSSL as there are a lot of vulnerabilities in the 1.0 version.

3 Likes

Thank you for sharing this information with us!

We are planning on supporting Ubuntu 20.04 before the end of the year.

1 Like

Hi. I have the same problem and I solved with the following commands:

echo ā€œdeb Index of /ubuntu focal-security mainā€ | sudo tee /etc/apt/sources.list.d/focal-security.list

sudo apt-get update
sudo apt-get install libssl1.1

Then delete the focal-security list file you just created:

sudo rm /etc/apt/sources.list.d/focal-security.list

Regards

3 Likes