cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jana Weschenfelder" <>
Subject Problems with configuring the Jetty Runtime (SSL)
Date Thu, 12 Jun 2014 21:45:24 GMT
Dear Ladies and Gentlemen,

I have exactly the problem of
I don't know if there existed a solution already.

I followed the instructions of and I don't have any
success by using here. I
receive the error message then that the port (HTTP) wouldn't be configured
for HTTPS.

Regarding to Eclipse, is
configured for HTTP and is not a SSLConnector, and it also doesn't accept
any SSL Configuration if I look into the code there.

If I read the instructions of,
org.eclipse.jetty.server.ssl.SslSelectChannelConnector should be used as
SSLConnector instead. But if I just replace in the example of, I receive the error
message " /home/user/.keystore" as described

I would think that something like this would be more correct, regarding to
<httpj:engine-factory id="https" bus="cxf">
    <httpj:engine port="${}">
        <httpj:threadingParameters minThreads="5" maxThreads="15" />
                <property name = "port" value="9001"/>
                <bean class="org.eclipse.jetty.http.ssl.SslContextFactory">
                    <property name="keyStore" value="..."/>
                    <property name="keystoreType" value="..."/>
                    <property name="keyStorePassword" value="..."/>
                    <property name="excludeCipherSuites" ref="..."/>
            <bean class="org.eclipse.jetty.server.handler.DefaultHandler"/>

But it doesn't work. It doesn't accept the part <bean
class="org.eclipse.jetty.http.ssl.SslContextFactory">...</bean> within of
The error message is "Invalid content was found starting with element

A similar configuration was found here:

But I need it for httpj:engine-factory.

What is the right way to configure the Jetty Runtime with SSLConnector?
Is Jetty still supported by Apache CXF? Btw, HTTP works fine, but I need
HTTPS because of certificates.

Many thanks in advance!!!


View raw message