CXF RS with HTTPS using blueprint
Issue
- We tried to enable HTTPS on a CXF-RS endpoint.
- We get the following error:
Caused by: java.io.IOException: Protocol mismatch for port 8080: engine's protocol is http, the url protocol is https
at org.apache.cxf.transport.http_jetty.JettyHTTPServerEngineFactory.createJettyHTTPServerEngine(JettyHTTPServerEngineFactory.java:270)
- How can we setup CXF RS service on HTTPS in blueprint configuration ? We have seen this on spring configuration, but we are not able to get it to work on blueprint.
Environment
- Red Hat JBoss Fuse
- 6.x
- Apache CXF
- Apache Aries/Blueprint
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.