org.apache.wss4j.common.ext.WSSecurityException: Cannot find key for alias: [myclientkey]

Stack Overflow | Joseph Hwang | 10 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    An error was discovered processing the <wsse:Security> header in SoapUI

    Stack Overflow | 10 months ago | Joseph Hwang
    org.apache.wss4j.common.ext.WSSecurityException: Cannot find key for alias: [myclientkey]
  2. 0

    WSSecurityException - An error was discovered processing the <wsse:Security> header

    Stack Overflow | 1 year ago | Soufiane Rabii
    org.apache.cxf.binding.soap.SoapFault: A security error was encountered when verifying the message

    Root Cause Analysis

    1. org.apache.wss4j.common.ext.WSSecurityException

      Cannot find key for alias: [myclientkey]

      at org.apache.wss4j.common.crypto.Merlin.getPrivateKey()
    2. Apache WSS4J WS-Security Common
      Merlin.getPrivateKey
      1. org.apache.wss4j.common.crypto.Merlin.getPrivateKey(Merlin.java:632)
      1 frame
    3. Apache WSS4J DOM WS-Security
      EncryptedKeyProcessor.handleToken
      1. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.getAsymmetricDecryptedBytes(EncryptedKeyProcessor.java:259)
      2. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.getAsymmetricDecryptedBytes(EncryptedKeyProcessor.java:301)
      3. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:194)
      4. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:76)
      4 frames
    4. org.apache.wss4j
      WSSecurityEngine.processSecurityHeader
      1. org.apache.wss4j.dom.engine.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:344)
      1 frame
    5. Apache CXF Runtime WS Security
      WSS4JInInterceptor.handleMessageInternal
      1. org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor.handleMessageInternal(WSS4JInInterceptor.java:280)
      1 frame