libmicrohttpd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [libmicrohttpd] SSL usage "Error : received handshake message out of


From: Thibaut Le Guilly
Subject: Re: [libmicrohttpd] SSL usage "Error : received handshake message out of context"
Date: Fri, 9 Sep 2011 10:05:15 +0200

Hello,

I think it is a good idea to report that issue to the GNUtls developers, I will do that.

Now I'm having problems with client authentication using client certificate, but I will look deeper into it before asking for help this time!

Best regards,

On Thu, Sep 8, 2011 at 3:53 PM, Christian Grothoff <address@hidden> wrote:
Well, could be that Chrome is doing something wrong, or that GNUtls is doing
something wrong.  Only MHD is sure to be innocent here ;-).  So maybe
contacting the GNUtls developers would be a good idea...

Happy hacking,

Christian

On Thursday, September 08, 2011 10:58:44 AM Thibaut Le Guilly wrote:
> Ok I feel really dumb now because it appears that this problem only appears
> when using google chrome, it doesn't appear when using curl or firefox. So
> I guess that their implementation of SSL/TLS is doing something wrong!
>
> Sorry for bothering you, I hope that at least it can be useful for some
> people having the same error.
>
> Best regards,
>
> On Thu, Sep 8, 2011 at 10:11 AM, Thibaut Le Guilly <
>
> address@hidden> wrote:
> > Hello again,
> >
> > I installed gnutls-2.10.3, the latest release still using libgcrypt, and
> > I also installed libgcrypt-1.5.0, but the problem is still there. I will
> > try to use the gnutls-3.0.2 using nettle, but I'm having some
> > configuration problem because of my x64 architecture. I will let you
> > know if it solves the problem.
> >
> > Best regards,
> >
> >
> > On Wed, Sep 7, 2011 at 4:08 PM, Thibaut Le Guilly <
> >
> > address@hidden> wrote:
> >> Hello,
> >>
> >> First thank you for your reply!
> >>
> >> The gnutls version I'm running is the 2.8.6, for gcrypt is 1.4.6. There
> >> are both the latest release available in my system's repository (Ubuntu
> >> 11.04), but I will try to install the 3.0.2 version of gnutls from their
> >> ftp to see if it solves the problem.
> >>
> >> Here is the result of the ldd on my executable (I put only the relevant
> >> results) :
> >>
> >> libmicrohttpd.so.10 => /usr/local/lib/libmicrohttpd.so.10
> >> (0x00007f27cbc9e000)
> >> libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
> >> (0x00007f27caba8000)
> >> libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
> >> (0x00007f27ca92e000)
> >>
> >> and the ldd on libmicrohttpd.so.10 :
> >> linux-vdso.so.1 =>  (0x00007fff39fff000)
> >> libgnutls.so.26 => /usr/lib/x86_64-linux-gnu/libgnutls.so.26
> >> (0x00007ffee5754000)
> >> libgcrypt.so.11 => /lib/x86_64-linux-gnu/libgcrypt.so.11
> >> (0x00007ffee54da000)
> >> libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0
> >> (0x00007ffee52bb000)
> >> libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007ffee4f27000)
> >> libtasn1.so.3 => /usr/lib/x86_64-linux-gnu/libtasn1.so.3
> >> (0x00007ffee4d16000)
> >> libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007ffee4afd000)
> >> libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0
> >> (0x00007ffee48f9000)
> >> /lib64/ld-linux-x86-64.so.2 (0x00007ffee5c19000)
> >>
> >> For me I don't see any problem in that, but may be will you?
> >>
> >> I did compile and install libmicrohttpd without any problem.
> >>
> >> Thanks again for your time,
> >>
> >> Best regards,
> >>
> >> On Wed, Sep 7, 2011 at 3:10 PM, Piotr Grzybowski
<address@hidden>wrote:
> >>>  hello.
> >>>
> >>>  what gnutls version are you running?
> >>>  this error is a gnutls error, seems self-explanatory ;-) i saw a lot
> >>>
> >>> of these lately, but i played with gnutls versions and tls.
> >>>
> >>>  run ldd on libmicrohttpd and on your executable, maybe there is some
> >>>
> >>> kind of mismatch. did you compile libmicrohttpd? also take a look at
> >>> gcrypt versions.
> >>>
> >>> sincerely,
> >>> pg
> >>>
> >>>
> >>> On Wed, Sep 7, 2011 at 2:03 PM, Thibaut Le Guilly
> >>>
> >>> <address@hidden> wrote:
> >>> > Hello everybody,
> >>> > I am trying to use libmicrohttpd with https communication, but every
> >>>
> >>> time
> >>>
> >>> > that I make a request to my server, I'm having a message "Error:
> >>> received
> >>>
> >>> > handshake message out of context" displayed.
> >>> > Even if I get this error, nothing fails and the client is still
> >>>
> >>> receiving
> >>>
> >>> > the data.
> >>> > I noticed that when I make a "make check-TESTS" in the testcurl/https
> >>>
> >>> folder
> >>>
> >>> > I get the same message at the really beginning, with
> >>> > "curl_easy_perform failed: `SSL connect error'" preceding it, but
> >>> > all the tests are still passed with success.
> >>> > Could someone explain me what does this message means, and if I
> >>> > should
> >>>
> >>> worry
> >>>
> >>> > about it or not? In fact I saw on this post
> >>> > (http://lists.gnu.org/archive/html/libmicrohttpd/2010-12/msg00005.htm
> >>> > l
> >>>
> >>> )
> >>>
> >>> >  that the person had the same message, but didn't seem to worry about
> >>>
> >>> it.
> >>>
> >>> > Thanks in advance for any help or explanation!
> >>> > --
> >>> > Thibaut Le Guilly
> >>
> >> --
> >> Thibaut Le Guilly
> >
> > --
> > Thibaut Le Guilly
> > Research Assistant at Aalborg University
> > Embedded System Engineer (ECE Paris)
> > Software System Engineer (Aalborg University)

--
Thibaut Le Guilly




reply via email to

[Prev in Thread] Current Thread [Next in Thread]