@jaen: I saw your question on IRC re:ALPN. I haven't tried it yet, but take a look at https://lists.jboss.org/pipermail/undertow-dev/2015-November/001412.html and see if that helps
@tcrawley: I'm somewhat further now, I've figured I have to add this as a dep - [org.mortbay.jetty.alpn/alpn-boot "8.1.5.v20150921"]
this made the application actually boot.
But when I try to connect it fails the handshake reporting no ciphers present
(defn start!
"Starts the application."
[]
(let [port (or (some-> environ/env :port Integer.)
8080)
ssl-context (less-awful-ssl/ssl-context "certs/server.pkcs8" "certs/server.crt" "certs/rootCA.pem")
configuration (-> (undertow/options {:host "0.0.0.0"
:port port
:ssl-port 8443
:ssl-context ssl-context})
#_(update :configuration #(doto %
(.setServerOption UndertowOptions/ENABLE_HTTP2 true)
(.setServerOption UndertowOptions/ENABLE_SPDY true))))]
(reset! check-amusement-park-job-handle (scheduling/schedule check-amusement-park-job job-interval))
(reset! web-server-handle (web/run handler configuration))))
This is how I try to setup the handler
It was a bit of a pain to figure the options out, but I think they are right according to the docs
I'm not sure what am I doing wrong so it reports no ciphers
I tried generating certificatess both with the CA.pl method as described in less awful ssl repo and signing keys by hand as well
hmm, would you mind filing an issue with a sample app? perhaps @jcrossley3 can take a look - I'm traveling now, so likely won't have a chance to look at it for a few days
On the JIRA?
yes please: https://issues.jboss.org/projects/IMMUTANT
Sure, I was going to do it as well, since that's what you said on IRC, I just thought I'd share that in case I'm doing something obviously wrong.
I'll let you (or jcrossley3 if you prefer) know when I set the issue and repor app up.
thanks! feel free to let us both know, and I'll take a look if I have the chance
Sure thing, thanks for the interest! I was quite looking forward to Immutant supporting HTTP2
And it turned out to be a bit hard to get working so far
So help is appreciated a lot