|Re: [jetty-users] unable to have Jetty serve web service over SSL|
You are correct.https://github.com/eclipse/jet
ty.project/blob/jetty-9.4.x/ jetty-http-spi/src/main/java/ org/eclipse/jetty/http/spi/ JettyHttpServerProvider.java# L73-L77There is no com.sun.net.httpserver.Http sServerprovider support in Jetty.Looks like the com.sun.net.httpserver.Htt psServerAPI is rather out of date now, not really suitable for the modern web (lots of mandatory SSL/TLS features missing from its com.sun.net.httpserver. HttpsConfigurator)On Tue, Mar 21, 2017 at 8:58 AM, Jeff Ramin <jeff.ramin@xxxxxxxxxxxxxx> wrote:______________________________Hi folks.
I'm trying to use an embedded jetty server to provide a SOAP service. All is well using HTTP, but I need to use HTTPS.
There are many examples on the web of how to do this, but when I try to instantiate a com.sun.net.httpserver.HttpsSe
new org.eclipse.jetty.http.spi.Jetan UpportedOperationException is thrown. I have looked at the source code and it is obvious that no attempt is made to create an HttpsServer; the createHttpsServer() method simply throws the above exception.
tyHttpServerProvider().createH ttpsServer(new InetSocketAddress("127.0.0.1", 9100), 10);
So - can somebody please tell me how jetty can provide this functionality? I'm using 9.2.10, if that is relevant.
-- Jeff Ramin Software Engineer Singlewire Software 2601 W Beltline Hwy #510 Madison, WI 53713 Phone Direct - 608.661.1172 www.singlewire.com
jetty-users mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top