Results 1 to 2 of 2

Thread: SSL Cert Problem using SOAP API

  1. #1
    Join Date
    May 2006
    Rep Power

    Default SSL Cert Problem using SOAP API


    I'm in the process of developing an integration with Zimbra and attempting to use the SOAP classes already available within the Zimbra framework. The problem that I am having is that the calls to Zimbra admin/soap URL uses an SSL connection and my app is dying with the following stack trace. I'm pretty certain that it has to do with the fact that the certificate being served up is self-signed and the JRE that my client envirnoment doesn't know cert authority.

    I've been researching this and find various docs that explain how to export the cert from IE and then to use the JRE\bin\keytool to import the certificate. I have been unsuccessful installing the cert into the default keystore because I'm unable to determine the default password for the keystore.

    Does anybody have any experience with this and any recommendations?


    John PKIX path building failed: xception: unable to find valid certification path to requested target
    at n(Unknown Source)
    at nknown Source)
    at known Source)
    at known Source)
    at erCertificate(Unknown Source)
    at essMessage(Unknown Source)
    at p(Unknown Source)
    at cord(Unknown Source)
    at ord(Unknown Source)
    at InitialHandshake(Unknown Source)
    at cord(Unknown Source)
    at (Unknown Source)
    at Source)
    at Source)
    at Source)
    at org.apache.commons.httpclient.methods.StringReques tEntity.writeRequest(
    at org.apache.commons.httpclient.methods.EntityEnclos ingMethod.writeRequestBody(EntityEnclosingMethod.j ava:495)
    at org.apache.commons.httpclient.HttpMethodBase.write Request(
    at org.apache.commons.httpclient.HttpMethodBase.execu te(
    at org.apache.commons.httpclient.HttpMethodDirector.e xecuteWithRetry(
    at org.apache.commons.httpclient.HttpMethodDirector.e xecuteMethod(
    at org.apache.commons.httpclient.HttpClient.executeMe thod(
    at org.apache.commons.httpclient.HttpClient.executeMe thod(
    at com.zimbra.soap.SoapHttpTransport.invoke(SoapHttpT
    at com.zimbra.soap.SoapTransport.invoke(SoapTransport .java:168)
    at com.zimbra.cs.client.soap.LmcSoapRequest.invoke(Lm
    at 6)
    Caused by: PKIX path building failed: xception: unable to find valid certification path to requested target
    at wn Source)
    at e(Unknown Source)
    at Source)
    at checkServerTrusted(Unknown Source)
    at checkServerTrusted(Unknown Source)
    ... 23 more
    Caused by: xception: unable to find valid certification path to requested target
    at engineBuild(Unknown Source)
    at Source)
    ... 28 more

  2. #2
    Join Date
    Aug 2005
    San Mateo, CA
    Rep Power


    password should be 'zimbra'
    Looking for new beta users -> Co-Founder of Acompli. Previously worked at Zimbra (and Yahoo! & VMware) since 2005.

Similar Threads

  1. Replies: 1
    Last Post: 05-15-2009, 08:04 PM
  2. Problem with SSL certificate.
    By flums in forum Zimbra Mobile
    Replies: 0
    Last Post: 05-07-2007, 12:10 AM
  3. Replies: 2
    Last Post: 03-25-2007, 09:40 PM
  4. SMTP SSL Problem
    By nexus in forum Installation
    Replies: 8
    Last Post: 03-15-2007, 07:26 AM
  5. How to consume zimbra SOAP API in my java application
    By Hemant Shrivastava in forum Developers
    Replies: 34
    Last Post: 12-24-2006, 12:24 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