Ответы пользователя по тегу Tomcat
  • Apache cxf вебсервис через https. Как?

    @superbadlam Автор вопроса
    вот
    и вот
    и вот ещё

    И мое решение.

    <beans xmlns="http://www.springframework.org/schema/beans"
    	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    	xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration"
    	xmlns:sec="http://cxf.apache.org/configuration/security"
    
    	xsi:schemaLocation="
    		http://www.springframework.org/schema/beans 
    		http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
    	    http://cxf.apache.org/transports/http-jetty/configuration
            http://cxf.apache.org/schemas/configuration/http-jetty.xsd
            http://cxf.apache.org/configuration/security
            http://cxf.apache.org/schemas/configuration/security.xsd
    	">
     
    	<httpj:engine-factory bus="cxf">
        <httpj:engine port="9003">
          <httpj:tlsServerParameters>
            <sec:keyManagers keyPassword="qwerty">
    			<sec:keyStore type="JKS" password="qwerty" file="certs/proba.jks" />
            </sec:keyManagers>
          </httpj:tlsServerParameters>
        </httpj:engine>
    	</httpj:engine-factory>
    </beans>
    Ответ написан
    Комментировать