1 2 Previous Next 16 Replies Latest reply on Feb 7, 2011 5:23 AM by t.himaja Go to original post
      • 15. Re: WS-Security - Invalid timestamp, message claimed to be c
        nickarls

        Are you picking up any noticable configurations changes from that file at all (do you think it's read)?

        • 16. Re: WS-Security - Invalid timestamp, message claimed to be c
          t.himaja

          we tried with just adding timestamp configurations in jboss-wsse-server.xml and jboss-wsse-client.xml file.

           

          jboss-wsse-client.xml

           

          <jboss-ws-security
           xmlns="http://www.jboss.com/ws-security/config"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.jboss.com/ws-security/config
           http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
            <key-store-file>META-INF/client.keystore</key-store-file>
            <key-store-type>jks</key-store-type>
            <key-store-password>client</key-store-password>
            <trust-store-file>META-INF/client.truststore</trust-store-file>
            <trust-store-type>jks</trust-store-type>
            <trust-store-password>client</trust-store-password>
            <timestamp-verification createdTolerance="20" warnCreated="true" expiresTolerance="20" warnExpires="true" />
              <config>
               <encrypt type="x509v3" alias="gaurav"/>
               <sign type="x509v3" alias="client" includeTimestamp="true"/>
               <timestamp ttl="1500"/>
             <requires>
              <encryption/>
             <signature />
             </requires>
            </config>
          </jboss-ws-security>
          
          

           

           

          jboss-wsse-server.xml

           

           

          <jboss-ws-security
           xmlns="http://www.jboss.com/ws-security/config"
           xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
           xsi:schemaLocation="http://www.jboss.com/ws-security/config
          http://www.jboss.com/ws-security/schema/jboss-ws-security_1_0.xsd">
           <timestamp-verification createdTolerance="20" warnCreated="true" expiresTolerance="10" warnExpires="true" />
           <key-store-file>META-INF/server.keystore</key-store-file>
           <key-store-type>jks</key-store-type>
           <key-store-password>server</key-store-password>
           <trust-store-file>META-INF/server.truststore</trust-store-file>
           <trust-store-type>jks</trust-store-type>
           <trust-store-password>server</trust-store-password>
           <config>
             <sign type="x509v3" alias="gaurav" includeTimestamp="true" />
             <encrypt type="x509v3" />
             <timestamp ttl="1500"/>
             <requires>
                 <signature />
              <encryption />
             </requires>
           </config>
          </jboss-ws-security>
          

           

           

          but had no change...

          N even doubt that its taking effect(not read).

          1 2 Previous Next