Results 1 to 2 of 2

Thread: zimbra soap api change use password error

  1. #1
    chentao is offline Beginner Member
    Join Date
    Mar 2013
    Rep Power

    Question zimbra soap api change use password error

    my code:
    public static boolean setPassword(String usr, String newpwd, String domainName){
    boolean result = false;
    SoapProvisioning sp = new SoapProvisioning();
    try {
    sp.soapAdminAuthenticate(admin, adminPwd);
    Account account = null;
    if(usr.indexOf('@') == -1){
    account = sp.getAccount(usr+"@"+domainName);
    account = sp.getAccount(usr);
    result = true;
    }catch(Exception e) {
    return false;
    return result;


    com.zimbra.common.zclient.ZClientException: invoke PKIX path validation failed: signature check failed, server:
    at com.zimbra.common.zclient.ZClientException.IO_ERRO R(
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (
    at com.zimbra.cs.account.soap.SoapProvisioning.soapAd minAuthenticate(
    at va:174)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:710)
    at javax.servlet.http.HttpServlet.service(HttpServlet .java:803)
    at ternalDoFilter(
    at Filter(
    at ternalDoFilter(
    at Filter(
    at org.apache.catalina.core.StandardWrapperValve.invo ke(
    at org.apache.catalina.core.StandardContextValve.invo ke(
    at org.apache.catalina.core.StandardHostValve.invoke(
    at org.apache.catalina.valves.ErrorReportValve.invoke (
    at org.apache.catalina.core.StandardEngineValve.invok e(
    at org.apache.catalina.connector.CoyoteAdapter.servic e(
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo
    at org.apache.jk.common.HandlerRequest.invoke(Handler
    at org.apache.jk.common.ChannelSocket.invoke(ChannelS
    at org.apache.jk.common.ChannelSocket.processConnecti on(
    at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(
    at org.apache.tomcat.util.threads.ThreadPool$ControlR
    Caused by: PKIX path validation failed: signature check failed
    at n(
    at erCertificate(
    at essMessage(
    at p(
    at cord(
    at ord(
    at InitialHandshake(
    at cord(
    at (
    at org.apache.commons.httpclient.methods.StringReques tEntity.writeRequest(
    at org.apache.commons.httpclient.methods.EntityEnclos ingMethod.writeRequestBody(EntityEnclosingMethod.j ava:499)
    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 com.zimbra.common.soap.SoapHttpTransport.invoke(So
    at com.zimbra.common.soap.SoapHttpTransport.invoke(So
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr
    at com.zimbra.common.soap.SoapTransport.invoke(SoapTr
    at com.zimbra.cs.account.soap.SoapProvisioning.invoke (
    ... 23 more

    who can tell me why? thank you!

  2. #2
    ploeger's Avatar
    ploeger is offline Senior Member
    Join Date
    Oct 2008
    Rep Power


    Hi Chentao!

    First of all, it would be nice of you to at least say hello and goodbye in your question. We're not robots, we're human.

    About your problem: I guess it is about SSL certificate verification. Perhaps you're accessing a server with its IP and the certificate includes its hostname and thus the certificate verification fails.

    Check, if your SSL certificate is valid and you're requesting a valid hostname.

    Kind regards
    Release 8.0.6.GA.5922.UBUNTU12.64 UBUNTU12_64 NETWORK edition.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Error since gmail password change
    By che_dominati in forum General Questions
    Replies: 2
    Last Post: 06-10-2012, 01:27 AM
  2. Replies: 0
    Last Post: 12-30-2010, 10:56 AM
  3. Change Password error when using ZCS with a domain
    By JimBobCook in forum Zimbra Connector for Outlook
    Replies: 2
    Last Post: 01-20-2010, 09:50 AM
  4. PHP Soap change password
    By helboy in forum Developers
    Replies: 1
    Last Post: 06-15-2007, 04:23 PM
  5. change password error
    By rmvg in forum Users
    Replies: 3
    Last Post: 09-26-2005, 11:47 PM

Tags for this Thread

Posting Permissions

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