Could not create an SSL session: error:1408F10B:SSL routines:ssl3_get_record:wrong version

Discussion in 'Linux' started by Mlke9876, Feb 12, 2018.

  1. Mlke9876

    Mlke9876 MDL Member

    Feb 13, 2012
    187
    1
    10
    Hello, I have Kali Linux 2 64-bit on VMware and Windows 10 Host. I'm trying to run Hydra and I came up with an error.

    Could not create an SSL session: error:1408F10B:SSL routines:ssl3_get_record:wrong version number

    I read on the internet to change

    SSLOptions.Method := sslvTLSv1_2;
    SSLOptions.SSLVersions := [sslvTLSv1_2];

    to...

    SSLOptions.Method := sslvSSLv3;
    SSLOptions.SSLVersions := [sslvSSLv3];


    I'm not sure how to change it. I don't know where to do that. I also found on the internet to try entering

    openssl s_client -connect userserver:443
    CONNECTED(00000003)

    But I'm not sure what to enter for "userserver." I tried entering that but got the error


    140607790588096:error:20087002:BIO routines:BIO_lookup:system lib:../crypto/bio/b_addr.c:693:Name or service not known
    connect:errno=2

    I'm not sure what to enter for userserver because I am at home. That might be an easy question but I need to know it. So does anyone know how I can fix this error? Where to I replace the Code sample above? Please reply. Thanks
     
  2. Mlke9876

    Mlke9876 MDL Member

    Feb 13, 2012
    187
    1
    10
    Hi, me again. Does anyone know how to change ssl2 to ssl3? Where do I enter in the code above?
     
  3. R29k

    R29k MDL GLaDOS

    Feb 13, 2011
    4,676
    4,270
    150
    Not sure about that specifically but it must be a config file in the/home directory maybe?!
     
  4. Mlke9876

    Mlke9876 MDL Member

    Feb 13, 2012
    187
    1
    10
    I tried looking in the /home folder. It has a lot. I tried the live-build folder (in/home) but I'm not sure which config file I'm looking for. I opened "build.sh" in Notepad but it doesn't have anything about sslv2 or sslv3. Any ideas? I'm trying this question on Kali Linux forums. Hopefully I'll figure it out. Here's some screenshots of Kali /home folder and live-build folder.
     

    Attached Files:

  5. Mlke9876

    Mlke9876 MDL Member

    Feb 13, 2012
    187
    1
    10
    Hi, me again...I made some progress. I tried without -S and it kinda worked. I got a message from Gmail saying it blocked a login to my account. I'm still working on it. Thanks