Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. SSL handshake failed error during installation
Forum Updated to NodeBB v4.3 + New Features

SSL handshake failed error during installation

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
ubuntukdekubuntu
27 Posts 6 Posters 16.5k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Currently Qt 5 can't work with OpenSSL >= 1.1.0. They broke API and binary compatibility. There's a new backend in the works. In between you need to install a 1.0.X version beside your 1.1.X version.

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    MucipM 1 Reply Last reply
    0
    • L Offline
      L Offline
      lak021
      wrote on last edited by
      #5

      Okay. Thanks a lot.

      1 Reply Last reply
      0
      • SGaistS SGaist

        Currently Qt 5 can't work with OpenSSL >= 1.1.0. They broke API and binary compatibility. There's a new backend in the works. In between you need to install a 1.0.X version beside your 1.1.X version.

        MucipM Offline
        MucipM Offline
        Mucip
        wrote on last edited by
        #6

        @SGaist I did not understand why? I installed before on my Debian 9 but now I make new Debian 9 machine and try to install QT5 online installer. But I could not install now! But I installed before?!
        What did they change? And do I need to install old OpenSSL?! Is there any other solution?
        Regards,
        Mucip:)

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #7

          What did you not understand ?

          Try Installing libssl1.0

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          atreidexA 1 Reply Last reply
          0
          • MucipM Offline
            MucipM Offline
            Mucip
            wrote on last edited by Mucip
            #8

            Dear SGaist,
            I checked;

            mucip@debian-ev:~$ openssl version
            OpenSSL 1.1.0f 25 May 2017

            I followed the below website and install openssl 1.0.0.
            https://www.computersnyou.com/3155/update-install-openssl-source-latest-version/

            Now the situation is;
            mucip@debian-ev:~$ openssl version
            OpenSSL 1.0.0s 11 Jun 2015

            But I can not update maintenance tool and I can not even run qt-unified-linux-x64-3.0.1-online.run from my computer?!

            Where am I wrong?!

            Regards,
            Mucip:)

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #9

              Instal the libssl1.0.2 package.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • MucipM Offline
                MucipM Offline
                Mucip
                wrote on last edited by
                #10

                Dear SGaist,
                I installed

                mucip@debian-ev:~$ openssl version
                OpenSSL 1.0.2l 25 May 2017
                mucip@debian-ev:~$

                But I still can not update!
                I attached the picture of situation.
                0_1507979811850_SSLError.png

                regards,
                Mucip:)

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #11

                  You should start it from the console to see if there's more debugging output.

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  1 Reply Last reply
                  0
                  • MucipM Offline
                    MucipM Offline
                    Mucip
                    wrote on last edited by
                    #12

                    Dear SGaist,
                    I run it from console and output is:

                    mucip@debian-ev:~/Qt$ ./MaintenanceTool
                    [7561] Warning: QFile::rename: Empty or null file name

                    By the way when I want to run new qt online installer;

                    mucip@debian-ev:~/Downloads$ ./qt-unified-linux-x64-3.0.1-online.run
                    [5096] Warning: LicenseManager: Ssl error: "The issuer certificate of a locally looked up certificate could not be found"
                    [5097] Warning: Network error during login: [ QNetworkReply::NetworkError(SslHandshakeFailedError) ] "SSL handshake failed"
                    [5097] Warning: Unhandled connection failure: QNetworkReply::NetworkError(SslHandshakeFailedError)

                    I completely confused!...

                    Regards,
                    Mucip:)

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #13

                      Looks like the OpenSSL libraries are correctly working. Can you run ldd qt-unified-linux-x64-3.0.1-online.run just to be sure ?

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      0
                      • MucipM Offline
                        MucipM Offline
                        Mucip
                        wrote on last edited by
                        #14

                        Dear SGaist,
                        Looks like OK?
                        mucip@debian-ev:~/Downloads$ ldd qt-unified-linux-x64-3.0.1-online.run
                        linux-vdso.so.1 (0x00007ffff5f0a000)
                        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f6a1b709000)
                        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f6a1b4cb000)
                        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f6a1b21c000)
                        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f6a1afcc000)
                        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f6a1ac8c000)
                        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f6a1aa8a000)
                        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f6a1a862000)
                        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6a1a65a000)
                        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f6a1a456000)
                        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f6a1a239000)
                        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6a19eb7000)
                        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f6a19bb3000)
                        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f6a1999c000)
                        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6a195fd000)
                        /lib64/ld-linux-x86-64.so.2 (0x00007f6a1b90c000)
                        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f6a193d3000)
                        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f6a191b9000)
                        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f6a18f86000)
                        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f6a1ba5f000)
                        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f6a18d82000)
                        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f6a18b7c000)
                        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f6a18954000)
                        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f6a1872e000)
                        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f6a1851c000)
                        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f6a1820c000)
                        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f6a17ff6000)
                        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f6a17d83000)
                        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f6a17b6f000)

                        And Maintenance tool,
                        mucip@debian-ev:~/Qt$ ldd MaintenanceTool
                        linux-vdso.so.1 (0x00007ffc35ff5000)
                        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1 (0x00007f05f5879000)
                        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f05f563b000)
                        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f05f538c000)
                        libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f05f513c000)
                        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f05f4dfc000)
                        libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f05f4bfa000)
                        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f05f49d2000)
                        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f05f47ca000)
                        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f05f45c6000)
                        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f05f43a9000)
                        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f05f4027000)
                        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f05f3d23000)
                        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f05f3b0c000)
                        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f05f376d000)
                        /lib64/ld-linux-x86-64.so.2 (0x00007f05f5a7c000)
                        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f05f3543000)
                        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f05f3329000)
                        libpng16.so.16 => /usr/lib/x86_64-linux-gnu/libpng16.so.16 (0x00007f05f30f6000)
                        libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f05f5bcf000)
                        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f05f2ef2000)
                        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f05f2cec000)
                        libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f05f2ac4000)
                        liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f05f289e000)
                        liblz4.so.1 => /usr/lib/x86_64-linux-gnu/liblz4.so.1 (0x00007f05f268c000)
                        libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f05f237c000)
                        libbsd.so.0 => /lib/x86_64-linux-gnu/libbsd.so.0 (0x00007f05f2166000)
                        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f05f1ef3000)
                        libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f05f1cdf000)

                        So, what is wrong?!
                        And am I first person who is faced with this problem?!...
                        Is there anybody out there who can use Debian 9 and Qt?...

                        Regards,
                        Mucip:)

                        1 Reply Last reply
                        0
                        • SGaistS Offline
                          SGaistS Offline
                          SGaist
                          Lifetime Qt Champion
                          wrote on last edited by
                          #15

                          Debian 9 switched to OpenSSL 1.1 which will be supported by Qt 5.10. You should not have any problem if you use the Qt version provided by Debian but it will likely be a bit older.

                          Otherwise if you'd like to have cutting edge Qt, KDE Neon is also a possibility.

                          Interested in AI ? www.idiap.ch
                          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                          1 Reply Last reply
                          0
                          • MucipM Offline
                            MucipM Offline
                            Mucip
                            wrote on last edited by
                            #16

                            Dear SGaist,
                            Unfortunately I do not think that this problem is about Debian 9. Because I installed Qt 5.9 on Debian 9 on 23th June 2017.
                            But somehow I can not install new one or even update now?! Same Debian 9 and same Qt 5.9
                            There must be something changed by Qt side I guess?!

                            By the way there isn't any problem on Windows platform.

                            I can not understand this. We say "Qt is platform independent" but I can not install it on Debian?!...

                            Regards,
                            Mucip:)

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #17

                              No, more likely something changed on your system, and likely in OpenSSL.

                              You can't compare installation on Windows and Debian, those are two radically different platforms with different requirements.

                              In any case, the custom certificate error might lead to something. I'd recommend taking a look at the bug report system to see if there's something related. If not please open a new report providing all the possible details about your system and the currently installed versions of OpenSSL (all of them).

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              1 Reply Last reply
                              0
                              • KartK Offline
                                KartK Offline
                                Kart
                                wrote on last edited by
                                #18

                                I am not sure about this. Just go through this link and it might help you..

                                1 Reply Last reply
                                0
                                • MucipM Offline
                                  MucipM Offline
                                  Mucip
                                  wrote on last edited by Mucip
                                  #19

                                  Dear name_qt,
                                  I can't understand very well?! Should I really rebuild all qt with libnss?!
                                  I just want to use standart qt installation from instalaltion file which I downloaded from qt/download.

                                  Regards,
                                  Mucip:)

                                  KartK 1 Reply Last reply
                                  0
                                  • MucipM Mucip

                                    Dear name_qt,
                                    I can't understand very well?! Should I really rebuild all qt with libnss?!
                                    I just want to use standart qt installation from instalaltion file which I downloaded from qt/download.

                                    Regards,
                                    Mucip:)

                                    KartK Offline
                                    KartK Offline
                                    Kart
                                    wrote on last edited by Kart
                                    #20

                                    Yes @Mucip. I had this issue in Ubuntu. I was able to solve it by doing a rebuild with libnss.
                                    You can refer this bug report too.

                                    1 Reply Last reply
                                    0
                                    • MucipM Offline
                                      MucipM Offline
                                      Mucip
                                      wrote on last edited by
                                      #21

                                      Dear name_qt,
                                      In any case, the qt company should do that, shouldn't they?
                                      Well, qt is platform independent! But I can not install it on Debian 9?!
                                      This is paradox, isn't it?!...

                                      Regards,
                                      Mucip:)

                                      KartK 1 Reply Last reply
                                      0
                                      • MucipM Mucip

                                        Dear name_qt,
                                        In any case, the qt company should do that, shouldn't they?
                                        Well, qt is platform independent! But I can not install it on Debian 9?!
                                        This is paradox, isn't it?!...

                                        Regards,
                                        Mucip:)

                                        KartK Offline
                                        KartK Offline
                                        Kart
                                        wrote on last edited by Kart
                                        #22

                                        Yes @Mucip. As @SGaist have already said, i believe this problem will be solved in Qt 5.10.

                                        MucipM 1 Reply Last reply
                                        0
                                        • MucipM Offline
                                          MucipM Offline
                                          Mucip
                                          wrote on last edited by
                                          #23

                                          Dear name_qt,
                                          I hope so.
                                          Because I am very sad because of this bad situation.

                                          Regards,
                                          Mucip:)

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved