Filed an issue over it.

https://github.com/eclipse/jetty.project/issues/1414

Joakim Erdfelt / [email protected]

On Tue, Mar 21, 2017 at 10:59 AM, Joakim Erdfelt <[email protected]> wrote:

> You are correct.
>
> https://github.com/eclipse/jetty.project/blob/jetty-9.4.x/
> jetty-http-spi/src/main/java/org/eclipse/jetty/http/spi/
> JettyHttpServerProvider.java#L73-L77
>
> There is no com.sun.net.httpserver.HttpsServer provider support in Jetty.
>
> Looks like the com.sun.net.httpserver.HttpsServer API 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)
>
>
> Joakim Erdfelt / [email protected]
>
> On Tue, Mar 21, 2017 at 8:58 AM, Jeff Ramin <[email protected]>
> 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.HttpsServer via:
>>
>> new 
>> org.eclipse.jetty.http.spi.JettyHttpServerProvider().createHttpsServer(new 
>> InetSocketAddress("127.0.0.1", 9100), 10);
>>
>> an 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.
>>
>> So - can somebody please tell me how jetty can provide this
>> functionality? I'm using 9.2.10, if that is relevant.
>>
>> Thanks.
>>
>> --
>> Jeff Ramin
>> Software Engineer
>> Singlewire Software
>> 2601 W Beltline Hwy #510
>> Madison, WI 53713
>>
>> Phone Direct - 608.661.1172 <(608)%20661-1172>www.singlewire.com
>>
>>
>> _______________________________________________
>> 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

Reply via email to