Hi all,

I would like to secure my server and started with first*https sample.

Here is my configuration below, but I am still getting this error:
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration 
can be found for element 'httpj:engine-factory'.

Have somebody any idea? I have also checked xsd in modules and it seems to be 
ok.

thanks a lot

<beans xmlns="http://www.springframework.org/schema/beans";
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
        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/configuration 
http://cxf.apache.org/schemas/configuration/http-conf.xsd";
        xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
        xmlns:sec="http://cxf.apache.org/configuration/security";
        xmlns:httpj="http://cxf.apache.org/transports/http-jetty/configuration";>
<httpj:engine-factory bus="cxf">
   <httpj:engine port="8090">
    <httpj:tlsServerParameters>
      <sec:keyManagers keyPassword="[EMAIL PROTECTED]">
           <sec:keyStore type="JKS" password="[EMAIL PROTECTED]" 
                file="/home/mikulasek/Desktop/mcc.jks"/>
      </sec:keyManagers>
      <sec:trustManagers>
          <sec:keyStore type="JKS" password="[EMAIL PROTECTED]"
               file="/home/mikulasek/Desktop/mcc.jks"/>
      </sec:trustManagers>
      <sec:cipherSuitesFilter>
        <!-- these filters ensure that a ciphersuite with
          export-suitable or null encryption is used,
          but exclude anonymous Diffie-Hellman key change as
          this is vulnerable to man-in-the-middle attacks -->
        <sec:include>.*_EXPORT_.*</sec:include>
        <sec:include>.*_EXPORT1024_.*</sec:include>
        <sec:include>.*_WITH_DES_.*</sec:include>
        <sec:include>.*_WITH_NULL_.*</sec:include>
        <sec:exclude>.*_DH_anon_.*</sec:exclude>
      </sec:cipherSuitesFilter>
      <sec:clientAuthentication want="true" required="true"/>
    </httpj:tlsServerParameters>
   </httpj:engine>
  </httpj:engine-factory>

</beans>
-- 
Jiri Mikulasek
---------------------------------
Developer

AURA, s.r.o.
Uvoz 499/56; 602 00 Brno
ISO 9001 certified company
AQAP 2110 (ČOS 051622)
tel./fax: +420 544 508 115
e-mail: [EMAIL PROTECTED]
http://www.aura.cz
---------------------------------

Reply via email to