Problem using MBEDTLS with nghttp2 server
I am trying to use mbedtls lib with nghttp2 server from https://github.com/nghttp2/nghttp2.
I created a client using ssl_client2.c from mbedtls and combined with client.c from nghttp2.
For alpn I used "h2" string.
On client side I get :
- client hello, adding alpn extension
- [ Application Layer Protocol is (none) ]
On server side I get: - Client did not advertise HTTP/2 protocol. (nghttp2 expects h2)
My server is running on Ubuntu 14.0t LTS with local copy of libssl 1.0.2g.
Any suggestion where can be the mistake?
Thanks in advance. AKD
It seems the error you are getting is in the HTTP connection, and not in the TLS\SSL.
I suggest you look at nghttp2 support such as:
I hope this helps
mbed TLS Team member