Results 1 to 4 of 4
  1. #1
    falnik is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default WebService encryption problem

    Hi,

    I'm having a tough time trying to encrypt a WebService I'm developing. I'm using NetBeans 6.5.1.

    The WebService is using the Mutual Certificates security mechanism; I generated both the client and server keys/certificates and set them on both sides. When I'm accessing this WebService from an application that is deployed on the same machine, it works perfectly. But when I try to access it from an another computer, it doesn't seem to work.

    I'm receiving this message(server side):

    Java Code:
    WSS1913: Key used to decrypt EncryptedKey cannot be null
    WSS1927: Error occured while decrypting EncryptedKey
    And the client side:
    Java Code:
    StandardWrapperValve[jsp]: PWC1406: Servlet.service() for servlet jsp threw exception
    javax.xml.ws.soap.SOAPFaultException: WSS1927: Error occured while decrypting EncryptedKey
    ...
    I've been fighting with this for about a week now, I'd really appreciate some help. (and yes, I've google'd this before asking you ;-)

    \\edit: It's not working if I'm using development defaults for the keystore/truststore
    Last edited by falnik; 07-13-2009 at 11:16 AM. Reason: New info

  2. #2
    OrangeDog's Avatar
    OrangeDog is offline Senior Member
    Join Date
    Jan 2009
    Location
    Cambridge, UK
    Posts
    838
    Rep Power
    6

    Default

    You're not setting a key or password somewhere.
    Don't forget to mark threads as [SOLVED] and give reps to helpful posts.
    How To Ask Questions The Smart Way

  3. #3
    falnik is offline Member
    Join Date
    Jul 2009
    Posts
    2
    Rep Power
    0

    Default

    Don't think so. I'm sure that I set the password and certificates/keys on both sides.

  4. #4
    calocoj is offline Member
    Join Date
    Jul 2009
    Posts
    1
    Rep Power
    0

    Default track

    Are you already solve this? I have the same problem with Solaris 10 (and many hours finding the solution :-( )

    I apreciate your help

Similar Threads

  1. WebService Client
    By pravin2008 in forum NetBeans
    Replies: 3
    Last Post: 07-23-2008, 02:48 PM
  2. Encryption-Decryption Problem
    By dinesh.1.sharma in forum Advanced Java
    Replies: 1
    Last Post: 07-17-2008, 11:03 PM
  3. Problem related to WebService
    By keshari in forum Web Frameworks
    Replies: 0
    Last Post: 05-23-2008, 08:50 AM
  4. encryption
    By Joe2003 in forum Advanced Java
    Replies: 2
    Last Post: 02-06-2008, 11:27 AM
  5. Webservice ain't working?
    By marcelman in forum Networking
    Replies: 0
    Last Post: 08-10-2007, 03:48 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •