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

Stack Overflow | Joseph Hwang | 7 months ago
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

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

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

    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
      1. org.apache.wss4j.common.crypto.Merlin.getPrivateKey(
      1 frame
    3. Apache WSS4J DOM WS-Security
      1. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.getAsymmetricDecryptedBytes(
      2. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.getAsymmetricDecryptedBytes(
      3. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.handleToken(
      4. org.apache.wss4j.dom.processor.EncryptedKeyProcessor.handleToken(
      4 frames
    4. org.apache.wss4j
      1. org.apache.wss4j.dom.engine.WSSecurityEngine.processSecurityHeader(
      1 frame
    5. Apache CXF Runtime WS Security
      1 frame