X509 message level authentication - Unable to validate identity assertions

Hi All,
I am creating a proxy service that will authenticate a soap request with incoming x509 certificate.
I configured weblogic server following the below blog post
http://tim.blackamber.org.uk/?p=831
I also setup SSL and keystore tab in the weblogic server by following steps in the the below URL
http://biemond.blogspot.com/2009/06/ws-security-in-osb.html
In my proxy service I am using pre-defined policy "Auth.xml"
The proxy service is attached below
I am running the proxy service from test console. I have a security provider created pointing the keystore and selected while running the proxy service from test console ( no user name/password provided)
I was expecting that proxy service will read the security token and map the CN name correspons to the security token key (my default User name mapper attribute is CN) to an user created in weblogic server and able to authenticate it.
But I am getting following error. Please suggest.
<An error ocurred during web service security inbound request processing [error-code: Fault, message-id: 1345281693794990467-5e61805e.1324a2f888f.-7f8a, proxy: myPrototypes/ProxyService/ProxyServiceExtBizV2, operation: null]
--- Error message:
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope"><env:Header/><env:Body><env:Fault xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"><Code xmlns="http://www.w3.org/2003/05/soap-envelope"><Value>env:Sender</Value><Subcode><Value>wsse:InvalidSecurity</Value></Subcode></Code><Reason xmlns="http://www.w3.org/2003/05/soap-envelope"><Text xml:lang="en-US">Unable to validate identity assertions.</Text></Reason></env:Fault></env:Body></env:Envelope>
weblogic.xml.crypto.wss.WSSecurityException: Unable to validate identity assertions.
*     at weblogic.wsee.security.wss.SecurityPolicyValidator.doIdentity(SecurityPolicyValidator.java:144)*
*     at weblogic.wsee.security.wss.SecurityPolicyValidator.processIdentity(SecurityPolicyValidator.java:107)*
     at weblogic.wsee.security.wss.SecurityPolicyValidator.processInbound(SecurityPolicyValidator.java:78)
     at weblogic.wsee.security.WssServerPolicyHandler.processInbound(WssServerPolicyHandler.java:54)
     at weblogic.wsee.security.WssServerPolicyHandler.processRequest(WssServerPolicyHandler.java:30)
     at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)
     at com.bea.wli.sb.security.wss.wls.Wls92InboundHandler.processRequest(Wls92InboundHandler.java:164)
     at com.bea.wli.sb.security.wss.WssHandlerImpl.doInboundRequest(WssHandlerImpl.java:223)
     at com.bea.wli.sb.context.BindingLayerImpl.addRequest(BindingLayerImpl.java:289)
     at com.bea.wli.sb.pipeline.MessageProcessor.processRequest(MessageProcessor.java:87)
     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:593)
     at com.bea.wli.sb.pipeline.RouterManager$1.run(RouterManager.java:591)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
     at com.bea.wli.sb.security.WLSSecurityContextService.runAs(WLSSecurityContextService.java:55)
     at com.bea.wli.sb.pipeline.RouterManager.processMessage(RouterManager.java:590)
     at com.bea.wli.sb.test.service.ServiceMessageSender.send0(ServiceMessageSender.java:332)
     at com.bea.wli.sb.test.service.ServiceMessageSender.access$000(ServiceMessageSender.java:79)
     at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:137)
     at com.bea.wli.sb.test.service.ServiceMessageSender$1.run(ServiceMessageSender.java:135)
     at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
     at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
proxy service definition:
<?xml version="1.0" encoding="UTF-8"?>
<xml-fragment xmlns:ser="http://www.bea.com/wli/sb/services" xmlns:tran="http://www.bea.com/wli/sb/transports" xmlns:env="http://www.bea.com/wli/config/env" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:con="http://www.bea.com/wli/sb/services/security/config" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:con1="http://www.bea.com/wli/sb/pipeline/config" xmlns:con2="http://www.bea.com/wli/sb/stages/logging/config" xmlns:con3="http://www.bea.com/wli/sb/stages/config" xmlns:con4="http://www.bea.com/wli/sb/stages/publish/config">
<ser:coreEntry isProxy="true" isEnabled="true">
<ser:serviceProvider ref="myPrototypes/x509keyprovider"/>
<ser:security>
<con:inboundWss processWssHeader="true"/>
</ser:security>
<ser:binding type="abstract SOAP" isSoap12="true" xsi:type="con:AnySoapBindingType" xmlns:con="http://www.bea.com/wli/sb/services/bindings/config"/>
<ser:monitoring isEnabled="false">
<ser:aggregationInterval>10</ser:aggregationInterval>
<ser:pipelineMonitoringLevel>Pipeline</ser:pipelineMonitoringLevel>
</ser:monitoring>
<ser:reporting>true</ser:reporting>
<ser:logging isEnabled="true">
<ser:logLevel>debug</ser:logLevel>
</ser:logging>
<ser:sla-alerting isEnabled="true">
<ser:alertLevel>normal</ser:alertLevel>
</ser:sla-alerting>
<ser:pipeline-alerting isEnabled="true">
<ser:alertLevel>normal</ser:alertLevel>
</ser:pipeline-alerting>
<ser:ws-policy>
<ser:binding-mode>service-policy-bindings</ser:binding-mode>
<ser:policies>
<ser:service-policy>
<ser:predefined-policy>Auth.xml</ser:predefined-policy>
</ser:service-policy>
</ser:policies>
</ser:ws-policy>
</ser:coreEntry>
<ser:endpointConfig>
<tran:provider-id>http</tran:provider-id>
<tran:inbound>true</tran:inbound>
<tran:URI>
<env:value>/myPrototypes/ProxyService/ProxyServiceExtBizV2</env:value>
</tran:URI>
<tran:inbound-properties/>
<tran:all-headers>true</tran:all-headers>
<tran:provider-specific>
<http:inbound-properties/>
</tran:provider-specific>
</ser:endpointConfig>
<ser:router>
<con1:pipeline type="request" name="PipelinePairNode1_request">
<con1:stage name="stage1">
<con1:context/>
<con1:actions>
<con2:log>
<con3:id>_ActionId-3973507234039169612-4f70a750.1323cbeae66.-7e09</con3:id>
<con2:logLevel>info</con2:logLevel>
<con2:expr>
<con3:xqueryText>$header</con3:xqueryText>
</con2:expr>
<con2:message>osb_extbiz_log:request side:hdr is</con2:message>
</con2:log>
<con4:route>
<con3:id>_ActionId-3973507234039169612-4f70a750.1323cbeae66.-7866</con3:id>
<con4:service ref="myPrototypes/BizService/BizServiceExtBiz" xsi:type="ref:BusinessServiceRef" xmlns:ref="http://www.bea.com/wli/sb/reference"/>
<con4:outboundTransform/>
</con4:route>
</con1:actions>
</con1:stage>
</con1:pipeline>
<con1:pipeline type="response" name="PipelinePairNode1_response">
<con1:stage name="stage1">
<con1:context/>
<con1:actions>
<con2:log>
<con3:id>_ActionId-3973507234039169612-4f70a750.1323cbeae66.-7cd6</con3:id>
<con2:logLevel>info</con2:logLevel>
<con2:expr>
<con3:xqueryText>$header</con3:xqueryText>
</con2:expr>
<con2:message>osb_extbiz_log:response side:hdr is</con2:message>
</con2:log>
<con2:log>
<con3:id>_ActionId-3973507234039169612-4f70a750.1323cbeae66.-79d3</con3:id>
<con2:logLevel>info</con2:logLevel>
<con2:expr>
<con3:xqueryText>$outbound</con3:xqueryText>
</con2:expr>
<con2:message>osb_extbiz_log:response side:outbound is</con2:message>
</con2:log>
<con2:log>
<con3:id>_ActionId-3973507234039169612-4f70a750.1323cbeae66.-79b6</con3:id>
<con2:logLevel>info</con2:logLevel>
<con2:expr>
<con3:xqueryText>$inbound</con3:xqueryText>
</con2:expr>
<con2:message>osb_extbiz_log:response side:inbound is</con2:message>
</con2:log>
</con1:actions>
</con1:stage>
</con1:pipeline>
<con1:flow>
<con1:pipeline-node name="PipelinePairNode1">
<con1:request>PipelinePairNode1_request</con1:request>
<con1:response>PipelinePairNode1_response</con1:response>
</con1:pipeline-node>
</con1:flow>
</ser:router>
</xml-fragment>
Edited by: 818591 on Sep 8, 2011 4:47 PM

For anyone watching this thread for any relevant information,
after adding sign.xml policy, it started working

Similar Messages

  • Regarding message level authentication in WSDL

    Hi,
    We developed scenario like below.
    There is a consumer webservice interface which we developed through proxy class.
    When we created the binding, selected 'Message level authentication' with 'Username and password' option.
    But in the XML I couldn't see any tags asking for user name and password.
    The requirement is to take the credentials through message header.
    My queries are:
    How do I edit the <sp:WssUsernameToken10 /> in XML to input username and password?
    I tried to research and found out that IF_WSPROTOCOL_WS_HEADER can be used here but dont know where to call this in my code.
    Also how this will validate the user name and password?
    Or is there any other way to include username and password in the XML?
    Please help as this is causing so much issues.

    >
    Anitha SAP wrote:
    > Hi Rajesh,
    >
    >       I have to use only FTPS. Because my client is suggesting that only. Isn't possible using FTPS ?
    > And Tell me The Difference Between FTPS for Control Connection and FTPS and Control and Data Connection .
    > Neccesity of Public key certificate from FTP Sever?
    >
    > Thanks.
    > Anitha.
    PI supports FTPS. you can use the File adapter for the same.
    The basic difference when we talk about FTPS for Control Connection* and FTPS and Control and Data Connection is that in case of FTPS and Control and Data Connection, you data is also encrypted. Else the connection is secure but the data level encryption will not be active
    FTPS works with Certificates and hence the need for the same

  • I'm getting this message " We are unable to validate this serial number for Lightroom . Please contact Customer Support " when installing on my Mac

    I'm getting this message " We are unable to validate this serial number for Lightroom . Please contact Customer Support " when installing on my Mac

    contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html

  • I purchased a download version of Lightroom 6 from Amazon  and when i write the license key number i'm getting this message " We are unable to validate this serial number for adobe Lightroom. Please contact Customer Support. "

    I purchased a download version of Lightroom 6 from Amazon  and when i write the license key number i'm getting this message " We are unable to validate this serial number for adobe Lightroom. Please contact Customer Support. "

    contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html

  • OSB message level authentication fault and predicate

    Hi,
    I have successfully configured MLS on my proxy service and it works fine.
    However, the fault thrown back by OSB does not give you much when authorization fails.
    Is it possible to get the predicate that has not been fulfilled? It would be more useful to the consumer of the service.
    Also, is it possible to at least trace/log the predicate on authorization failure?
    The logs contain the operation that failed but not the predicate
    \[OSB Security:386004\] Message-level access control denied access to proxy service Main/Proxy Service/LocalFundPS, operation findAllSchemes, subject: XXX
    Thanks
    Arnaud
    <faultcode>soapenv:Server</faultcode>
    <faultstring>
    BEA-386102: Message-level authorization denied
    </faultstring>
    <detail>
    <con:fault xmlns:con="http://www.bea.com/wli/sb/context">
    <con:errorCode>BEA-386102</con:errorCode>
    <con:reason>Message-level authorization denied</con:reason>
    <con:location>
    <con:path>request-pipeline</con:path>
    </con:location>
    </con:fault>
    </detail>
    </soapenv:Fault>

    I have authentication providers configured as below (in the same order)
    Custom authenticatio provider - REQUIRED
    DefaultAutentication Provider - OPTIONAL
    I did configured message level authentication in proxy service for custom username/password token.
    Craeted a new user in weblogic console.
    Invoked proxy service with newly created username/password.
    I expect the user should not be authenticated since authetication with custom authentication provider will fail, which is required.
    I'm getting user authenticated and business service invoked and got a valid response.
    If i open another browser window and try to login with the weblogic admin password, it does not let me in because the user is not authenticated by my custom provider.
    Hope this makes scenario clear.

  • When I try to install CS6 Design and Web Premium from a disk I get this message "We are unable to validate this serial number..." What is the reason for this?

    I purchased a disk copy of CS6 Design and Web Premium from a reputable seller last week and when I try to install it with the serial number I got it says "We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support." What is the reason for this?
    Is the serial number invalid?

    Hi Ned,
    Thanks for the suggestion. I eventually got in touch with Adobe Technical Support and it turned out that my Adobe Application Manager was not the latest version. They downloaded the latest version and installed it and that seemed to solve the problem. I was able to install my CS6 Creative Suite and validate the serial number. All seems to be going well at the moment.

  • I have bought Lightroom 6 from Nanobyte Solutions. When I am setting it up on my Macbook Pro using the supplied CD I get asked for the serial no. which I then provided. I then receive the message "We are unable to validate this serial number for Adobe Lig

    Are all Adobe Products this difficult to install? I should just be able to insert my CD and have the product installed. What is wrong with Adobe, why are they so hard to contact, how are they still in business?

    Hi Glenn,
    Kindly try the steps mentioned in the link below see if you are able to use the serial number.
    https://helpx.adobe.com/creative-suite/kb/error-serial-number-valid-product.html
    You can also try to install Lightroom 6 from the link below.
    Digital photography software | Download free Adobe Photoshop Lightroom CC trial
    To serialize Lightroom CC trial to activate as Lightroom 6:
    https://helpx.adobe.com/lightroom/kb/serialize-lightroom-cc-trial-to-activate-as-lightroom -6.html
    Thanks,
    Atul Saini

  • After installation it says unable to validate this serial number for Acrobat Pro XI. Why? What do I do?

    I received my serial number online and went through the installation process. After it was successfully installed I wend to open Adobe Acrobat Pro XI and followed the prompt to enter my serial number and then received this error message "We are unable to validate this serial number for Adobe Acrobat Pro XI. Please Contact Customer Support."
    I've read several FAQ and troubleshooting discussions but none have touched specifically on this.
    I would have called customer support but did not see a number to call.
    Does anyone know what exactly is wrong or what I can do to resolve the issue?

    Contact Adobe Customer Care - click on the Still need help? button to chat or talk with an agent (phone support is only available Mon-Fri during US daytime).

  • "-unable to validate this serial number-" – Moving CS6 software to new employee

    We just had a member of our team leave for a new job who we had upgraded from CS6 to CC a few months ago. We've been trying to install his "old" copy of CS6 on a new employee's machine using their (new) company Adobe ID but when entering the serial number during installation we get the following message:
    "We are unable to validate this serial number for CS6 Design and Web Premium. Please contact Customer Support."
    Trouble is, when going through CS6 CS there doesn't seem to be any direct contact for CS (no phone, no chat). Is the serial number still tied to his work Adobe ID? If so, how can we deactivate that so as to re-open the license for a fresh install?

    As far as I know (I do not work for Adobe) a serial number is "tied" to the person who activated it... so you are going to need to DE-activate by logging in on the old computer with the old ID
    Then, to use that serial number with a new person, I **think** you will need to do a license transfer (you may be able to just activate with a new ID, but I really don't know)
    License Transfer https://forums.adobe.com/thread/1355892

  • We are unable to validate this serial number / Lightroom 6

    While trying to install the recently purchased Lightroom 6 (for Mac) I get the following message: "We are unable to validate this serial number". What should I do?

    Please check your hosts file entries once
    For steps mention below link
    Sign in, activation, or connection errors | CS5.5 and later, Acrobat DC

  • CS6 Master collection unable to validate serial.

    Hello,
    i need help, when i put my serial it gives me this message:
    "where are unable to validate this serial number for CS6 Master Collection.
    Please contact Customer Support"
    plese help me,
    thanks!

    Do what it says - contact customer support by phone or web chat.
    Mylenium

  • Unable to validate message; key used for decrypting message is invalid;

    When trying to decrypt an RNIF message in our SAP XI system we are running into an issue with below error message:
    "Unable to validate message; key used for decrypting message is invalid; expected keystore entry: SSL-<SID>; keystore entry used: null"
    The keystore administrator role is mapped to XIAFUSER. We validated the decryption using the J2EE Private Key thru a third-party (non-SAP) tool and it works fine. The keystore SSL-<SID> contains the Private Key and Cert from our CA. The message was encrypted using the Public Key of J2ee engine.
    We were unable to generate more details even after increasing the log level. The security.log is the only place showing the above error message.

    The folder C:\j2sdk1.4.2_13\jre\lib\security contains the Java Cryptography Extension (JCE)  files -  'local_policy.jar' and 'US_export_policy.jar' .The default files will have a size of 3 kb.These need to be replaced by JCE Unlimited Strength Jurisdiction Policy Files -  'local_policy.jar' and 'US_export_policy.jar'  which are of size 5kb. In brief, C:\j2sdk1.4.2_13\jre\lib\security should contain the files -  'local_policy.jar' and 'US_export_policy.jar'  and their size should be 5kb (and not 3kb). After we did this change the decrypt worked fine.

  • I got this error message when I want to activate the CS6. The error message is "We are unable to validate this serial number for CS6 Design and web Premium. Please contact "Customer Support ""

    I got this error message when I want to activate the CS6. The error message is "We are unable to validate this serial number for CS6 Design and web Premium. Please contact "Customer Support ""

    Hi islandschool,
    Please try the suggestion given in the link:- http://helpx.adobe.com/creative-suite/kb/unable-validate-serial-number-ccm.html
    Regards,
    Sarika

  • We are unable to validate this serial number for adobe lightroom. I just purchased the upgrade for lightroom and keep getting this message upon installing

    We are unable to validate this serial number for adobe lightroom. I just purchased the upgrade for lightroom and keep getting this message upon installing

    contact adobe support by clicking this link and then clicking 'still need help' as soon as it appears, https://helpx.adobe.com/contact.html

  • Invoking a message-level secured webservice WS Security

    I am not having any luck invoking a webservice that has been secured via message-level security. For simplicity, I have been using WS-Security Policies provided by WebLogic and applying them on my webservice via annotations. I have been testing with Wssp1.2-Wss1.0-X509-TripleDesRsa.xml. I am using soapUI to invoke the webservice. When I send a singed soap request, I get a response indicating that it wasn't able to validate the signature. I made sure that both soapUI and WebLogic server is using the same identity store. I have also made sure that the certificate in the identity store is also in the trust store for WebLogic. There could also be a problem with the structure of the soap request. I send a soap request that includes a signature of the timestamp, the initiator token (x509 in binary form), and the body.
    Anyone have luck with WebLogic webservice security and soapUI?

    Applying 'format XML' after signing it changes the message and makes the signature invalid, different content == different signature.
    You should also ask yourself why you'd like to transport blank characters (zero information) over the wire just to make it more readable for yourself? Just compare the size of the unformatted and formatted message to see the waste of bandwidth.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Custom BIOS for GT60-ONC

    Hi, is it possible to have an unlocked BIOS for GT60 ONC that allow CPU and DRAM tuning ? Basically I would a BIOS that allow the same things that on desktop motherboard, dram timing, frequency adjustment, CPU frequency and things like vt-x or hyper-

  • Screen hangs and then reloads when i right click a folder or any object in windows 8.1

    when ever i right click something like a picture,docx,folder etc the cursor shows the loading sign and does not load right-click menu and after showing the loading sign for a few seconds, screen hangs(screen becomes white-ish) and after few more seco

  • Receiver Determination Internal error

    When I try to test a Configuration that I just created, I get the following Receiver Determination error: HTTP connection to ABAP Runtime failed. Error: 403 Forbidden URL: http://rommi:8000/sap/xi/simulation?sap-client=001 User: PIDIRUSER Can someody

  • Unable to install any android apps after upgrading to 10.3

    Hello All, Yesterday I updated my BB Z10 to 10.3.1.1865 software release and now I am not able to install any Android Apps on my Z10. I get a message as "You dont have enough Storage space available to install this app". Even a smaller app is not get

  • PSE6 for Mac - Process Multiple Files

    I'm using PSE 6 for Mac on an iMac running Leopard.  I shoot in RAW on a Canon DSLR and use Bridge and PSE6 for everything photographic as I can't stand iPhoto's hidden filing system which prevents me from being able to organise my files as I choose.