Questions tagged [alpn]

Application-Layer Protocol Negotiation (ALPN) is a Transport Layer Security (TLS) extension for application layer protocol negotiation.

ALPN allows the application layer to negotiate which protocol should be performed over a secure connection in a manner which avoids additional round trips and which is independent of the application layer protocols.

More about the proposed standard: http://tools.ietf.org/html/rfc7301

59 questions
0
votes
1 answer

Cannot send ALPN request to APNS with python 3.5 and Hyper

I am trying to implement APNS service on my Python REST server with Hyper. Since APNS now require HTTP/2 (ALPN) protocol, I was not able to get_response() from Hyper connection. It throws the below error. Traceback (most recent call last): File…
Vincent Lam
  • 141
  • 1
  • 2
  • 9
0
votes
1 answer

Google Spanner | java.lang.IllegalArgumentException: Jetty ALPN/NPN has not been properly configured

So i have a problem that i've seen before but all attempts to use other fixes have not worked. I'm havinga problem with the Google Spanner, more specifically at the line: SpannerOptions options = SpannerOptions.newBuilder().build(); Where I receive…
0
votes
1 answer

Jetty Http2 Client SSL connection timeout

Setup: Spring Boot 1.4.1 Maven dependencies: org.springframework.boot spring-boot-starter-web
Deroude
  • 909
  • 6
  • 22
0
votes
2 answers

how to disable responding to http1 requests in nginx or apache or caddy?

I have a http2 server but by default it responds http1 requests. I want to stop my server responding to http1 requests? Most browsers might use alpn or npn. is there a possibility to advertise only http2 ? or a custom list of application protocols ?
0
votes
1 answer

Cannot establish HTTP/2 connection from OkHTTP/ALPN/Linux client with Apache HTTP

Problem which I have is Linux related, as it does not occur when the same HTTP2 client runs from Windows. $java -jar -Xbootclasspath/p:alpn-boot-8.1.9.v20160720.jar SampleOkHttp-1.0.jar https://192.168.1.10:8080/simple.html HTTP/2 preface…
0
votes
3 answers

incorrect http protocol shown by chrome developer tools?

I am checking the http protcol in use for this site http://www.dlf.in/ Chrome developer tools shows it to be http/1.1 as in the image below. However the command line tool is-http2 or alpn in python as seems to indicate the http/1.1 is not available.…
Bunny Rabbit
  • 7,604
  • 15
  • 55
  • 100
0
votes
1 answer

How to add ALPN to Java 7

Is possible to add ALPN to the boot class path in a Java 7 application? If yes, how can we do it? There're many samples on Internet telling how to do it via Java 8 and Undertow, Tomcat, Jetty, etc.. Do I need to add a security library into my VM? It…
Carlos Alberto
  • 5,745
  • 10
  • 44
  • 68
0
votes
0 answers

How to add dependency to the boot class path?

I'm trying to add the alpn-boot dependency to the boot class path. The following should work in the pom.xml file:
Tometoyou
  • 5,817
  • 6
  • 46
  • 83
0
votes
0 answers

How to run Jetty with SPDY using ALPN on NETBEANS?

is there a way to run Jetty with SPDY using ALPN on Netbeans? I'm trying to use but it shows this message on console: nov 14, 2015 4:40:01 PM com.squareup.okhttp.internal.Platform$JdkWithJettyBootPlatform getSelectedProtocol INFO: ALPN callback…
0
votes
1 answer

TLS ALPN in Python 2.7

I'm working on some HTTP/2 client and I want to add SSL support. According to the RFC, the negotiation on the protocol is made using the ALPN protocol. Is there an implementation of ALPN in python 2.7? (I know there are HTTP/2 client…
Noam
  • 3
  • 3
0
votes
1 answer

Jetty 9.3 SSL-ALPN-HTTP2 error ERR_EMPTY_RESPONSE with HTTPS only

I have upgraded a Jetty 9.2 HTTP/1.1 + SSL only server (embedded) to Jetty 9.3.0 (v20150612) HTTP/HTTPS 2.0 (SLL(TLS)-ALPN-HTTP/2). I use JRE 8 (Oracle 1.8.0 Build 45 - b15) and Eclipse. * PROBLEM SOLVED BY ANSWER OF JOAKIM : see end of post for…
Danny
  • 79
  • 1
  • 1
  • 9
0
votes
1 answer

How to work with client certificates on Jetty SPDY with ALPN?

I have problem with client certifiacates when I use SPDY with Jetty. It works when I work with NPN and start Jetty SPDY server with: SSLconnector = new HTTPSPDYServerConnector(server, sslContextFactory); As a baseRequest.getHttpChannel() it uses…
Michał Niklas
  • 48,759
  • 16
  • 62
  • 100
-1
votes
1 answer

Nginx ALPN Support - Online test are correct?

I'm checking ALPN support on NGINX with latest libressl 2.5.3. I think I have all correctly setup, but when I try to test from: https://tools.keycdn.com/http2-test Tell me : Yeah! DOMAIN supports HTTP/2.0 "ALPN is not supported" Instead when I try…
-1
votes
1 answer

Check if ALPN is supported

I'm evaluating Jetty alpn-boot for OpenJDK 8 to add support for ALPN (and HTTP/2). However, problem is that the jar file must be put in boot classpath, and I can't ensure it is always present for the webapp in all environments (like, a server at…
holmis83
  • 13,750
  • 3
  • 63
  • 75
1 2 3
4