A server mapped javax.websocket endpoint: - one found via javax.websocket.server.@ServerEndpoint annotation - or added manually via the javax.websocket.server.ServerContainer - or added via a javax.websocket.server.ServerApplicationConfig
is not configured directly for SSL/TLS. Focus on setting up an appropriate server connector for yourself. https://www.eclipse.org/jetty/documentation/current/configuring-ssl.html You have many configuration choices here (SSL, TLS, HTTP/1.1, HTTP/2, ALPN, etc..) Note: WebSocket over HTTP/2 isn't support (as its not really a defined standard yet) A server side javax.websocket client endpoint cannot be configured for SSL/TLS use on outgoing connections. This is not possible with the javax.websocket API (along with the ability to configure proxies) Joakim Erdfelt / [email protected] On Wed, Feb 10, 2016 at 4:42 PM, Mohan Kumar G <[email protected]> wrote: > Hi All, > > How to enable SSL for Websocket endpoint on server side? > > I have javax.websocket end point. I want to make this end point as secure > i.e. enable SSL. I am using Jetty 9.2.3 with JDK 1.8 update 65. > > Thanks and Regards > Mohan > > _______________________________________________ > jetty-users mailing list > [email protected] > To change your delivery options, retrieve your password, or unsubscribe > from this list, visit > https://dev.eclipse.org/mailman/listinfo/jetty-users >
_______________________________________________ jetty-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/jetty-users
