Skip to content
Discussion options

You must be logged in to vote

I stripped down your AuthorizationServer.java to just set up the server and the connectors, and it works for me.

I don't think this is a Jetty issue, it is more likely a KeyStore issue or something else.

I suggest that you strip down your example to the bare minimum (just a Jetty server with connectors), and try with normal JVM and normal KeyStore.
Then change KeyStore with the one you're using. And so on.

Note that keytool -genkeypair is normally used to create a KeyStore, not -gencert. Make sure you create the KeyStore correctly.

curl -kv https://localhost:9433/
* Host localhost:9433 was resolved.
* IPv6: ::1
* IPv4: 127.0.0.1
*   Trying [::1]:9433...
* ALPN: curl offers h2,http/1.1
* T…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sbordet
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants