Results 1 to 3 of 3
  1. #1
    rashera is offline Member
    Join Date
    Mar 2009
    Rep Power

    Default Axis2 client to access https (self signed cert)

    I have an axis2 client webservice working with "http" protocol, but I need to have the same implementation work with "https" (self-signed certificate on server). Please anyone suggest what is the best approach for this.

    Thanks in advance,


  2. #2
    g_ayyappan is offline Member
    Join Date
    Apr 2010
    Rep Power

    Default Re: Axis2 client to access https (self signed cert)

    You do not need to make any changes to your client code. Instead you could configure the trust key store at your client side (use JVM args). It is straightforward approach.

    Ayyappan Gandhirajan

  3. #3
    Join Date
    Jun 2010
    Rep Power


    Hi Ayyapan,
    i have similar problem.
    i get the following exception when i try to call secure web service.

    org.apache.axis2.AxisFault: PKIX path building failed: xception: unable to find valid certification path to requested target

    my application will be used by many clients
    can i apply the same solution what you mentioned here?
    and when i load trust stores using jvm args will it work for all clients?
    or will there be any problem because of jvm versions?

    kindly let me know.

Similar Threads

  1. https client
    By karine in forum Advanced Java
    Replies: 6
    Last Post: 10-31-2008, 12:41 PM
  2. Replies: 2
    Last Post: 10-05-2008, 06:13 PM
  3. Replies: 0
    Last Post: 11-13-2007, 10:13 AM
  4. Replies: 6
    Last Post: 07-18-2007, 03:15 PM
  5. Replies: 1
    Last Post: 07-14-2007, 05:15 PM

Posting Permissions

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